@claudiolabs/claudin 0.5.8 → 0.5.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (843) hide show
  1. package/dist/chunks/AgentTool-0.5.9-560de9d1.mjs +1 -0
  2. package/dist/chunks/App-0.5.9-zsap2q4b.mjs +1 -0
  3. package/dist/chunks/ApproveApiKey-0.5.9-8zgzn0jw.mjs +1 -0
  4. package/dist/chunks/AssistantSessionChooser-0.5.9-92f16280.mjs +1 -0
  5. package/dist/chunks/AutoModeOptInDialog-0.5.9-708dpq05.mjs +1 -0
  6. package/dist/chunks/BypassPermissionsModeDialog-0.5.9-thv5358f.mjs +1 -0
  7. package/dist/chunks/ClaudeMdExternalIncludesDialog-0.5.9-h0dan6qh.mjs +1 -0
  8. package/dist/chunks/ConsoleOAuthFlow-0.5.9-35ajv7zw.mjs +1 -0
  9. package/dist/chunks/DiffDialog-0.5.9-2gfy103v.mjs +3 -0
  10. package/dist/chunks/Doctor-0.5.9-wjw0w0c1.mjs +1 -0
  11. package/dist/chunks/Grove-0.5.9-hty0xzar.mjs +1 -0
  12. package/dist/chunks/ITermBackend-0.5.9-pch1zyqn.mjs +1 -0
  13. package/dist/chunks/InvalidConfigDialog-0.5.9-xjp9bdct.mjs +1 -0
  14. package/dist/chunks/InvalidSettingsDialog-0.5.9-t4wkfdrh.mjs +1 -0
  15. package/dist/chunks/MigrationDialog-0.5.9-12p8z825.mjs +1 -0
  16. package/dist/chunks/Onboarding-0.5.9-d02fdy7a.mjs +1 -0
  17. package/dist/chunks/ProviderManager-0.5.9-2h6pym7f.mjs +1 -0
  18. package/dist/chunks/REPL-0.5.9-fn63chv9.mjs +1 -0
  19. package/dist/chunks/ResumeConversation-0.5.9-wdc0fys1.mjs +1 -0
  20. package/dist/chunks/SnapshotUpdateDialog-0.5.9-ty7tvdf3.mjs +1 -0
  21. package/dist/chunks/TeleportProgress-0.5.9-th2cx2b2.mjs +1 -0
  22. package/dist/chunks/TeleportRepoMismatchDialog-0.5.9-gqyef6wv.mjs +1 -0
  23. package/dist/chunks/TeleportResumeWrapper-0.5.9-e4b9wj1z.mjs +1 -0
  24. package/dist/chunks/TmuxBackend-0.5.9-xx7btmxb.mjs +9 -0
  25. package/dist/chunks/ToolSearchTool-0.5.9-7h9j8zft.mjs +1 -0
  26. package/dist/chunks/TrustDialog-0.5.9-y0bxcnzx.mjs +1 -0
  27. package/dist/chunks/activeProvider-0.5.9-bqhnxdga.mjs +1 -0
  28. package/dist/chunks/add-dir-0.5.9-t52c4h9t.mjs +1 -0
  29. package/dist/chunks/agents-0.5.9-b270304w.mjs +110 -0
  30. package/dist/chunks/agents-0.5.9-h9dw36cp.mjs +3 -0
  31. package/dist/chunks/api-0.5.9-jnhtend7.mjs +1 -0
  32. package/dist/chunks/asciicast-0.5.9-hrjx2e4n.mjs +1 -0
  33. package/dist/chunks/assistant-0.5.9-ap4j82na.mjs +1 -0
  34. package/dist/chunks/auth-0.5.9-cna7nxzb.mjs +1 -0
  35. package/dist/chunks/auth-0.5.9-q8ejya3n.mjs +1 -0
  36. package/dist/chunks/autoMode-0.5.9-w9j324dc.mjs +48 -0
  37. package/dist/chunks/autoUpdater-0.5.9-3x3xcjhq.mjs +1 -0
  38. package/dist/chunks/backgroundHousekeeping-0.5.9-ngzjz5nf.mjs +1 -0
  39. package/dist/chunks/branch-0.5.9-4389y3jh.mjs +4 -0
  40. package/dist/chunks/bridgePointer-0.5.9-ph0vdzcm.mjs +1 -0
  41. package/dist/chunks/btw-0.5.9-kq7dda47.mjs +1 -0
  42. package/dist/chunks/buddy-0.5.9-3s5bz133.mjs +3 -0
  43. package/dist/chunks/cacache-0.5.9-k02nazjg.mjs +1 -0
  44. package/dist/chunks/cache-probe-0.5.9-vdfe8hkq.mjs +21 -0
  45. package/dist/chunks/cacheStats-0.5.9-89wd0xyf.mjs +4 -0
  46. package/dist/chunks/caches-0.5.9-kg4820wg.mjs +1 -0
  47. package/dist/chunks/claudeDesktop-0.5.9-7pt2wjt1.mjs +1 -0
  48. package/dist/chunks/claudemd-0.5.9-bhqwq7vs.mjs +1 -0
  49. package/dist/chunks/clear-0.5.9-5mg9gs8a.mjs +1 -0
  50. package/dist/chunks/clearTerminal-0.5.9-esamq102.mjs +1 -0
  51. package/dist/chunks/cli-0.5.9-00ms6tt7.mjs +4 -0
  52. package/dist/chunks/cli-0.5.9-02vwh5bc.mjs +2 -0
  53. package/dist/chunks/cli-0.5.9-0a5jxqra.mjs +58 -0
  54. package/dist/chunks/cli-0.5.9-0b1wx67c.mjs +193 -0
  55. package/dist/chunks/cli-0.5.9-0becvd5f.mjs +2 -0
  56. package/dist/chunks/cli-0.5.9-0w46b370.mjs +3 -0
  57. package/dist/chunks/cli-0.5.9-10ar539r.mjs +2 -0
  58. package/dist/chunks/cli-0.5.9-12gj3v8y.mjs +12 -0
  59. package/dist/chunks/cli-0.5.9-1ktmgzhb.mjs +15 -0
  60. package/dist/chunks/cli-0.5.9-1qkhnqnk.mjs +4 -0
  61. package/dist/chunks/cli-0.5.9-1y9n9z2h.mjs +2 -0
  62. package/dist/chunks/cli-0.5.9-1zc8qwr4.mjs +2 -0
  63. package/dist/chunks/cli-0.5.9-248na0hf.mjs +2 -0
  64. package/dist/chunks/cli-0.5.9-2fcyavah.mjs +17 -0
  65. package/dist/chunks/cli-0.5.9-2jfbm2es.mjs +12 -0
  66. package/dist/chunks/cli-0.5.9-2txnqxd1.mjs +2 -0
  67. package/dist/chunks/cli-0.5.9-31f5vjyq.mjs +2 -0
  68. package/dist/chunks/cli-0.5.9-32fpvgpt.mjs +2 -0
  69. package/dist/chunks/cli-0.5.9-371mb3zf.mjs +4 -0
  70. package/dist/chunks/cli-0.5.9-3bsjckc3.mjs +2 -0
  71. package/dist/chunks/cli-0.5.9-3s1c44tz.mjs +2 -0
  72. package/dist/chunks/cli-0.5.9-41dpv5z9.mjs +2 -0
  73. package/dist/chunks/cli-0.5.9-42t3s85x.mjs +2 -0
  74. package/dist/chunks/cli-0.5.9-4aga12a5.mjs +2 -0
  75. package/dist/chunks/cli-0.5.9-4fdad25z.mjs +3 -0
  76. package/dist/chunks/cli-0.5.9-4m738pn1.mjs +25 -0
  77. package/dist/chunks/cli-0.5.9-4s8nynfd.mjs +2 -0
  78. package/dist/chunks/cli-0.5.9-4t8b91eb.mjs +4 -0
  79. package/dist/chunks/cli-0.5.9-4w9169na.mjs +3 -0
  80. package/dist/chunks/cli-0.5.9-5ah34c4c.mjs +39 -0
  81. package/dist/chunks/cli-0.5.9-5e3fhttm.mjs +2 -0
  82. package/dist/chunks/cli-0.5.9-5hzwn715.mjs +2 -0
  83. package/dist/chunks/cli-0.5.9-5s8vtyx6.mjs +4 -0
  84. package/dist/chunks/cli-0.5.9-5vdqnecb.mjs +4 -0
  85. package/dist/chunks/cli-0.5.9-5vj7cvdr.mjs +2 -0
  86. package/dist/chunks/cli-0.5.9-5ykvr12k.mjs +2 -0
  87. package/dist/chunks/cli-0.5.9-610r4gbg.mjs +2 -0
  88. package/dist/chunks/cli-0.5.9-637n1msd.mjs +15 -0
  89. package/dist/chunks/cli-0.5.9-671nz4d9.mjs +2 -0
  90. package/dist/chunks/cli-0.5.9-68rmtj23.mjs +2 -0
  91. package/dist/chunks/cli-0.5.9-6rrqt96f.mjs +2 -0
  92. package/dist/chunks/cli-0.5.9-72tax9cd.mjs +2 -0
  93. package/dist/chunks/cli-0.5.9-77nxjft3.mjs +2 -0
  94. package/dist/chunks/cli-0.5.9-7bq8wzr3.mjs +18 -0
  95. package/dist/chunks/cli-0.5.9-7hcka84h.mjs +2 -0
  96. package/dist/chunks/cli-0.5.9-7qcan18n.mjs +2 -0
  97. package/dist/chunks/cli-0.5.9-8h1qpeef.mjs +2 -0
  98. package/dist/chunks/cli-0.5.9-8kfemzbn.mjs +2 -0
  99. package/dist/chunks/cli-0.5.9-8ndgy03m.mjs +4 -0
  100. package/dist/chunks/cli-0.5.9-91gjew0x.mjs +3 -0
  101. package/dist/chunks/cli-0.5.9-9fgjryqc.mjs +2 -0
  102. package/dist/chunks/cli-0.5.9-9rrpczqk.mjs +17 -0
  103. package/dist/chunks/cli-0.5.9-a720c6hc.mjs +9 -0
  104. package/dist/chunks/cli-0.5.9-ajbjmz51.mjs +2 -0
  105. package/dist/chunks/cli-0.5.9-an1j3dqv.mjs +2 -0
  106. package/dist/chunks/cli-0.5.9-ap6gvqkx.mjs +67 -0
  107. package/dist/chunks/cli-0.5.9-apc46v07.mjs +15 -0
  108. package/dist/chunks/cli-0.5.9-awa1dtdz.mjs +2 -0
  109. package/dist/chunks/cli-0.5.9-b4t4xfpb.mjs +2 -0
  110. package/dist/chunks/cli-0.5.9-b4xgpen1.mjs +5 -0
  111. package/dist/chunks/cli-0.5.9-bax4dxrj.mjs +2 -0
  112. package/dist/chunks/cli-0.5.9-bc0wvx5b.mjs +2 -0
  113. package/dist/chunks/cli-0.5.9-bfn7177j.mjs +2 -0
  114. package/dist/chunks/cli-0.5.9-bp09b2xm.mjs +2 -0
  115. package/dist/chunks/cli-0.5.9-bv3m0yb8.mjs +2 -0
  116. package/dist/chunks/cli-0.5.9-bwdsfdf6.mjs +2 -0
  117. package/dist/chunks/cli-0.5.9-c54d94sv.mjs +2 -0
  118. package/dist/chunks/cli-0.5.9-c91t0fys.mjs +2 -0
  119. package/dist/chunks/cli-0.5.9-cbgfqb0x.mjs +2 -0
  120. package/dist/chunks/cli-0.5.9-cy4sm0c2.mjs +2 -0
  121. package/dist/chunks/cli-0.5.9-d5rn9c6v.mjs +12 -0
  122. package/dist/chunks/cli-0.5.9-d66wktpd.mjs +2 -0
  123. package/dist/chunks/cli-0.5.9-d89n2ccx.mjs +2 -0
  124. package/dist/chunks/cli-0.5.9-da0mspn4.mjs +2 -0
  125. package/dist/chunks/cli-0.5.9-dszssq6z.mjs +2 -0
  126. package/dist/chunks/cli-0.5.9-dtbcqw2e.mjs +2 -0
  127. package/dist/chunks/cli-0.5.9-e1gk7v9y.mjs +2 -0
  128. package/dist/chunks/cli-0.5.9-e4sr85eg.mjs +2 -0
  129. package/dist/chunks/cli-0.5.9-e5ex267m.mjs +2 -0
  130. package/dist/chunks/cli-0.5.9-e7gc5p54.mjs +2 -0
  131. package/dist/chunks/cli-0.5.9-eagw660r.mjs +2 -0
  132. package/dist/chunks/cli-0.5.9-ehe0yr95.mjs +26 -0
  133. package/dist/chunks/cli-0.5.9-ejmv1n9p.mjs +3 -0
  134. package/dist/chunks/cli-0.5.9-ek649arf.mjs +6 -0
  135. package/dist/chunks/cli-0.5.9-ezc11axw.mjs +2 -0
  136. package/dist/chunks/cli-0.5.9-ezpjdejw.mjs +2 -0
  137. package/dist/chunks/cli-0.5.9-f9jt7awn.mjs +2 -0
  138. package/dist/chunks/cli-0.5.9-fn6ees65.mjs +2 -0
  139. package/dist/chunks/cli-0.5.9-fv4jrdef.mjs +2 -0
  140. package/dist/chunks/cli-0.5.9-g6qpvmj4.mjs +133 -0
  141. package/dist/chunks/cli-0.5.9-g9kt9aw7.mjs +2 -0
  142. package/dist/chunks/cli-0.5.9-ga0kqnkz.mjs +5 -0
  143. package/dist/chunks/cli-0.5.9-gbq794tt.mjs +2 -0
  144. package/dist/chunks/cli-0.5.9-gcsba93g.mjs +18 -0
  145. package/dist/chunks/cli-0.5.9-ghbax09k.mjs +2 -0
  146. package/dist/chunks/cli-0.5.9-gk1vb8nn.mjs +2 -0
  147. package/dist/chunks/cli-0.5.9-gp0bq7wk.mjs +2 -0
  148. package/dist/chunks/cli-0.5.9-gr8zgxwx.mjs +2 -0
  149. package/dist/chunks/cli-0.5.9-grgf8g99.mjs +2 -0
  150. package/dist/chunks/cli-0.5.9-h5d0zxek.mjs +3 -0
  151. package/dist/chunks/cli-0.5.9-h6nmz5e3.mjs +2 -0
  152. package/dist/chunks/cli-0.5.9-h7gh7ym5.mjs +24 -0
  153. package/dist/chunks/cli-0.5.9-h836a3wa.mjs +2 -0
  154. package/dist/chunks/cli-0.5.9-hg2qm56h.mjs +4 -0
  155. package/dist/chunks/cli-0.5.9-hpq0xehd.mjs +2 -0
  156. package/dist/chunks/cli-0.5.9-hwet4kvx.mjs +2 -0
  157. package/dist/chunks/cli-0.5.9-j2d1jct8.mjs +2 -0
  158. package/dist/chunks/cli-0.5.9-j8629kcy.mjs +2 -0
  159. package/dist/chunks/cli-0.5.9-j9ns2awb.mjs +8 -0
  160. package/dist/chunks/cli-0.5.9-jd8be7cd.mjs +6 -0
  161. package/dist/chunks/cli-0.5.9-jdzavz2g.mjs +2 -0
  162. package/dist/chunks/cli-0.5.9-jjtdefqj.mjs +2 -0
  163. package/dist/chunks/cli-0.5.9-jk4rx6zt.mjs +4 -0
  164. package/dist/chunks/cli-0.5.9-jnhyr1zg.mjs +2 -0
  165. package/dist/chunks/cli-0.5.9-jsxqd90d.mjs +3 -0
  166. package/dist/chunks/cli-0.5.9-k3prcbg9.mjs +2 -0
  167. package/dist/chunks/cli-0.5.9-k47s77hf.mjs +2 -0
  168. package/dist/chunks/cli-0.5.9-k6qxbj0d.mjs +42 -0
  169. package/dist/chunks/cli-0.5.9-k9yedz53.mjs +5262 -0
  170. package/dist/chunks/cli-0.5.9-kfpgp09g.mjs +6 -0
  171. package/dist/chunks/cli-0.5.9-knc0w8sn.mjs +2 -0
  172. package/dist/chunks/cli-0.5.9-krvpcgvw.mjs +2 -0
  173. package/dist/chunks/cli-0.5.9-ktxeg6my.mjs +2 -0
  174. package/dist/chunks/cli-0.5.9-m1y4hmzs.mjs +2 -0
  175. package/dist/chunks/cli-0.5.9-mcezkpp8.mjs +2 -0
  176. package/dist/chunks/cli-0.5.9-mhz9wt6a.mjs +2 -0
  177. package/dist/chunks/cli-0.5.9-mk69z06z.mjs +2 -0
  178. package/dist/chunks/cli-0.5.9-mmvtbr39.mjs +2 -0
  179. package/dist/chunks/cli-0.5.9-mpqmy7zw.mjs +2 -0
  180. package/dist/chunks/cli-0.5.9-n08gkgng.mjs +21 -0
  181. package/dist/chunks/cli-0.5.9-ncjg30aq.mjs +3 -0
  182. package/dist/chunks/cli-0.5.9-nct7sarc.mjs +2 -0
  183. package/dist/chunks/cli-0.5.9-nfhfsnw6.mjs +2 -0
  184. package/dist/chunks/cli-0.5.9-nk3pacrn.mjs +5 -0
  185. package/dist/chunks/cli-0.5.9-nvf5kfmq.mjs +9 -0
  186. package/dist/chunks/cli-0.5.9-ppr1420k.mjs +2 -0
  187. package/dist/chunks/cli-0.5.9-q3wvc7qb.mjs +2 -0
  188. package/dist/chunks/cli-0.5.9-q69vj08a.mjs +2 -0
  189. package/dist/chunks/cli-0.5.9-q7a4xcwy.mjs +3 -0
  190. package/dist/chunks/cli-0.5.9-q9ne4r9p.mjs +50 -0
  191. package/dist/chunks/cli-0.5.9-qddf6zq9.mjs +2 -0
  192. package/dist/chunks/cli-0.5.9-qexy3mqr.mjs +59 -0
  193. package/dist/chunks/cli-0.5.9-qvvxrm93.mjs +3 -0
  194. package/dist/chunks/cli-0.5.9-qy6qkzwb.mjs +2 -0
  195. package/dist/chunks/cli-0.5.9-r9d405kc.mjs +2 -0
  196. package/dist/chunks/cli-0.5.9-rbjjfytb.mjs +2 -0
  197. package/dist/chunks/cli-0.5.9-rh5280xq.mjs +2 -0
  198. package/dist/chunks/cli-0.5.9-rhycyvwn.mjs +2 -0
  199. package/dist/chunks/cli-0.5.9-rjdhjn49.mjs +20 -0
  200. package/dist/chunks/cli-0.5.9-rm62v7hr.mjs +34 -0
  201. package/dist/chunks/cli-0.5.9-rpgjj6qg.mjs +2 -0
  202. package/dist/chunks/cli-0.5.9-rv2328c4.mjs +2 -0
  203. package/dist/chunks/cli-0.5.9-s2jh3scf.mjs +3 -0
  204. package/dist/chunks/cli-0.5.9-sd34jmva.mjs +2 -0
  205. package/dist/chunks/cli-0.5.9-sjcz03eb.mjs +2 -0
  206. package/dist/chunks/cli-0.5.9-ss870bda.mjs +2 -0
  207. package/dist/chunks/cli-0.5.9-syr6nffj.mjs +2 -0
  208. package/dist/chunks/cli-0.5.9-t2fy8t5r.mjs +45 -0
  209. package/dist/chunks/cli-0.5.9-tav5jmz1.mjs +2 -0
  210. package/dist/chunks/cli-0.5.9-tbz9s4h3.mjs +2 -0
  211. package/dist/chunks/cli-0.5.9-tj6dt3d6.mjs +2 -0
  212. package/dist/chunks/cli-0.5.9-tke5evvm.mjs +2 -0
  213. package/dist/chunks/cli-0.5.9-v1srrn02.mjs +2 -0
  214. package/dist/chunks/cli-0.5.9-v5mkedy5.mjs +16 -0
  215. package/dist/chunks/cli-0.5.9-v69cq6f1.mjs +2 -0
  216. package/dist/chunks/cli-0.5.9-ve2b6kmp.mjs +2 -0
  217. package/dist/chunks/cli-0.5.9-vkt9t3z8.mjs +133 -0
  218. package/dist/chunks/cli-0.5.9-w1g3tgzh.mjs +2 -0
  219. package/dist/chunks/cli-0.5.9-wc5gt1zw.mjs +2 -0
  220. package/dist/chunks/cli-0.5.9-whf5zybr.mjs +2 -0
  221. package/dist/chunks/cli-0.5.9-wjvc994v.mjs +2 -0
  222. package/dist/chunks/cli-0.5.9-wkhmkyaq.mjs +2 -0
  223. package/dist/chunks/cli-0.5.9-wrndf987.mjs +2 -0
  224. package/dist/chunks/cli-0.5.9-xbvqph1k.mjs +2 -0
  225. package/dist/chunks/cli-0.5.9-xcexsk79.mjs +2 -0
  226. package/dist/chunks/cli-0.5.9-xge969yd.mjs +2 -0
  227. package/dist/chunks/cli-0.5.9-xn1qcye7.mjs +2 -0
  228. package/dist/chunks/cli-0.5.9-xn369es1.mjs +2 -0
  229. package/dist/chunks/cli-0.5.9-xz1pg47z.mjs +10 -0
  230. package/dist/chunks/cli-0.5.9-yazhwsgb.mjs +4 -0
  231. package/dist/chunks/cli-0.5.9-yh7f5m4w.mjs +2 -0
  232. package/dist/chunks/cli-0.5.9-yqn35x2d.mjs +2 -0
  233. package/dist/chunks/cli-0.5.9-ysvsqcpa.mjs +2 -0
  234. package/dist/chunks/cli-0.5.9-ywc7arzn.mjs +2 -0
  235. package/dist/chunks/cli-0.5.9-z87j725g.mjs +2 -0
  236. package/dist/chunks/cli-0.5.9-zb26tq1c.mjs +2 -0
  237. package/dist/chunks/cli-0.5.9-zerpef2t.mjs +1 -0
  238. package/dist/chunks/cli-0.5.9-zeskcndd.mjs +24 -0
  239. package/dist/chunks/cli-0.5.9-zqgkcx3g.mjs +2 -0
  240. package/dist/chunks/cli-0.5.9-zrcz538q.mjs +2 -0
  241. package/dist/chunks/cli-0.5.9-zwpt90q9.mjs +7 -0
  242. package/dist/chunks/client-0.5.9-bhc7ghsr.mjs +1 -0
  243. package/dist/chunks/color-0.5.9-5722xdf4.mjs +1 -0
  244. package/dist/chunks/compact-0.5.9-4cf807hc.mjs +3 -0
  245. package/dist/chunks/config-0.5.9-936tss5g.mjs +1 -0
  246. package/dist/chunks/config-0.5.9-kk16cygb.mjs +1 -0
  247. package/dist/chunks/context-0.5.9-b0afgp2c.mjs +1 -0
  248. package/dist/chunks/context-noninteractive-0.5.9-wj6fxcsj.mjs +1 -0
  249. package/dist/chunks/conversation-0.5.9-rtntf81h.mjs +1 -0
  250. package/dist/chunks/copy-0.5.9-93t8z0wz.mjs +9 -0
  251. package/dist/chunks/cost-0.5.9-2csvd1ae.mjs +1 -0
  252. package/dist/chunks/createSSHSession-0.5.9-0aqkvqad.mjs +1 -0
  253. package/dist/chunks/createSession-0.5.9-j9xdpffh.mjs +1 -0
  254. package/dist/chunks/debug-0.5.9-kd9n32y2.mjs +1 -0
  255. package/dist/chunks/defaultActionDeps-0.5.9-1f7mkn9m.mjs +1177 -0
  256. package/dist/chunks/desktop-0.5.9-ce65mt7y.mjs +1 -0
  257. package/dist/chunks/detectRepository-0.5.9-4nd76hbs.mjs +1 -0
  258. package/dist/chunks/detection-0.5.9-mpgxg1d5.mjs +1 -0
  259. package/dist/chunks/diff-0.5.9-89ny0sp6.mjs +1 -0
  260. package/dist/chunks/doctor-0.5.9-e8bxsm2r.mjs +1 -0
  261. package/dist/chunks/doctorDiagnostic-0.5.9-kwncc3yh.mjs +1 -0
  262. package/dist/chunks/earlyInput-0.5.9-cxrgrx2e.mjs +1 -0
  263. package/dist/chunks/effort-0.5.9-dbgsjfep.mjs +10 -0
  264. package/dist/chunks/envUtils-0.5.9-59e9sq5q.mjs +1 -0
  265. package/dist/chunks/environmentSelection-0.5.9-5tjt9mkd.mjs +1 -0
  266. package/dist/chunks/environments-0.5.9-ebm4yp6e.mjs +1 -0
  267. package/dist/chunks/errors-0.5.9-xp1e5xqp.mjs +1 -0
  268. package/dist/chunks/exampleCommands-0.5.9-dxv2wpk4.mjs +1 -0
  269. package/dist/chunks/exit-0.5.9-q7cpk25k.mjs +1 -0
  270. package/dist/chunks/export-0.5.9-1dpbp185.mjs +2 -0
  271. package/dist/chunks/extra-usage-0.5.9-ctd5dnsr.mjs +1 -0
  272. package/dist/chunks/extra-usage-noninteractive-0.5.9-hbmbvzb5.mjs +1 -0
  273. package/dist/chunks/fast-0.5.9-wagaw91z.mjs +1 -0
  274. package/dist/chunks/feedback-0.5.9-x37szs13.mjs +14 -0
  275. package/dist/chunks/firstPartyEventLogger-0.5.9-g8st730b.mjs +1 -0
  276. package/dist/chunks/git-0.5.9-zxdvsyxq.mjs +1 -0
  277. package/dist/chunks/githubModelsCredentials-0.5.9-mp51r114.mjs +1 -0
  278. package/dist/chunks/grove-0.5.9-grafpqtx.mjs +1 -0
  279. package/dist/chunks/growthbook-0.5.9-mr1nyz65.mjs +1 -0
  280. package/dist/chunks/headless-0.5.9-pxnbg1dh.mjs +2 -0
  281. package/dist/chunks/heapdump-0.5.9-58bmar8y.mjs +6 -0
  282. package/dist/chunks/help-0.5.9-x6ds3za0.mjs +1 -0
  283. package/dist/chunks/hookChains-0.5.9-1sz7vw7t.mjs +3 -0
  284. package/dist/chunks/hooks-0.5.9-4mjp8k78.mjs +1 -0
  285. package/dist/chunks/hooks-0.5.9-n14e2a57.mjs +79 -0
  286. package/dist/chunks/ide-0.5.9-gk5tarwc.mjs +3 -0
  287. package/dist/chunks/image-processor-napi-0.5.9-eept9e9s.mjs +1 -0
  288. package/dist/chunks/index-0.5.9-0n7mpzrj.mjs +17 -0
  289. package/dist/chunks/index-0.5.9-3ng34e8n.mjs +2 -0
  290. package/dist/chunks/index-0.5.9-4b9dgj2z.mjs +9 -0
  291. package/dist/chunks/index-0.5.9-4fzd2pns.mjs +1 -0
  292. package/dist/chunks/index-0.5.9-6awv6fyn.mjs +1 -0
  293. package/dist/chunks/index-0.5.9-6cbrcdyh.mjs +1 -0
  294. package/dist/chunks/index-0.5.9-725p0eby.mjs +1 -0
  295. package/dist/chunks/index-0.5.9-85ep6547.mjs +30 -0
  296. package/dist/chunks/index-0.5.9-8h5ceajb.mjs +1 -0
  297. package/dist/chunks/index-0.5.9-8ws7n6wv.mjs +5 -0
  298. package/dist/chunks/index-0.5.9-b3jm65x4.mjs +1 -0
  299. package/dist/chunks/index-0.5.9-cjjbeyt8.mjs +1 -0
  300. package/dist/chunks/index-0.5.9-gnac3s48.mjs +1 -0
  301. package/dist/chunks/index-0.5.9-m68jcsx2.mjs +1 -0
  302. package/dist/chunks/index-0.5.9-n91crv8a.mjs +1 -0
  303. package/dist/chunks/index-0.5.9-npkfayxd.mjs +1 -0
  304. package/dist/chunks/index-0.5.9-pbzzad7t.mjs +9 -0
  305. package/dist/chunks/index-0.5.9-thp631gs.mjs +1 -0
  306. package/dist/chunks/index-0.5.9-xcy5t1fw.mjs +1 -0
  307. package/dist/chunks/index-0.5.9-y07jxja1.mjs +1 -0
  308. package/dist/chunks/index-0.5.9-yjkfcf2g.mjs +2 -0
  309. package/dist/chunks/index-0.5.9-zb346057.mjs +1 -0
  310. package/dist/chunks/init-0.5.9-cmszfh8j.mjs +1 -0
  311. package/dist/chunks/initReplBridge-0.5.9-y2j594wz.mjs +1 -0
  312. package/dist/chunks/ink-0.5.9-km3f0tv6.mjs +1 -0
  313. package/dist/chunks/insights-0.5.9-fevx72ve.mjs +870 -0
  314. package/dist/chunks/install-0.5.9-6m05dpsa.mjs +1 -0
  315. package/dist/chunks/install-github-app-0.5.9-91syqpey.mjs +149 -0
  316. package/dist/chunks/install-slack-app-0.5.9-9rqmjej1.mjs +1 -0
  317. package/dist/chunks/instrumentation-0.5.9-55dt6kkh.mjs +1 -0
  318. package/dist/chunks/interactiveHelpers-0.5.9-47bhz9at.mjs +1 -0
  319. package/dist/chunks/keybindings-0.5.9-y134m89v.mjs +2 -0
  320. package/dist/chunks/knowledge-0.5.9-d1m7e2b4.mjs +2 -0
  321. package/dist/chunks/latestVersionCache-0.5.9-69z169gq.mjs +1 -0
  322. package/dist/chunks/loadAgentsDir-0.5.9-vtemqv8c.mjs +1 -0
  323. package/dist/chunks/loadPluginHooks-0.5.9-xxp0pj2x.mjs +1 -0
  324. package/dist/chunks/loadPluginHooks-0.5.9-zgq2s8sm.mjs +1 -0
  325. package/dist/chunks/log-0.5.9-8aszszjb.mjs +1 -0
  326. package/dist/chunks/main-0.5.9-cjg2h8yb.mjs +1 -0
  327. package/dist/chunks/managedEnv-0.5.9-nq2mbery.mjs +1 -0
  328. package/dist/chunks/mcp-0.5.9-g39bj87f.mjs +17 -0
  329. package/dist/chunks/mcp-0.5.9-h1sdm6zb.mjs +4 -0
  330. package/dist/chunks/mcp-0.5.9-vpwsq0wd.mjs +1 -0
  331. package/dist/chunks/mcpb-0.5.9-pavmx8mm.mjs +1 -0
  332. package/dist/chunks/memory-0.5.9-se036fe4.mjs +3 -0
  333. package/dist/chunks/mobile-0.5.9-57ycqdp3.mjs +2 -0
  334. package/dist/chunks/model-0.5.9-4e6fc1m4.mjs +1 -0
  335. package/dist/chunks/model-0.5.9-k0m86zrn.mjs +2 -0
  336. package/dist/chunks/node-0.5.9-ftk6pxmx.mjs +12 -0
  337. package/dist/chunks/oauth-0.5.9-bytwte72.mjs +1 -0
  338. package/dist/chunks/openaiShim-0.5.9-f9gdeama.mjs +14 -0
  339. package/dist/chunks/output-style-0.5.9-1wbqsbc0.mjs +1 -0
  340. package/dist/chunks/package-D6422PQU-0.5.9-4gkr65dy.mjs +1 -0
  341. package/dist/chunks/parseConnectUrl-0.5.9-d0t88r4n.mjs +1 -0
  342. package/dist/chunks/parser-0.5.9-j1kdtn15.mjs +1 -0
  343. package/dist/chunks/passes-0.5.9-w08t80rc.mjs +1 -0
  344. package/dist/chunks/permissions-0.5.9-mzx7w14f.mjs +3 -0
  345. package/dist/chunks/plan-0.5.9-trs5gepx.mjs +1 -0
  346. package/dist/chunks/plist-0.5.9-rzpv4ecn.mjs +1 -0
  347. package/dist/chunks/plugin-0.5.9-x1xsznkk.mjs +29 -0
  348. package/dist/chunks/pluginStartupCheck-0.5.9-qwkp82xp.mjs +1 -0
  349. package/dist/chunks/plugins-0.5.9-8yj1w6bf.mjs +9 -0
  350. package/dist/chunks/preActionHook-0.5.9-130eb4bx.mjs +2 -0
  351. package/dist/chunks/print-0.5.9-fm0q92d1.mjs +57 -0
  352. package/dist/chunks/privacy-settings-0.5.9-vhjhbccg.mjs +1 -0
  353. package/dist/chunks/process-0.5.9-syp1y7ym.mjs +1 -0
  354. package/dist/chunks/processBashCommand-0.5.9-admb0s9z.mjs +1 -0
  355. package/dist/chunks/processSlashCommand-0.5.9-x5wmbzr0.mjs +9 -0
  356. package/dist/chunks/prompt-0.5.9-6s763n7m.mjs +1 -0
  357. package/dist/chunks/prompt-0.5.9-fg1exp0e.mjs +1 -0
  358. package/dist/chunks/prompts-0.5.9-a6jrpexy.mjs +1 -0
  359. package/dist/chunks/protocolHandler-0.5.9-5920qvb2.mjs +13 -0
  360. package/dist/chunks/provider-0.5.9-ew50s03j.mjs +2 -0
  361. package/dist/chunks/providerProfiles-0.5.9-ygv5pxbq.mjs +1 -0
  362. package/dist/chunks/providerValidation-0.5.9-pebvjkk0.mjs +6 -0
  363. package/dist/chunks/rate-limit-options-0.5.9-p39mhxr9.mjs +1 -0
  364. package/dist/chunks/registerSubcommands-0.5.9-5576rw9k.mjs +34 -0
  365. package/dist/chunks/registry-0.5.9-tkmx5qgm.mjs +1 -0
  366. package/dist/chunks/release-notes-0.5.9-cmf1033z.mjs +5 -0
  367. package/dist/chunks/reload-plugins-0.5.9-ynqb4wwm.mjs +2 -0
  368. package/dist/chunks/remote-env-0.5.9-ddnwx90m.mjs +1 -0
  369. package/dist/chunks/remoteBridgeCore-0.5.9-br32ecze.mjs +1 -0
  370. package/dist/chunks/remoteSession-0.5.9-9ee3jy2n.mjs +1 -0
  371. package/dist/chunks/rename-0.5.9-h0npjxhv.mjs +1 -0
  372. package/dist/chunks/replBridgeHandle-0.5.9-4tjg5rct.mjs +1 -0
  373. package/dist/chunks/replLauncher-0.5.9-y4zkk3hb.mjs +1 -0
  374. package/dist/chunks/resume-0.5.9-5n9z570h.mjs +2 -0
  375. package/dist/chunks/rewind-0.5.9-cawzh2f5.mjs +1 -0
  376. package/dist/chunks/rootOptions-0.5.9-z7hher7x.mjs +1 -0
  377. package/dist/chunks/sandbox-adapter-0.5.9-m8dy3vak.mjs +1 -0
  378. package/dist/chunks/sandbox-toggle-0.5.9-d7hfb9dw.mjs +1 -0
  379. package/dist/chunks/session-0.5.9-spjfzb60.mjs +2 -0
  380. package/dist/chunks/sessionDiscovery-0.5.9-k8tw4apd.mjs +1 -0
  381. package/dist/chunks/sessionFileAccessHooks-0.5.9-kzd77836.mjs +1 -0
  382. package/dist/chunks/sessionStorage-0.5.9-5eaxh9e1.mjs +1 -0
  383. package/dist/chunks/settings-0.5.9-9y9yx2ep.mjs +1 -0
  384. package/dist/chunks/setup-0.5.9-cbnsjaz6.mjs +5 -0
  385. package/dist/chunks/sinks-0.5.9-3kes56y2.mjs +1 -0
  386. package/dist/chunks/skills-0.5.9-816ec23f.mjs +1 -0
  387. package/dist/chunks/startupProfiler-0.5.9-j5rdws5r.mjs +1 -0
  388. package/dist/chunks/startupUpdateCheck-0.5.9-wgd2amqq.mjs +1 -0
  389. package/dist/chunks/state-0.5.9-ssv90pdf.mjs +1 -0
  390. package/dist/chunks/stats-0.5.9-09jq1eez.mjs +6 -0
  391. package/dist/chunks/status-0.5.9-zm23czy4.mjs +1 -0
  392. package/dist/chunks/stickers-0.5.9-df1ha62e.mjs +1 -0
  393. package/dist/chunks/subprocessEnv-0.5.9-4bh9v7rk.mjs +1 -0
  394. package/dist/chunks/tasks-0.5.9-75eaj64t.mjs +1 -0
  395. package/dist/chunks/teamHelpers-0.5.9-a239c7as.mjs +1 -0
  396. package/dist/chunks/teammateModeSnapshot-0.5.9-gpfpnhg1.mjs +1 -0
  397. package/dist/chunks/teleport-0.5.9-jq0cm2ce.mjs +1 -0
  398. package/dist/chunks/terminalSetup-0.5.9-zscy8b5b.mjs +1 -0
  399. package/dist/chunks/theme-0.5.9-crkb4a1t.mjs +1 -0
  400. package/dist/chunks/thinkback-0.5.9-bqzpccev.mjs +1 -0
  401. package/dist/chunks/thinkback-play-0.5.9-avsgpz11.mjs +1 -0
  402. package/dist/chunks/toolPool-0.5.9-9k94r61g.mjs +1 -0
  403. package/dist/chunks/toolSearch-0.5.9-qm8rqvys.mjs +1 -0
  404. package/dist/chunks/tools-0.5.9-e5fa6xh1.mjs +1 -0
  405. package/dist/chunks/trustedDevice-0.5.9-dhpwn40g.mjs +1 -0
  406. package/dist/chunks/turndown.cjs-0.5.9-bwat06c0.mjs +69 -0
  407. package/dist/chunks/ultrareviewCommand-0.5.9-qfz8shw1.mjs +4 -0
  408. package/dist/chunks/update-0.5.9-yv6acwy6.mjs +86 -0
  409. package/dist/chunks/upgrade-0.5.9-3xpmapbj.mjs +1 -0
  410. package/dist/chunks/upstreamproxy-0.5.9-ebc62ytm.mjs +14 -0
  411. package/dist/chunks/url-handler-napi-0.5.9-ejbmjrv9.mjs +1 -0
  412. package/dist/chunks/usage-0.5.9-ze5694v0.mjs +1 -0
  413. package/dist/chunks/util-0.5.9-8517xr6w.mjs +1 -0
  414. package/dist/chunks/utils-0.5.9-tq5p3g26.mjs +1 -0
  415. package/dist/chunks/vim-0.5.9-3pwhv6s4.mjs +1 -0
  416. package/dist/chunks/watcher-0.5.9-ft2b96h8.mjs +1 -0
  417. package/dist/chunks/wiki-0.5.9-f96c34xg.mjs +132 -0
  418. package/dist/chunks/worktree-0.5.9-p28ne51h.mjs +1 -0
  419. package/dist/chunks/worktreeModeEnabled-0.5.9-4tgvrvd2.mjs +1 -0
  420. package/dist/chunks/wrapper-0.5.9-asjtntyw.mjs +7 -0
  421. package/dist/claudin-vscode.vsix +0 -0
  422. package/dist/cli.mjs +2 -2
  423. package/package.json +24 -24
  424. package/dist/chunks/AgentTool-0.5.8-161prcqd.mjs +0 -1
  425. package/dist/chunks/App-0.5.8-s4939y9q.mjs +0 -1
  426. package/dist/chunks/ApproveApiKey-0.5.8-kyzt3tyh.mjs +0 -1
  427. package/dist/chunks/AssistantSessionChooser-0.5.8-0fws1s48.mjs +0 -1
  428. package/dist/chunks/AutoModeOptInDialog-0.5.8-v373fzha.mjs +0 -1
  429. package/dist/chunks/BypassPermissionsModeDialog-0.5.8-pbv15kg8.mjs +0 -1
  430. package/dist/chunks/ClaudeMdExternalIncludesDialog-0.5.8-rmcm4b5v.mjs +0 -1
  431. package/dist/chunks/ConsoleOAuthFlow-0.5.8-q3djee4h.mjs +0 -1
  432. package/dist/chunks/DiffDialog-0.5.8-1gvdqrt3.mjs +0 -3
  433. package/dist/chunks/Doctor-0.5.8-5k5vqf8q.mjs +0 -1
  434. package/dist/chunks/Grove-0.5.8-g2xzefay.mjs +0 -1
  435. package/dist/chunks/ITermBackend-0.5.8-j209yx9z.mjs +0 -1
  436. package/dist/chunks/InvalidConfigDialog-0.5.8-98nc303h.mjs +0 -1
  437. package/dist/chunks/InvalidSettingsDialog-0.5.8-p5qzw710.mjs +0 -1
  438. package/dist/chunks/MigrationDialog-0.5.8-gp57r21r.mjs +0 -1
  439. package/dist/chunks/Onboarding-0.5.8-m0r6a4s2.mjs +0 -1
  440. package/dist/chunks/ProviderManager-0.5.8-6tfnxyse.mjs +0 -1
  441. package/dist/chunks/REPL-0.5.8-sf0q46pa.mjs +0 -1
  442. package/dist/chunks/ResumeConversation-0.5.8-0j8mw0eh.mjs +0 -1
  443. package/dist/chunks/SnapshotUpdateDialog-0.5.8-13b725ee.mjs +0 -1
  444. package/dist/chunks/TeleportProgress-0.5.8-3fxrymde.mjs +0 -1
  445. package/dist/chunks/TeleportRepoMismatchDialog-0.5.8-1dqx0hnb.mjs +0 -1
  446. package/dist/chunks/TeleportResumeWrapper-0.5.8-84pek3s7.mjs +0 -1
  447. package/dist/chunks/TmuxBackend-0.5.8-rcwm1j6z.mjs +0 -9
  448. package/dist/chunks/ToolSearchTool-0.5.8-fp493kvp.mjs +0 -1
  449. package/dist/chunks/TrustDialog-0.5.8-j0h8y92c.mjs +0 -1
  450. package/dist/chunks/activeProvider-0.5.8-y1zsxh1g.mjs +0 -1
  451. package/dist/chunks/add-dir-0.5.8-sz3kyvkz.mjs +0 -1
  452. package/dist/chunks/agents-0.5.8-cm3hzc60.mjs +0 -3
  453. package/dist/chunks/agents-0.5.8-qg1s69va.mjs +0 -110
  454. package/dist/chunks/api-0.5.8-pcde65dc.mjs +0 -1
  455. package/dist/chunks/asciicast-0.5.8-tgmb7g4m.mjs +0 -1
  456. package/dist/chunks/assistant-0.5.8-4mak6nq9.mjs +0 -1
  457. package/dist/chunks/auth-0.5.8-70ks8nc4.mjs +0 -1
  458. package/dist/chunks/auth-0.5.8-82vx5hkw.mjs +0 -1
  459. package/dist/chunks/autoMode-0.5.8-xjwjh2k5.mjs +0 -48
  460. package/dist/chunks/autoUpdater-0.5.8-rf164ggm.mjs +0 -1
  461. package/dist/chunks/backgroundHousekeeping-0.5.8-ak5ca2cx.mjs +0 -1
  462. package/dist/chunks/branch-0.5.8-n82xbsmg.mjs +0 -4
  463. package/dist/chunks/bridgePointer-0.5.8-m7nwe7sd.mjs +0 -1
  464. package/dist/chunks/btw-0.5.8-0yftty6m.mjs +0 -1
  465. package/dist/chunks/buddy-0.5.8-4dvkprbs.mjs +0 -3
  466. package/dist/chunks/cacache-0.5.8-vj95fs26.mjs +0 -1
  467. package/dist/chunks/cache-probe-0.5.8-944hef3p.mjs +0 -21
  468. package/dist/chunks/cacheStats-0.5.8-jdya51jg.mjs +0 -4
  469. package/dist/chunks/caches-0.5.8-xkrjxp25.mjs +0 -1
  470. package/dist/chunks/claudeDesktop-0.5.8-fpb40wzd.mjs +0 -1
  471. package/dist/chunks/claudemd-0.5.8-eyztrzk8.mjs +0 -1
  472. package/dist/chunks/clear-0.5.8-kgvzdkgq.mjs +0 -1
  473. package/dist/chunks/clearTerminal-0.5.8-xv1faw7c.mjs +0 -1
  474. package/dist/chunks/cli-0.5.8-01yjahnz.mjs +0 -2
  475. package/dist/chunks/cli-0.5.8-07dyymev.mjs +0 -2
  476. package/dist/chunks/cli-0.5.8-0a4sdrgm.mjs +0 -2
  477. package/dist/chunks/cli-0.5.8-0bys4xae.mjs +0 -2
  478. package/dist/chunks/cli-0.5.8-0cmtavcs.mjs +0 -2
  479. package/dist/chunks/cli-0.5.8-0dkx0fh2.mjs +0 -2
  480. package/dist/chunks/cli-0.5.8-0hybhk72.mjs +0 -2
  481. package/dist/chunks/cli-0.5.8-0we2hm7d.mjs +0 -2
  482. package/dist/chunks/cli-0.5.8-1bp61y3p.mjs +0 -2
  483. package/dist/chunks/cli-0.5.8-1gm5vdye.mjs +0 -2
  484. package/dist/chunks/cli-0.5.8-1heha1zs.mjs +0 -2
  485. package/dist/chunks/cli-0.5.8-1x4w18nq.mjs +0 -2
  486. package/dist/chunks/cli-0.5.8-20gjzt7v.mjs +0 -2
  487. package/dist/chunks/cli-0.5.8-221e7v67.mjs +0 -2
  488. package/dist/chunks/cli-0.5.8-23ep6z70.mjs +0 -2
  489. package/dist/chunks/cli-0.5.8-2bq72da9.mjs +0 -2
  490. package/dist/chunks/cli-0.5.8-2f1ewq8w.mjs +0 -2
  491. package/dist/chunks/cli-0.5.8-2g8p9sae.mjs +0 -2
  492. package/dist/chunks/cli-0.5.8-2nr7eh5e.mjs +0 -2
  493. package/dist/chunks/cli-0.5.8-396k3ymm.mjs +0 -25
  494. package/dist/chunks/cli-0.5.8-3a6g7wmx.mjs +0 -58
  495. package/dist/chunks/cli-0.5.8-3fnpjffd.mjs +0 -2
  496. package/dist/chunks/cli-0.5.8-3ndh3gtc.mjs +0 -2
  497. package/dist/chunks/cli-0.5.8-3p5h46hv.mjs +0 -2
  498. package/dist/chunks/cli-0.5.8-3qjtx8w8.mjs +0 -2
  499. package/dist/chunks/cli-0.5.8-3y8x0dx3.mjs +0 -2
  500. package/dist/chunks/cli-0.5.8-3zg1gkde.mjs +0 -2
  501. package/dist/chunks/cli-0.5.8-402vctdy.mjs +0 -2
  502. package/dist/chunks/cli-0.5.8-42eyjvs8.mjs +0 -2
  503. package/dist/chunks/cli-0.5.8-4hvxb5dp.mjs +0 -5286
  504. package/dist/chunks/cli-0.5.8-4jrb4x7b.mjs +0 -9
  505. package/dist/chunks/cli-0.5.8-4mn881k7.mjs +0 -2
  506. package/dist/chunks/cli-0.5.8-4n26wzd5.mjs +0 -2
  507. package/dist/chunks/cli-0.5.8-4rgg1zqd.mjs +0 -6
  508. package/dist/chunks/cli-0.5.8-4xn4yjaa.mjs +0 -8
  509. package/dist/chunks/cli-0.5.8-4yyy85fr.mjs +0 -2
  510. package/dist/chunks/cli-0.5.8-510vqc09.mjs +0 -4
  511. package/dist/chunks/cli-0.5.8-57qan5v8.mjs +0 -2
  512. package/dist/chunks/cli-0.5.8-5a9k7mja.mjs +0 -2
  513. package/dist/chunks/cli-0.5.8-5bdfv4z2.mjs +0 -2
  514. package/dist/chunks/cli-0.5.8-5gzkph9c.mjs +0 -2
  515. package/dist/chunks/cli-0.5.8-5h92528m.mjs +0 -4
  516. package/dist/chunks/cli-0.5.8-5zqpfyqq.mjs +0 -2
  517. package/dist/chunks/cli-0.5.8-60e57smp.mjs +0 -2
  518. package/dist/chunks/cli-0.5.8-665mfjfq.mjs +0 -5
  519. package/dist/chunks/cli-0.5.8-69frkjjq.mjs +0 -2
  520. package/dist/chunks/cli-0.5.8-69swpyae.mjs +0 -2
  521. package/dist/chunks/cli-0.5.8-6epmns99.mjs +0 -2
  522. package/dist/chunks/cli-0.5.8-6nc6hmng.mjs +0 -3
  523. package/dist/chunks/cli-0.5.8-6t480jt6.mjs +0 -2
  524. package/dist/chunks/cli-0.5.8-6tfvmmwd.mjs +0 -2
  525. package/dist/chunks/cli-0.5.8-78y711gq.mjs +0 -7
  526. package/dist/chunks/cli-0.5.8-7fm71y20.mjs +0 -2
  527. package/dist/chunks/cli-0.5.8-7t6q11qp.mjs +0 -3
  528. package/dist/chunks/cli-0.5.8-7teqphwt.mjs +0 -2
  529. package/dist/chunks/cli-0.5.8-7w4sv41z.mjs +0 -2
  530. package/dist/chunks/cli-0.5.8-7wzh55d5.mjs +0 -2
  531. package/dist/chunks/cli-0.5.8-8b40nd32.mjs +0 -3
  532. package/dist/chunks/cli-0.5.8-8c0hade9.mjs +0 -2
  533. package/dist/chunks/cli-0.5.8-8h4z9e0a.mjs +0 -2
  534. package/dist/chunks/cli-0.5.8-8jfx4hd4.mjs +0 -24
  535. package/dist/chunks/cli-0.5.8-8jzc3wsz.mjs +0 -2
  536. package/dist/chunks/cli-0.5.8-8n05q2cg.mjs +0 -4
  537. package/dist/chunks/cli-0.5.8-903jgg2t.mjs +0 -2
  538. package/dist/chunks/cli-0.5.8-959n5v33.mjs +0 -44
  539. package/dist/chunks/cli-0.5.8-96p83b7z.mjs +0 -2
  540. package/dist/chunks/cli-0.5.8-99pnpzq7.mjs +0 -2
  541. package/dist/chunks/cli-0.5.8-9ffdsmw1.mjs +0 -2
  542. package/dist/chunks/cli-0.5.8-9fpm1ms3.mjs +0 -2
  543. package/dist/chunks/cli-0.5.8-9jzc13yp.mjs +0 -2
  544. package/dist/chunks/cli-0.5.8-a03sqccb.mjs +0 -2
  545. package/dist/chunks/cli-0.5.8-at01jfw3.mjs +0 -2
  546. package/dist/chunks/cli-0.5.8-axp2p1sa.mjs +0 -2
  547. package/dist/chunks/cli-0.5.8-bfynw1rm.mjs +0 -2
  548. package/dist/chunks/cli-0.5.8-bhc8vwxd.mjs +0 -2
  549. package/dist/chunks/cli-0.5.8-bjqx8j31.mjs +0 -67
  550. package/dist/chunks/cli-0.5.8-bnqvgx16.mjs +0 -18
  551. package/dist/chunks/cli-0.5.8-brnwv1s4.mjs +0 -2
  552. package/dist/chunks/cli-0.5.8-bv6qegpr.mjs +0 -2
  553. package/dist/chunks/cli-0.5.8-bv8mzvsr.mjs +0 -2
  554. package/dist/chunks/cli-0.5.8-bwsasv3j.mjs +0 -12
  555. package/dist/chunks/cli-0.5.8-cc6m9nm7.mjs +0 -2
  556. package/dist/chunks/cli-0.5.8-cctz1t07.mjs +0 -2
  557. package/dist/chunks/cli-0.5.8-cgt1fvs7.mjs +0 -2
  558. package/dist/chunks/cli-0.5.8-chb0m9py.mjs +0 -17
  559. package/dist/chunks/cli-0.5.8-chdp8e1b.mjs +0 -15
  560. package/dist/chunks/cli-0.5.8-cm551a1y.mjs +0 -2
  561. package/dist/chunks/cli-0.5.8-cv8hrynt.mjs +0 -2
  562. package/dist/chunks/cli-0.5.8-d3t3qcax.mjs +0 -2
  563. package/dist/chunks/cli-0.5.8-dn2c6x2n.mjs +0 -2
  564. package/dist/chunks/cli-0.5.8-dtn5ax3v.mjs +0 -2
  565. package/dist/chunks/cli-0.5.8-e5dnz0q6.mjs +0 -2
  566. package/dist/chunks/cli-0.5.8-e6gpyhnf.mjs +0 -39
  567. package/dist/chunks/cli-0.5.8-edf7e65a.mjs +0 -2
  568. package/dist/chunks/cli-0.5.8-eq34z9xf.mjs +0 -133
  569. package/dist/chunks/cli-0.5.8-erk0zvwn.mjs +0 -3
  570. package/dist/chunks/cli-0.5.8-et8r95zv.mjs +0 -15
  571. package/dist/chunks/cli-0.5.8-etf1n11s.mjs +0 -2
  572. package/dist/chunks/cli-0.5.8-ex39bk3p.mjs +0 -3
  573. package/dist/chunks/cli-0.5.8-f0cc21nk.mjs +0 -34
  574. package/dist/chunks/cli-0.5.8-f1znt77k.mjs +0 -2
  575. package/dist/chunks/cli-0.5.8-f54hhqdn.mjs +0 -4
  576. package/dist/chunks/cli-0.5.8-fbja9vc0.mjs +0 -2
  577. package/dist/chunks/cli-0.5.8-fhebd13f.mjs +0 -12
  578. package/dist/chunks/cli-0.5.8-fmyr9f7x.mjs +0 -18
  579. package/dist/chunks/cli-0.5.8-fr90cgpy.mjs +0 -4
  580. package/dist/chunks/cli-0.5.8-gf6svxra.mjs +0 -27
  581. package/dist/chunks/cli-0.5.8-gm4jqzfs.mjs +0 -2
  582. package/dist/chunks/cli-0.5.8-gnw67m2e.mjs +0 -3
  583. package/dist/chunks/cli-0.5.8-gp6x9qmw.mjs +0 -2
  584. package/dist/chunks/cli-0.5.8-gr2yrqhs.mjs +0 -21
  585. package/dist/chunks/cli-0.5.8-haddssvq.mjs +0 -17
  586. package/dist/chunks/cli-0.5.8-he3sfaey.mjs +0 -2
  587. package/dist/chunks/cli-0.5.8-hkfwdsmy.mjs +0 -2
  588. package/dist/chunks/cli-0.5.8-hz85a3w7.mjs +0 -2
  589. package/dist/chunks/cli-0.5.8-j5n54z7y.mjs +0 -2
  590. package/dist/chunks/cli-0.5.8-j5nn8m2r.mjs +0 -2
  591. package/dist/chunks/cli-0.5.8-jcm5hsqp.mjs +0 -6
  592. package/dist/chunks/cli-0.5.8-je6yq94p.mjs +0 -2
  593. package/dist/chunks/cli-0.5.8-jjmb10ns.mjs +0 -10
  594. package/dist/chunks/cli-0.5.8-jtqyf6nz.mjs +0 -9
  595. package/dist/chunks/cli-0.5.8-kbjtm14d.mjs +0 -2
  596. package/dist/chunks/cli-0.5.8-kdatn7ch.mjs +0 -2
  597. package/dist/chunks/cli-0.5.8-kmzftyt4.mjs +0 -2
  598. package/dist/chunks/cli-0.5.8-m3186fr3.mjs +0 -5
  599. package/dist/chunks/cli-0.5.8-m7f68vhz.mjs +0 -2
  600. package/dist/chunks/cli-0.5.8-m9yn90fe.mjs +0 -4
  601. package/dist/chunks/cli-0.5.8-mf9m22v5.mjs +0 -2
  602. package/dist/chunks/cli-0.5.8-mgzx32hk.mjs +0 -3
  603. package/dist/chunks/cli-0.5.8-ntjmzc72.mjs +0 -4
  604. package/dist/chunks/cli-0.5.8-nwe7yne9.mjs +0 -59
  605. package/dist/chunks/cli-0.5.8-p2n1sz9e.mjs +0 -2
  606. package/dist/chunks/cli-0.5.8-p596xr80.mjs +0 -2
  607. package/dist/chunks/cli-0.5.8-p72phgsn.mjs +0 -2
  608. package/dist/chunks/cli-0.5.8-p84q1yp2.mjs +0 -2
  609. package/dist/chunks/cli-0.5.8-p9vc4jd4.mjs +0 -2
  610. package/dist/chunks/cli-0.5.8-pbvqqyq3.mjs +0 -133
  611. package/dist/chunks/cli-0.5.8-pmsd92jp.mjs +0 -2
  612. package/dist/chunks/cli-0.5.8-ppmhyhcf.mjs +0 -2
  613. package/dist/chunks/cli-0.5.8-pwcy1yf9.mjs +0 -2
  614. package/dist/chunks/cli-0.5.8-qdnr3r07.mjs +0 -2
  615. package/dist/chunks/cli-0.5.8-qf19nfhv.mjs +0 -193
  616. package/dist/chunks/cli-0.5.8-qgd7he6r.mjs +0 -3
  617. package/dist/chunks/cli-0.5.8-qrbzvxe2.mjs +0 -2
  618. package/dist/chunks/cli-0.5.8-qvy0n26p.mjs +0 -2
  619. package/dist/chunks/cli-0.5.8-r3r9r1x8.mjs +0 -2
  620. package/dist/chunks/cli-0.5.8-r3zjfgs5.mjs +0 -2
  621. package/dist/chunks/cli-0.5.8-r88abafr.mjs +0 -15
  622. package/dist/chunks/cli-0.5.8-rddkqxh8.mjs +0 -16
  623. package/dist/chunks/cli-0.5.8-rjn66mdx.mjs +0 -4
  624. package/dist/chunks/cli-0.5.8-rtmc93gs.mjs +0 -2
  625. package/dist/chunks/cli-0.5.8-rvxqss4v.mjs +0 -12
  626. package/dist/chunks/cli-0.5.8-s3j6qsck.mjs +0 -3
  627. package/dist/chunks/cli-0.5.8-s7px34xg.mjs +0 -2
  628. package/dist/chunks/cli-0.5.8-sbqgh2ca.mjs +0 -2
  629. package/dist/chunks/cli-0.5.8-t3x9v2fr.mjs +0 -2
  630. package/dist/chunks/cli-0.5.8-tc6ssmvg.mjs +0 -2
  631. package/dist/chunks/cli-0.5.8-tknpvwjq.mjs +0 -24
  632. package/dist/chunks/cli-0.5.8-tp8vvk8a.mjs +0 -4
  633. package/dist/chunks/cli-0.5.8-v274erpp.mjs +0 -2
  634. package/dist/chunks/cli-0.5.8-v5gbzf09.mjs +0 -2
  635. package/dist/chunks/cli-0.5.8-vax2sw0y.mjs +0 -2
  636. package/dist/chunks/cli-0.5.8-vck50j66.mjs +0 -2
  637. package/dist/chunks/cli-0.5.8-vhpgdwvb.mjs +0 -45
  638. package/dist/chunks/cli-0.5.8-w36atn94.mjs +0 -2
  639. package/dist/chunks/cli-0.5.8-w75qbypx.mjs +0 -2
  640. package/dist/chunks/cli-0.5.8-w7g735pf.mjs +0 -2
  641. package/dist/chunks/cli-0.5.8-was67jgw.mjs +0 -2
  642. package/dist/chunks/cli-0.5.8-wcjp9e8f.mjs +0 -50
  643. package/dist/chunks/cli-0.5.8-wcyjzsha.mjs +0 -2
  644. package/dist/chunks/cli-0.5.8-wdyh9mqa.mjs +0 -3
  645. package/dist/chunks/cli-0.5.8-wkcmqhde.mjs +0 -2
  646. package/dist/chunks/cli-0.5.8-wm9jby2t.mjs +0 -2
  647. package/dist/chunks/cli-0.5.8-wtz636rz.mjs +0 -20
  648. package/dist/chunks/cli-0.5.8-x8fzgqvs.mjs +0 -2
  649. package/dist/chunks/cli-0.5.8-x9q7q10d.mjs +0 -2
  650. package/dist/chunks/cli-0.5.8-xs1gy1tk.mjs +0 -6
  651. package/dist/chunks/cli-0.5.8-xvf56w0z.mjs +0 -2
  652. package/dist/chunks/cli-0.5.8-xwpp4ts7.mjs +0 -2
  653. package/dist/chunks/cli-0.5.8-xwzk13b3.mjs +0 -2
  654. package/dist/chunks/cli-0.5.8-yfpy2mmj.mjs +0 -2
  655. package/dist/chunks/cli-0.5.8-ywfvs57d.mjs +0 -2
  656. package/dist/chunks/cli-0.5.8-z14ncgt9.mjs +0 -2
  657. package/dist/chunks/cli-0.5.8-z3ev1ken.mjs +0 -3
  658. package/dist/chunks/cli-0.5.8-z447z8t0.mjs +0 -2
  659. package/dist/chunks/cli-0.5.8-zervw1k3.mjs +0 -5
  660. package/dist/chunks/cli-0.5.8-zf5yzqn5.mjs +0 -1
  661. package/dist/chunks/cli-0.5.8-zhydxkm6.mjs +0 -2
  662. package/dist/chunks/cli-0.5.8-zkn5gecs.mjs +0 -2
  663. package/dist/chunks/cli-0.5.8-zy590bkh.mjs +0 -2
  664. package/dist/chunks/client-0.5.8-9axd4w58.mjs +0 -1
  665. package/dist/chunks/color-0.5.8-resv1z9m.mjs +0 -1
  666. package/dist/chunks/compact-0.5.8-4rtxsg5x.mjs +0 -3
  667. package/dist/chunks/config-0.5.8-1j4xyj57.mjs +0 -1
  668. package/dist/chunks/config-0.5.8-ettscama.mjs +0 -1
  669. package/dist/chunks/context-0.5.8-fpg3fcmt.mjs +0 -1
  670. package/dist/chunks/context-noninteractive-0.5.8-zaspwvjm.mjs +0 -1
  671. package/dist/chunks/conversation-0.5.8-hfvm0eqb.mjs +0 -1
  672. package/dist/chunks/copy-0.5.8-wzb7pjzr.mjs +0 -9
  673. package/dist/chunks/cost-0.5.8-f2m9t7ye.mjs +0 -1
  674. package/dist/chunks/createSSHSession-0.5.8-615sh7tx.mjs +0 -1
  675. package/dist/chunks/createSession-0.5.8-v7srm5ea.mjs +0 -1
  676. package/dist/chunks/debug-0.5.8-c84dbamw.mjs +0 -1
  677. package/dist/chunks/defaultActionDeps-0.5.8-b94dtwtd.mjs +0 -1177
  678. package/dist/chunks/desktop-0.5.8-46z10hnt.mjs +0 -1
  679. package/dist/chunks/detectRepository-0.5.8-rwc4rjfg.mjs +0 -1
  680. package/dist/chunks/detection-0.5.8-hydnvzf4.mjs +0 -1
  681. package/dist/chunks/diff-0.5.8-p7d54hn7.mjs +0 -1
  682. package/dist/chunks/doctor-0.5.8-894mdsxc.mjs +0 -1
  683. package/dist/chunks/doctorDiagnostic-0.5.8-c12xcayk.mjs +0 -1
  684. package/dist/chunks/earlyInput-0.5.8-fwa1r2va.mjs +0 -1
  685. package/dist/chunks/effort-0.5.8-7gcwya2k.mjs +0 -10
  686. package/dist/chunks/envUtils-0.5.8-20c2f8v3.mjs +0 -1
  687. package/dist/chunks/environmentSelection-0.5.8-t6hzsc8z.mjs +0 -1
  688. package/dist/chunks/environments-0.5.8-fcp8bfe3.mjs +0 -1
  689. package/dist/chunks/errors-0.5.8-ev3jqbjj.mjs +0 -1
  690. package/dist/chunks/exampleCommands-0.5.8-d38qs6k2.mjs +0 -1
  691. package/dist/chunks/exit-0.5.8-f5v7cstg.mjs +0 -1
  692. package/dist/chunks/export-0.5.8-a8fg7991.mjs +0 -2
  693. package/dist/chunks/extra-usage-0.5.8-r5qs5fjk.mjs +0 -1
  694. package/dist/chunks/extra-usage-noninteractive-0.5.8-f8mch55k.mjs +0 -1
  695. package/dist/chunks/fast-0.5.8-5yfvbb7d.mjs +0 -1
  696. package/dist/chunks/feedback-0.5.8-j9xstj5q.mjs +0 -14
  697. package/dist/chunks/firstPartyEventLogger-0.5.8-tmpw0mgj.mjs +0 -1
  698. package/dist/chunks/git-0.5.8-vvd1b8x0.mjs +0 -1
  699. package/dist/chunks/githubModelsCredentials-0.5.8-de9f7e7s.mjs +0 -1
  700. package/dist/chunks/grove-0.5.8-rewcpbks.mjs +0 -1
  701. package/dist/chunks/growthbook-0.5.8-tt3wbrct.mjs +0 -1
  702. package/dist/chunks/headless-0.5.8-h1tn9ee3.mjs +0 -2
  703. package/dist/chunks/heapdump-0.5.8-e0vshas9.mjs +0 -6
  704. package/dist/chunks/help-0.5.8-mhhgyvqz.mjs +0 -1
  705. package/dist/chunks/hookChains-0.5.8-ewzfdp91.mjs +0 -3
  706. package/dist/chunks/hooks-0.5.8-mgp708m9.mjs +0 -1
  707. package/dist/chunks/hooks-0.5.8-p1mz2zy1.mjs +0 -79
  708. package/dist/chunks/ide-0.5.8-pzfhr27w.mjs +0 -3
  709. package/dist/chunks/image-processor-napi-0.5.8-1skckgt6.mjs +0 -1
  710. package/dist/chunks/index-0.5.8-0dkn7rr7.mjs +0 -9
  711. package/dist/chunks/index-0.5.8-26yrjbk0.mjs +0 -1
  712. package/dist/chunks/index-0.5.8-5cr4y9wx.mjs +0 -1
  713. package/dist/chunks/index-0.5.8-5mgzpm7c.mjs +0 -1
  714. package/dist/chunks/index-0.5.8-b4p3af9y.mjs +0 -1
  715. package/dist/chunks/index-0.5.8-b7tvbbzv.mjs +0 -2
  716. package/dist/chunks/index-0.5.8-bk6ejev9.mjs +0 -1
  717. package/dist/chunks/index-0.5.8-cmyhdm8s.mjs +0 -9
  718. package/dist/chunks/index-0.5.8-egkksjaj.mjs +0 -1
  719. package/dist/chunks/index-0.5.8-hr8aqgvc.mjs +0 -1
  720. package/dist/chunks/index-0.5.8-jf20nzsg.mjs +0 -1
  721. package/dist/chunks/index-0.5.8-m6exk6z6.mjs +0 -30
  722. package/dist/chunks/index-0.5.8-mpm6xxk3.mjs +0 -5
  723. package/dist/chunks/index-0.5.8-nt058ay0.mjs +0 -1
  724. package/dist/chunks/index-0.5.8-qdwcg9cv.mjs +0 -10
  725. package/dist/chunks/index-0.5.8-rdk757cq.mjs +0 -1
  726. package/dist/chunks/index-0.5.8-red1reev.mjs +0 -1
  727. package/dist/chunks/index-0.5.8-rehfpmcw.mjs +0 -1
  728. package/dist/chunks/index-0.5.8-s3k17n65.mjs +0 -1
  729. package/dist/chunks/index-0.5.8-xpaaycp7.mjs +0 -1
  730. package/dist/chunks/index-0.5.8-ydqh8xbm.mjs +0 -2
  731. package/dist/chunks/index-0.5.8-yp0fpaqf.mjs +0 -1
  732. package/dist/chunks/init-0.5.8-kmfn7vay.mjs +0 -1
  733. package/dist/chunks/initReplBridge-0.5.8-f9ezc1jk.mjs +0 -1
  734. package/dist/chunks/ink-0.5.8-y01565nf.mjs +0 -1
  735. package/dist/chunks/insights-0.5.8-mwq5z31x.mjs +0 -870
  736. package/dist/chunks/install-0.5.8-se0j5qte.mjs +0 -1
  737. package/dist/chunks/install-github-app-0.5.8-zqhhg1fw.mjs +0 -149
  738. package/dist/chunks/install-slack-app-0.5.8-9qpwy0z9.mjs +0 -1
  739. package/dist/chunks/instrumentation-0.5.8-gbnaaqp3.mjs +0 -1
  740. package/dist/chunks/interactiveHelpers-0.5.8-wrn95m3j.mjs +0 -1
  741. package/dist/chunks/keybindings-0.5.8-j070t67n.mjs +0 -2
  742. package/dist/chunks/knowledge-0.5.8-fhr55cqh.mjs +0 -2
  743. package/dist/chunks/latestVersionCache-0.5.8-rmkxtaea.mjs +0 -1
  744. package/dist/chunks/loadAgentsDir-0.5.8-f3j27p5s.mjs +0 -1
  745. package/dist/chunks/loadPluginHooks-0.5.8-7401ty3k.mjs +0 -1
  746. package/dist/chunks/loadPluginHooks-0.5.8-yhhkejwz.mjs +0 -1
  747. package/dist/chunks/log-0.5.8-78h0x7qg.mjs +0 -1
  748. package/dist/chunks/main-0.5.8-4ddjgz4x.mjs +0 -1
  749. package/dist/chunks/managedEnv-0.5.8-rxnh3nhr.mjs +0 -1
  750. package/dist/chunks/mcp-0.5.8-9ts7qrcv.mjs +0 -4
  751. package/dist/chunks/mcp-0.5.8-hhnpsgvh.mjs +0 -17
  752. package/dist/chunks/mcp-0.5.8-md6hzter.mjs +0 -1
  753. package/dist/chunks/mcpb-0.5.8-ebcb4nn4.mjs +0 -1
  754. package/dist/chunks/memory-0.5.8-ph5hb81n.mjs +0 -3
  755. package/dist/chunks/mobile-0.5.8-f04nmet1.mjs +0 -2
  756. package/dist/chunks/model-0.5.8-aqzt03nd.mjs +0 -1
  757. package/dist/chunks/model-0.5.8-nmcrv393.mjs +0 -2
  758. package/dist/chunks/oauth-0.5.8-n75mrvf3.mjs +0 -1
  759. package/dist/chunks/openaiShim-0.5.8-95kwrgpv.mjs +0 -14
  760. package/dist/chunks/output-style-0.5.8-zy932aj1.mjs +0 -1
  761. package/dist/chunks/package-APBHZ5F3-0.5.8-c4xw21z8.mjs +0 -1
  762. package/dist/chunks/parseConnectUrl-0.5.8-0dgzrde4.mjs +0 -1
  763. package/dist/chunks/parser-0.5.8-g6wgq5z2.mjs +0 -1
  764. package/dist/chunks/passes-0.5.8-jkdncmr5.mjs +0 -1
  765. package/dist/chunks/permissions-0.5.8-tesg1fmt.mjs +0 -3
  766. package/dist/chunks/plan-0.5.8-4h4wazbm.mjs +0 -1
  767. package/dist/chunks/plist-0.5.8-ygsvkws5.mjs +0 -1
  768. package/dist/chunks/plugin-0.5.8-meszp93t.mjs +0 -29
  769. package/dist/chunks/pluginStartupCheck-0.5.8-8c49aq53.mjs +0 -1
  770. package/dist/chunks/plugins-0.5.8-zh9wq5by.mjs +0 -9
  771. package/dist/chunks/preActionHook-0.5.8-r8zrjby2.mjs +0 -2
  772. package/dist/chunks/print-0.5.8-dbcfsrdg.mjs +0 -57
  773. package/dist/chunks/privacy-settings-0.5.8-zj36f0ve.mjs +0 -1
  774. package/dist/chunks/process-0.5.8-1yf78q4y.mjs +0 -1
  775. package/dist/chunks/processBashCommand-0.5.8-pdnzd9ry.mjs +0 -1
  776. package/dist/chunks/processSlashCommand-0.5.8-kmv9fs8d.mjs +0 -9
  777. package/dist/chunks/prompt-0.5.8-aa1v4zh0.mjs +0 -1
  778. package/dist/chunks/prompt-0.5.8-wabf0exz.mjs +0 -1
  779. package/dist/chunks/prompts-0.5.8-n865vxaw.mjs +0 -1
  780. package/dist/chunks/protocolHandler-0.5.8-6k7ma4yf.mjs +0 -13
  781. package/dist/chunks/provider-0.5.8-qsr51mc2.mjs +0 -2
  782. package/dist/chunks/providerProfiles-0.5.8-he8tbnf5.mjs +0 -1
  783. package/dist/chunks/providerValidation-0.5.8-6cjh43zv.mjs +0 -6
  784. package/dist/chunks/rate-limit-options-0.5.8-pvbwwt4v.mjs +0 -1
  785. package/dist/chunks/registerSubcommands-0.5.8-8jq52atf.mjs +0 -34
  786. package/dist/chunks/registry-0.5.8-ynn6qxq6.mjs +0 -1
  787. package/dist/chunks/release-notes-0.5.8-yydjz710.mjs +0 -5
  788. package/dist/chunks/reload-plugins-0.5.8-64ybz2n4.mjs +0 -2
  789. package/dist/chunks/remote-env-0.5.8-1f4tf3ch.mjs +0 -1
  790. package/dist/chunks/remoteBridgeCore-0.5.8-qnrtc8aw.mjs +0 -1
  791. package/dist/chunks/remoteSession-0.5.8-kxsfx9gd.mjs +0 -1
  792. package/dist/chunks/rename-0.5.8-j4c6dg9n.mjs +0 -1
  793. package/dist/chunks/replBridgeHandle-0.5.8-w33fvpqt.mjs +0 -1
  794. package/dist/chunks/replLauncher-0.5.8-7jzc54fq.mjs +0 -1
  795. package/dist/chunks/resume-0.5.8-373epwyd.mjs +0 -2
  796. package/dist/chunks/rewind-0.5.8-b9qe0mwn.mjs +0 -1
  797. package/dist/chunks/rootOptions-0.5.8-h1ddt4ry.mjs +0 -1
  798. package/dist/chunks/sandbox-adapter-0.5.8-ma6nv5dg.mjs +0 -1
  799. package/dist/chunks/sandbox-toggle-0.5.8-1cc5m303.mjs +0 -1
  800. package/dist/chunks/session-0.5.8-rxft524k.mjs +0 -2
  801. package/dist/chunks/sessionDiscovery-0.5.8-r4eg8g3r.mjs +0 -1
  802. package/dist/chunks/sessionFileAccessHooks-0.5.8-jm3bmvt7.mjs +0 -1
  803. package/dist/chunks/sessionStorage-0.5.8-kfghwskw.mjs +0 -1
  804. package/dist/chunks/settings-0.5.8-qxr7dgzb.mjs +0 -1
  805. package/dist/chunks/setup-0.5.8-769vnffz.mjs +0 -5
  806. package/dist/chunks/sinks-0.5.8-jcq0kgny.mjs +0 -1
  807. package/dist/chunks/skills-0.5.8-5qxr2p94.mjs +0 -1
  808. package/dist/chunks/startupProfiler-0.5.8-cpbf91zs.mjs +0 -1
  809. package/dist/chunks/startupUpdateCheck-0.5.8-bctkpcea.mjs +0 -1
  810. package/dist/chunks/state-0.5.8-cppqmrbf.mjs +0 -1
  811. package/dist/chunks/stats-0.5.8-zcfm59db.mjs +0 -6
  812. package/dist/chunks/status-0.5.8-5v4y485z.mjs +0 -1
  813. package/dist/chunks/stickers-0.5.8-9gr6e2xg.mjs +0 -1
  814. package/dist/chunks/subprocessEnv-0.5.8-wf4cta06.mjs +0 -1
  815. package/dist/chunks/tasks-0.5.8-30z30sqv.mjs +0 -1
  816. package/dist/chunks/teamHelpers-0.5.8-vcng2y7m.mjs +0 -1
  817. package/dist/chunks/teammateModeSnapshot-0.5.8-48p5p451.mjs +0 -1
  818. package/dist/chunks/teleport-0.5.8-650m4rks.mjs +0 -1
  819. package/dist/chunks/terminalSetup-0.5.8-ew1ax86g.mjs +0 -1
  820. package/dist/chunks/theme-0.5.8-7a06760x.mjs +0 -1
  821. package/dist/chunks/thinkback-0.5.8-xrvqhj8w.mjs +0 -1
  822. package/dist/chunks/thinkback-play-0.5.8-vkpn13f3.mjs +0 -1
  823. package/dist/chunks/toolPool-0.5.8-ntbr808f.mjs +0 -1
  824. package/dist/chunks/toolSearch-0.5.8-ybxz2f7f.mjs +0 -1
  825. package/dist/chunks/tools-0.5.8-egnmkxt7.mjs +0 -1
  826. package/dist/chunks/trustedDevice-0.5.8-422swdjw.mjs +0 -1
  827. package/dist/chunks/turndown.cjs-0.5.8-tkat2x5p.mjs +0 -69
  828. package/dist/chunks/ultrareviewCommand-0.5.8-e7b2408n.mjs +0 -4
  829. package/dist/chunks/update-0.5.8-a285y5j4.mjs +0 -86
  830. package/dist/chunks/upgrade-0.5.8-8nxejvyv.mjs +0 -1
  831. package/dist/chunks/upstreamproxy-0.5.8-6a2g1s50.mjs +0 -14
  832. package/dist/chunks/url-handler-napi-0.5.8-83a2qhsf.mjs +0 -1
  833. package/dist/chunks/usage-0.5.8-9dha8gsc.mjs +0 -1
  834. package/dist/chunks/util-0.5.8-c7zdhrd1.mjs +0 -1
  835. package/dist/chunks/utils-0.5.8-e8pfjkrb.mjs +0 -1
  836. package/dist/chunks/vim-0.5.8-pgsav8je.mjs +0 -1
  837. package/dist/chunks/watcher-0.5.8-w3q8518m.mjs +0 -1
  838. package/dist/chunks/wiki-0.5.8-1sa2h258.mjs +0 -132
  839. package/dist/chunks/worktree-0.5.8-59wmpecg.mjs +0 -1
  840. package/dist/chunks/worktreeModeEnabled-0.5.8-pexygrty.mjs +0 -1
  841. package/dist/chunks/wrapper-0.5.8-kmv5mk0m.mjs +0 -7
  842. /package/dist/chunks/{cli-0.5.8-j77twbsq.mjs → cli-0.5.9-4yxntpxv.mjs} +0 -0
  843. /package/dist/chunks/{cli-0.5.8-kegk7gdp.mjs → cli-0.5.9-x9tg4bxs.mjs} +0 -0
@@ -1,50 +0,0 @@
1
- import{Dc as la,Ec as fc}from"./cli-0.5.8-2nr7eh5e.mjs";import{Fc as lt,Gc as Tn,Hc as wn,Ic as ra,Kc as _c}from"./cli-0.5.8-1bp61y3p.mjs";import{Lc as un,Oc as Ac}from"./cli-0.5.8-69frkjjq.mjs";import{Ct as ua,Et as bc,LD as Jt,MD as tc,ND as Zt,OD as Kt,PD as Et,QD as ac,fF as qt,gF as Ha,iF as zc,jF as Rc,kD as Mn,lD as wc,ow as ha,pw as oa,qw as gc,uD as G,vD as Xa,wD as Oc,yo as ca,zo as Cc}from"./cli-0.5.8-4hvxb5dp.mjs";import{UU as hn,WU as sc,cV as ta,dV as yc}from"./cli-0.5.8-60e57smp.mjs";import{RW as w,TW as o,wX as Ot}from"./cli-0.5.8-nwe7yne9.mjs";import{AY as ft,EY as kt,FY as aa,GY as pt,tY as zt,uY as Rt,vY as At,wY as _t,xY as Qa}from"./cli-0.5.8-cctz1t07.mjs";import{WY as yn,XY as h,YY as C,ZY as Sn}from"./cli-0.5.8-zkn5gecs.mjs";import{_Y as In}from"./cli-0.5.8-6epmns99.mjs";import{vZ as xt,wZ as rc}from"./cli-0.5.8-cm551a1y.mjs";import{$aa as ot,Aaa as ct,Baa as nn,Caa as dn,Gaa as sn,Haa as ut,Iaa as ht,K5 as an,L5 as ec,Maa as wt,Raa as vn,Saa as Vt,Taa as Yt,Uaa as Ln,Vaa as nt,Waa as Qt,Xaa as Dn,Yaa as Xt,Zaa as Ht,_aa as nc,aba as Pt,bba as rt,dba as It,fba as na,qaa as vt,raa as cn,saa as mc,sba as dc,taa as Fn,uaa as P,waa as Q,xaa as $n,zaa as gn}from"./cli-0.5.8-qf19nfhv.mjs";import{ega as bn,mga as Wt}from"./cli-0.5.8-gm4jqzfs.mjs";import{vna as Pn,wna as ic,zna as v}from"./cli-0.5.8-hkfwdsmy.mjs";function Za(n,a=Wn){let c=P().find((r)=>r.provider==="openai"&&r.extras?.githubToken!==void 0);if(c)return dn(c.id,{provider:"openai",name:c.name,baseUrl:c.baseUrl,model:c.model||a,apiKey:n,extras:{...c.extras,githubToken:n}}),sn(c.id),{mode:"updated"};return nn({provider:"openai",name:"GitHub Copilot",baseUrl:Ja,model:a,apiKey:n,extras:{githubToken:n}},{makeActive:!0}),{mode:"created"}}function St({onDone:n,onBack:a,onChangeAPIKey:c}){let r=ft()?.trim()?"already-authed":"menu",[e,m]=W.useState(r),[_,z]=W.useState(null),[L,k]=W.useState(null),R=W.useCallback(async(A,p=Wn,y)=>{let H=kt(A,y);if(!H.success){z(H.warning??"Could not save token to secure storage."),m("error");return}Za(A,p),c?.(),n("GitHub Copilot onboard complete. Copilot token stored in secure storage and as the active /provider profile.",{display:"user"})},[c,n]),N=W.useCallback(async()=>{m("device-busy"),z(null),k(null);try{let A=await zt();k({user_code:A.user_code,verification_uri:A.verification_uri}),await At(A.verification_uri);let p=await Rt(A.device_code,{initialInterval:A.interval,timeoutSeconds:A.expires_in}),y=await _t(p);await R(y.token,Wn,p)}catch(A){z(A instanceof Error?A.message:String(A)),m("error")}},[R]);if(e==="already-authed")return C(w,{flexDirection:"column",gap:1,children:[h(o,{bold:!0,children:"GitHub Copilot"}),h(o,{children:"You are already signed in to GitHub Copilot."}),h(o,{dimColor:!0,children:'Choose "Sign in again" to refresh your token, or go back to the provider menu.'}),h(G,{options:[{label:"Sign in again",value:"sign-in-again"},{label:a?"Back to /provider menu":"Cancel",value:"back"}],onChange:(p)=>{if(p==="sign-in-again"){N();return}if(a){a();return}n("GitHub onboard cancelled",{display:"system"})}})]});if(e==="error"&&_)return C(w,{flexDirection:"column",gap:1,children:[h(o,{color:"red",children:_}),h(G,{options:[{label:a?"Back to /provider menu":"Back to menu",value:"back"},{label:"Exit",value:"exit"}],onChange:(p)=>{if(p==="back"){if(a){a();return}m("menu"),z(null);return}n("GitHub onboard cancelled",{display:"system"})}})]});if(e==="device-busy")return C(w,{flexDirection:"column",gap:1,children:[h(o,{children:"GitHub Copilot sign-in"}),L?C(yn,{children:[C(o,{children:["Enter code ",h(o,{bold:!0,children:L.user_code})," at"," ",L.verification_uri]}),h(o,{dimColor:!0,children:"A browser window may have opened. Waiting for authorization..."})]}):h(o,{dimColor:!0,children:"Requesting device code from GitHub..."}),h(qt,{})]});return C(w,{flexDirection:"column",gap:1,children:[h(o,{bold:!0,children:"GitHub Copilot setup"}),h(o,{dimColor:!0,children:"Stores your token in the OS credential store (macOS Keychain when available) and creates a /provider profile so Copilot is the active provider — no manual env exports required."}),h(G,{options:[{label:"Sign in with browser",value:"device"},{label:a?"Back to /provider menu":"Cancel",value:"cancel"}],onChange:(A)=>{if(A==="cancel"){if(a){a();return}n("GitHub onboard cancelled",{display:"system"});return}N()}})]})}var W,Wn="github:copilot",Ja="https://api.githubcopilot.com";var Lt=v(()=>{Xa();Ha();Ot();Qa();pt();wt();Sn();W=Pn(In(),1)});function $t(n){return[n.name,n.family??"",...n.families??[],n.parameterSize??"",n.quantizationLevel??""].join(" ").toLowerCase()}function Cn(n,a){return a.some((c)=>n.includes(c))}function Wa(n){return!Cn($t(n),Nt)}function Pa(n){return n.find(Wa)??null}function xn(n){let c=`${n.parameterSize??""} ${n.name}`.toLowerCase().match(/(\d+(?:\.\d+)?)\s*b\b/);if(c?.[1])return Number(c[1]);if(typeof n.sizeBytes==="number"&&n.sizeBytes>0)return Number((n.sizeBytes/1e9).toFixed(1));return null}function Ia(n){return(n.quantizationLevel??n.name).toLowerCase()}function xa(n,a,c){if(n===null)return c.push("unknown size"),0;if(a==="latency"){if(n<=4)return c.push("tiny model for low latency"),32;if(n<=8)return c.push("small model for fast responses"),26;if(n<=14)return c.push("mid-sized model with acceptable latency"),16;if(n<=24)return c.push("larger model may be slower"),8;return c.push("large model likely slower locally"),n<=40?0:-8}if(a==="coding"){if(n>=7&&n<=14)return c.push("strong coding size tier"),24;if(n>14&&n<=34)return c.push("large coding-capable size tier"),28;if(n>34)return c.push("very large model with higher quality potential"),18;return c.push("compact model may trade off coding depth"),12}if(n>=7&&n<=14)return c.push("great balanced size tier"),26;if(n>=3&&n<7)return c.push("compact balanced size tier"),18;if(n>14&&n<=24)return c.push("high quality balanced size tier"),20;if(n>24)return c.push("large model for quality-first usage"),10;return c.push("very small model for general usage"),8}function ja(n,a,c){let r=Ia(n);if(r.includes("q4"))return c.push("efficient Q4 quantization"),a==="latency"?8:4;if(r.includes("q5"))return c.push("balanced Q5 quantization"),a==="latency"?6:5;if(r.includes("q8"))return c.push("higher quality Q8 quantization"),a==="latency"?2:5;return 0}function Ba(n,a,c){if(a.score!==n.score)return a.score-n.score;let r=xn(n)??Number.POSITIVE_INFINITY,e=xn(a)??Number.POSITIVE_INFINITY;if(c==="latency")return r-e;if(c==="coding")return e-r;let m=14;return Math.abs(r-m)-Math.abs(e-m)}function jn(n,a){return n.map((c)=>{let r=$t(c),e=[],m=0;if(Cn(r,Nt))m-=40,e.push("not a chat-first model");if(Cn(r,Ka))m+=a==="coding"?24:a==="balanced"?10:4,e.push("coding-oriented model family");if(Cn(r,Ea))m+=a==="latency"?4:a==="coding"?6:8,e.push("strong general-purpose model family");if(Cn(r,Ua))m+=a==="latency"?2:6,e.push("chat/instruct tuned");if(r.includes("vision")||r.includes("vl"))m-=2,e.push("vision model adds extra overhead");m+=xa(xn(c),a,e),m+=ja(c,a,e);let _=e.slice(0,3).join(", ");return{...c,score:m,reasons:e,summary:_}}).sort((c,r)=>Ba(c,r,a))}function Mt(n,a){return Pa(jn(n,a))}var Ka,Ea,Ua,Nt;var Tt=v(()=>{Ka=["coder","codellama","codegemma","codestral","devstral","starcoder","deepseek-coder","qwen2.5-coder","qwen-coder"],Ea=["llama","qwen","mistral","gemma","phi","deepseek"],Ua=["instruct","chat","assistant"],Nt=["embed","embedding","rerank","bge","whisper"]});function va(n){let a=n.toLowerCase();return Da.some((c)=>a.includes(c))}function Bn(n){try{let a=new URL(n);if(a.username)a.username="redacted";if(a.password)a.password="redacted";for(let c of a.searchParams.keys())if(va(c))a.searchParams.set(c,"redacted");return a.toString()}catch{return n.replace(/\/\/[^/@\s]+(?::[^/@\s]*)?@/g,"//redacted@").replace(/([?&](?:token|access_token|refresh_token|api_key|apikey|key|password|passwd|pwd|auth|authorization|signature|sig|secret)=)[^&#]*/gi,"$1redacted")}}var Da;var Ft=v(()=>{Da=["api_key","apikey","key","token","access_token","refresh_token","signature","sig","secret","password","passwd","pwd","auth","authorization"]});function cc(n){let a=`http://localhost:${n.port}/auth/callback`,c=new URL(`${vn}/oauth/authorize`);return c.searchParams.append("response_type","code"),c.searchParams.append("client_id",nt()),c.searchParams.append("redirect_uri",a),c.searchParams.append("scope",Vt),c.searchParams.append("code_challenge",n.codeChallenge),c.searchParams.append("code_challenge_method","S256"),c.searchParams.append("id_token_add_organizations","true"),c.searchParams.append("codex_cli_simplified_flow","true"),c.searchParams.append("state",n.state),c.searchParams.append("originator",Yt),c.toString()}function uc(){return`<!doctype html>
2
- <html lang="en">
3
- <head>
4
- <meta charset="utf-8" />
5
- <title>Codex Login Complete</title>
6
- <style>
7
- body { font-family: sans-serif; padding: 32px; line-height: 1.5; color: #111827; }
8
- h1 { margin: 0 0 12px; font-size: 22px; }
9
- p { margin: 0 0 10px; }
10
- </style>
11
- </head>
12
- <body>
13
- <h1>Codex login complete</h1>
14
- <p>You can return to Claudin now.</p>
15
- <p>Claudin will finish activating your new Codex OAuth login.</p>
16
- </body>
17
- </html>`}function hc(n){return`<!doctype html>
18
- <html lang="en">
19
- <head>
20
- <meta charset="utf-8" />
21
- <title>Codex Login Failed</title>
22
- <style>
23
- body { font-family: sans-serif; padding: 32px; line-height: 1.5; color: #111827; }
24
- h1 { margin: 0 0 12px; font-size: 22px; color: #991b1b; }
25
- p { margin: 0 0 10px; }
26
- </style>
27
- </head>
28
- <body>
29
- <h1>Codex login failed</h1>
30
- <p>${Xt(n)}</p>
31
- <p>You can close this window and try again in Claudin.</p>
32
- </body>
33
- </html>`}function Gt(){return`<!doctype html>
34
- <html lang="en">
35
- <head>
36
- <meta charset="utf-8" />
37
- <title>Codex Login Cancelled</title>
38
- <style>
39
- body { font-family: sans-serif; padding: 32px; line-height: 1.5; color: #111827; }
40
- h1 { margin: 0 0 12px; font-size: 22px; }
41
- p { margin: 0 0 10px; }
42
- </style>
43
- </head>
44
- <body>
45
- <h1>Codex login cancelled</h1>
46
- <p>You can close this window and retry in Claudin.</p>
47
- </body>
48
- </html>`}async function oc(n){let a=`http://localhost:${n.port}/auth/callback`,c=new URLSearchParams({grant_type:"authorization_code",code:n.authorizationCode,redirect_uri:a,client_id:nt(),code_verifier:n.codeVerifier}),r=await fetch(`${vn}/oauth/token`,{method:"POST",headers:{"Content-Type":"application/x-www-form-urlencoded"},body:c,signal:n.signal?AbortSignal.any([n.signal,AbortSignal.timeout(15000)]):AbortSignal.timeout(15000)});if(!r.ok){let k=await r.text().catch(()=>"");throw Error(k.trim()?`Codex OAuth token exchange failed (${r.status}): ${k.trim()}`:`Codex OAuth token exchange failed with status ${r.status}.`)}let e=await r.json(),m=Ln(e.access_token),_=Ln(e.refresh_token);if(!m||!_)throw Error("Codex OAuth completed, but the token response was missing credentials.");let z=Ln(e.id_token);return{apiKey:z?await Ht(z).catch(()=>{return}):void 0,accessToken:m,refreshToken:_,idToken:z,accountId:Dn(z)??Dn(m)}}class tt{authCodeListener=null;port=null;tokenExchangeAbortController=null;buildCancellationError(){return Error("Codex OAuth flow was cancelled.")}async startOAuthFlow(n){let a=Zt(),c=Qt(),r=new Jt("/auth/callback");this.authCodeListener=r,this.port=null;try{let e=await r.start(c);this.port=e;let m=Et(),_=await Kt(a),z=cc({port:e,codeChallenge:_,state:m});try{let L=await r.waitForAuthorization(m,async()=>{await n(z)}),k=new AbortController;this.tokenExchangeAbortController=k;let R;try{R=await oc({authorizationCode:L,codeVerifier:a,port:e,signal:k.signal})}finally{if(this.tokenExchangeAbortController===k)this.tokenExchangeAbortController=null}if(this.authCodeListener!==r)throw this.buildCancellationError();return r.handleSuccessRedirect([],(N)=>{N.writeHead(200,{"Content-Type":"text/html; charset=utf-8"}),N.end(uc())}),R}catch(L){let k=this.authCodeListener===r?L:this.buildCancellationError();if(r.hasPendingResponse()){let R=k instanceof Error&&k.message==="Codex OAuth flow was cancelled.";r.handleErrorRedirect((N)=>{N.writeHead(R?200:400,{"Content-Type":"text/html; charset=utf-8"}),N.end(R?Gt():hc(k instanceof Error?k.message:String(k)))})}throw k}finally{this.cleanup()}}catch(e){let m=e instanceof Error?e.message:String(e);if(m.includes("EADDRINUSE")||m.includes(String(c)))throw Error(`Codex OAuth needs localhost:${c} for its callback. Close any app already using that port and try again.`);throw e}}cleanup(){let n=this.buildCancellationError();if(this.tokenExchangeAbortController?.abort(n),this.tokenExchangeAbortController=null,this.authCodeListener?.hasPendingResponse())this.authCodeListener.handleErrorRedirect((a)=>{a.writeHead(200,{"Content-Type":"text/html; charset=utf-8"}),a.end(Gt())});this.authCodeListener?.cancelPendingAuthorization(n),this.authCodeListener=null,this.port=null}}var Ut=v(()=>{tc();ac();nc()});function lc(){return new tt}function jt(n){let{onAuthenticated:a}=n,c=n.deps?.createOAuthService??lc,r=n.deps?.openBrowser??xt,e=n.deps?.saveCodexCredentials??Pt,m=n.deps?.isBareMode??bn,[_,z]=Nn.useState({state:"starting"});return Nn.useEffect(()=>{if(m()){z({state:"error",message:"Codex OAuth is unavailable in --bare because secure storage is disabled."});return}let L=!1,k=c();return k.startOAuthFlow(async(R)=>{if(L)return;z({state:"waiting",authUrl:R,browserOpened:null});let N=await r(R);if(L)return;z({state:"waiting",authUrl:R,browserOpened:N})}).then(async(R)=>{if(L)return;await a(R,(on)=>{let A=e({apiKey:R.apiKey,accessToken:R.accessToken,refreshToken:R.refreshToken,idToken:R.idToken,accountId:R.accountId,profileId:on?.profileId});if(!A.success)throw Error(A.warning??"Codex OAuth succeeded, but credentials could not be saved securely.")})}).catch((R)=>{if(L)return;z({state:"error",message:R instanceof Error?R.message:String(R)})}),()=>{L=!0,k.cleanup()}},[c,m,a,r,e]),_}var Nn;var Bt=v(()=>{Ut();rc();It();Wt();Nn=Pn(In(),1)});function qc(n){return{name:n.name,baseUrl:n.baseUrl,model:n.model,apiKey:n.apiKey??""}}function Sc(n){let a=Fn(n);return{name:a.name,baseUrl:a.baseUrl,model:a.model,apiKey:a.apiKey??""}}function Lc(n){let a={};for(let c of n.split(/\r?\n/)){let r=c.trim();if(!r)continue;let e=r.indexOf(":");if(e<=0)continue;let m=r.slice(0,e).trim(),_=r.slice(e+1).trim();if(m&&_)a[m]=_}return a}function Nc(n){if(!n)return"";return Object.entries(n).map(([a,c])=>`${a}: ${c}`).join(`
49
- `)}function $c(n,a){let c={},r=n.awsRegion?.trim();if(r)c.awsRegion=r;let e=n.gcpProject?.trim();if(e)c.gcpProject=e;let m=n.gcpRegion?.trim();if(m)c.gcpRegion=m;let _=n.azureResource?.trim();if(_)c.azureResource=_;let z=Lc(a);if(Object.keys(z).length>0)c.customHeaders=z;return Object.keys(c).length>0?c:void 0}function Tc(n,a){let c=a?" (active)":"",r=n.apiKey?"key set":"no key",e=n.provider==="anthropic"?"anthropic":"openai-compatible",m=vt(n.model),_=m.length<=3?m.join(", "):`${m[0]}, ${m[1]} + ${m.length-2} more`;return`${e} · ${n.baseUrl} · ${_} · ${r}${c}`}function Fc(n,a){if(n.state==="unreachable")return`Could not reach Atomic Chat at ${Bn(a)}. Start the Atomic Chat app first, or enter the endpoint manually.`;if(n.state==="no_models")return"Atomic Chat is running, but no models are loaded. Download and load a model inside the Atomic Chat app first, or enter details manually.";return""}function Gc(n,a){if(n.state==="unreachable")return`Could not reach Ollama at ${Bn(a)}. Start Ollama first, or enter the endpoint manually.`;if(n.state==="no_models")return"Ollama is running, but no installed models were found. Pull a chat model such as qwen2.5-coder:7b or llama3.1:8b first, or enter details manually.";if(n.state==="generation_failed"){let c=n.probeModel??"the selected model",r=n.detail?` Details: ${n.detail}.`:"";return`Ollama is reachable and models are installed, but a generation probe failed for ${c}.${r} Run "ollama run ${c}" once and retry, or enter details manually.`}return""}function at(n,a){if(!a)return;return n.find((c)=>c.id===a)}function Dt(n,a){return Boolean(n&&a&&n.id===a)}function Vc({onBack:n,onConfigured:a}){let c=s.useCallback(async(e,m)=>{await a(e,m)},[a]);hn("confirm:no",n,[n]);let r=jt({onAuthenticated:c});if(r.state==="error")return C(w,{flexDirection:"column",gap:1,children:[h(o,{color:"error",bold:!0,children:"Codex OAuth failed"}),h(o,{children:r.message}),h(o,{dimColor:!0,children:"Press Enter or Esc to go back."}),h(G,{options:[{value:"back",label:"Back",description:"Return to provider presets"}],onChange:n,onCancel:n,visibleOptionCount:1})]});return C(w,{flexDirection:"column",gap:1,children:[h(o,{color:"remember",bold:!0,children:"Codex OAuth"}),h(o,{children:"Sign in with your ChatGPT account in the browser. Claudin will store the resulting Codex credentials securely and switch this session to the new Codex login when setup completes."}),r.state==="starting"?h(o,{dimColor:!0,children:"Starting local callback and preparing your browser..."}):r.browserOpened===!1?C(yn,{children:[h(o,{color:"warning",children:"Browser did not open automatically. Visit this URL to continue:"}),h(o,{children:r.authUrl})]}):r.browserOpened===!0?C(yn,{children:[h(o,{dimColor:!0,children:"Browser opened. Finish the ChatGPT sign-in there and this setup will complete automatically."}),h(o,{children:r.authUrl})]}):h(o,{dimColor:!0,children:"Opening your browser..."}),h(o,{dimColor:!0,children:"Press Esc to cancel and go back."})]})}function ku({mode:n,onDone:a}){let c=ua(),[r,e]=s.useState([]),[m,_]=s.useState(),[z,L]=s.useState(),[k,R]=s.useState(!1),[N,on]=s.useState(),A=s.useRef(0),[p,y]=s.useState(n==="first-run"?"select-preset":"menu"),[H,Gn]=s.useState(null),[it,et]=s.useState("openai"),[T,K]=s.useState(()=>Sc("ollama")),[Vn,On]=s.useState({}),[mt,Yn]=s.useState(""),[ia,ea]=s.useState(0),[ma,da]=s.useState(0),[Qn,dt]=s.useState(null),[I,rn]=s.useState(0),[x,E]=s.useState(0),[sa,U]=s.useState(0),[st,S]=s.useState(),[j,O]=s.useState(),[ya,Ca]=s.useState(),[yt,zn]=s.useState(!1),[ln,en]=s.useState(),[J,Rn]=s.useState({state:"idle"}),[Z,An]=s.useState({state:"idle"}),[ba,ga]=s.useState(!0),[wa,Y]=s.useState(!1),Xn=s.useRef(!1),[Hn,Jn]=s.useState(()=>wn()),[Ct,Oa]=s.useState(()=>ra());s.useEffect(()=>{queueMicrotask(()=>{let t=P(),u=Q()?.id;e(t),_(u),L($n()),on(ct()),R(gn()),ga(!1)})},[]);let B=tn[x]??tn[0],_n=B.key,za=T[_n],Zn=r.length>0,fn=Zn,bt=s.useMemo(()=>[{value:"add",label:"Add provider",description:"Create a new provider profile"},...Hn?[{value:"import-legacy",label:"Import from Claude Code",description:"Copy ~/.claude/ tokens, settings, skills, agents, plugins."}]:[],{value:"activate",label:"Set active provider (Global)",description:N?`Currently: ${r.find((t)=>t.id===N)?.name??"unknown"}`:"Default profile for projects without an override",disabled:!fn},{value:"activate-project",label:"Set active provider (Project)",description:z?`Currently: ${r.find((t)=>t.id===z)?.name??"unknown"} (this project)`:"Override the global default for this project only",disabled:!fn},...k?[{value:"clear-project-override",label:"Clear project provider override",description:z?"Stop overriding for this project; fall back to global":"Project override points to a missing profile; clear it"}]:[],{value:"edit",label:"Edit provider",description:"Update URL, model, or key",disabled:!Zn},{value:"delete",label:"Delete provider",description:"Remove a provider profile",disabled:!fn},...yt?[{value:"logout-codex-oauth",label:"Log out Codex OAuth",description:"Clear securely stored Codex OAuth credentials"}]:[],{value:"done",label:"Done",description:"Return to chat"}],[fn,Zn,yt,Hn,N,z,r]),Kn=s.useCallback(()=>{if(bn()){A.current+=1,zn(!1),en(void 0);return}let t=++A.current;(async()=>{let u=await ot();if(t!==A.current)return;zn(Boolean(u?.apiKey||u?.accessToken||u?.refreshToken||u?.idToken)),en(u?.profileId)})()},[]);s.useEffect(()=>{return Kn(),()=>{A.current+=1}},[Kn]),s.useEffect(()=>{if(p!=="select-ollama-model")return;let t=!1;return Rn({state:"loading"}),(async()=>{let u=await oa({baseUrl:T.baseUrl});if(u.state!=="ready"){if(!t)Rn({state:"unavailable",message:Gc(u,T.baseUrl)});return}let i=jn(u.models,"balanced"),l=Mt(u.models,"balanced");if(!t)Rn({state:"ready",defaultValue:l?.name??i[0]?.name,options:i.map((d)=>({label:d.name,value:d.name,description:d.summary}))})})(),()=>{t=!0}},[T.baseUrl,p]),s.useEffect(()=>{if(p!=="select-atomic-chat-model")return;let t=!1;return An({state:"loading"}),(async()=>{let u=await ha({baseUrl:T.baseUrl});if(u.state!=="ready"){if(!t)An({state:"unavailable",message:Fc(u,T.baseUrl)});return}if(!t)An({state:"ready",defaultValue:u.models[0],options:u.models.map((i)=>({label:i,value:i}))})})(),()=>{t=!0}},[T.baseUrl,p]);function $(){if(Xn.current)return;Xn.current=!0,queueMicrotask(()=>{let t=P();e(t),_(Q()?.id),L($n()),on(ct()),R(gn()),Kn(),Xn.current=!1})}function D(){return null}function En(t){if(t.activationWarning)return`${t.prefix}. Saved for next startup. Warning: ${t.warnings.join("; ")}.`;if(t.warnings.length>0)return`${t.prefix}. Claudin switched to it for this session with warnings: ${t.warnings.join("; ")}.`;return`${t.prefix}. Claudin switched to it for this session.`}async function Un(t){if(t?.accessToken&&t.accountId)return null;let u=await ot();if(!u)return"stored Codex OAuth credentials could not be loaded";if(!u.accountId)return"stored Codex OAuth credentials are missing a ChatGPT account id";return null}function gt(){ca()}async function Ra(t){let u="provider";Y(!0),S("Activating provider...");try{await new Promise((mn)=>queueMicrotask(mn));let i=gn(),l=sn(t);if(!l){O("Could not change active provider."),Y(!1),f();return}let d=i?Q()??l:l,b=cn(d.model);if(!i)c((mn)=>({...mn,mainLoopModel:b,mainLoopModelForSession:null}));u=l.name;let g=D(),F=Dt(l,ln),q=F?await Un():null;$();let V=i&&d.id!==l.id?` (project override still active — this project keeps using ${d.name}; use "Clear project provider override" to apply the new default here)`:"",X=F?En({prefix:`Active provider: ${l.name}${V}`,activationWarning:q,warnings:[q,g?`could not clear startup provider override (${g})`:null].filter((mn)=>Boolean(mn))}):g?`Active provider: ${l.name}${V}. Warning: could not clear startup provider override (${g}).`:`Active provider: ${l.name}${V}`;S(X),Y(!1),a({action:"activated",activeProfileId:l.id,activeProviderName:l.name,activeProviderModel:b,message:`Provider switched to ${l.name} (${b})`}),f()}catch(i){$(),S(void 0),Y(!1);let l=i instanceof Error?i.message:String(i);O(`Could not finish activating ${u}: ${l}`),f()}}async function Aa(){Y(!0),S("Clearing project provider override...");try{await new Promise((u)=>queueMicrotask(u)),ut(null),$();let t=Q();if(t){let u=cn(t.model);un(),c((i)=>({...i,mainLoopModel:u,mainLoopModelForSession:null})),S(`Project override cleared. Using global default: ${t.name}.`),Y(!1),a({action:"activated",activeProfileId:t.id,activeProviderName:t.name,activeProviderModel:u,message:`Project override cleared — using ${t.name} (${u})`}),f()}else S("Project provider override cleared. No global default set."),Y(!1),a({action:"saved",message:"Project provider override cleared. No global default set."}),f()}catch(t){$(),S(void 0),Y(!1);let u=t instanceof Error?t.message:String(t);O(`Could not clear project provider override: ${u}`),f()}}async function _a(t){let u="provider";Y(!0),S("Setting provider for this project...");try{await new Promise((X)=>queueMicrotask(X));let i=$n(),l=ut(t);if(!l){O("Could not set project provider override."),Y(!1),f();return}let d=cn(l.model);if(i===l.id)un();c((X)=>({...X,mainLoopModel:d,mainLoopModelForSession:null})),u=l.name;let b=D(),g=Dt(l,ln),F=g?await Un():null;$();let q=`Active provider for this project: ${l.name}. Other projects keep the global default.`,V=g?En({prefix:q,activationWarning:F,warnings:[F,b?`could not clear startup provider override (${b})`:null].filter((X)=>Boolean(X))}):b?`${q} Warning: could not clear startup provider override (${b}).`:q;S(V),Y(!1),a({action:"activated",activeProfileId:l.id,activeProviderName:l.name,activeProviderModel:d,message:`Provider switched to ${l.name} (${d}) for this project`}),f()}catch(i){$(),S(void 0),Y(!1);let l=i instanceof Error?i.message:String(i);O(`Could not finish setting ${u} for this project: ${l}`),f()}}function f(){Ca("done"),y("menu")}function kn(t){a({action:"cancelled",message:t})}function fa(t){let u=Fn(t),i={name:u.name,baseUrl:u.baseUrl,model:u.model,apiKey:u.apiKey??""};if(Gn(null),et(u.provider??"openai"),K(i),On({}),Yn(""),dt(t),E(0),rn(0),U(i.name.length),O(void 0),t==="ollama"){Rn({state:"loading"}),y("select-ollama-model");return}if(t==="atomic-chat"){An({state:"loading"}),y("select-atomic-chat-model");return}if(t==="anthropic"){y("anthropic-auth-choice");return}if(t==="bedrock"||t==="vertex"||t==="foundry"){y("cloud-extras");return}y("form")}function ka(t){let u=r.find((l)=>l.id===t);if(!u)return;let i=qc(u);Gn(t),et(u.provider??"openai"),K(i),On({awsRegion:u.extras?.awsRegion,gcpProject:u.extras?.gcpProject,gcpRegion:u.extras?.gcpRegion,azureResource:u.extras?.azureResource}),Yn(Nc(u.extras?.customHeaders)),dt(null),E(0),rn(0),U(i.name.length),O(void 0),y("form")}function pn(t=T){let u=$c(Vn,mt),i={provider:it,name:t.name,baseUrl:t.baseUrl,model:t.model,apiKey:t.apiKey,extras:u},l=H?dn(H,i):nn(i,{makeActive:!0});if(!l){O("Could not save provider. Fill all required fields.");return}let d=Q()?.id===l.id;if(d)un(),c((V)=>({...V,mainLoopModel:cn(l.model),mainLoopModelForSession:null}));let b=d?D():null;$();let g=!H&&gn()&&!d,F=g?Q()?.name??"override target":null,q=H?`Updated provider: ${l.name}`:g?`Added provider: ${l.name} (now global default — project keeps using ${F}; use "Clear project provider override" to apply here)`:`Added provider: ${l.name} (now active)`;if(S(b?`${q}. Warning: could not clear startup provider override (${b}).`:q),n==="first-run"){a({action:"saved",activeProfileId:l.id,message:`Provider configured: ${l.name}`});return}Gn(null),E(0),O(void 0),f()}function pa(){if(Z.state==="loading"||Z.state==="idle")return C(w,{flexDirection:"column",gap:1,children:[h(o,{color:"remember",bold:!0,children:"Checking Atomic Chat"}),h(o,{dimColor:!0,children:"Looking for loaded Atomic Chat models..."})]});if(Z.state==="unavailable")return C(w,{flexDirection:"column",gap:1,children:[h(o,{color:"remember",bold:!0,children:"Atomic Chat setup"}),h(o,{dimColor:!0,children:Z.message}),h(G,{options:[{value:"manual",label:"Enter manually",description:"Fill in the base URL and model yourself"},{value:"back",label:"Back",description:"Choose another provider preset"}],onChange:(t)=>{if(t==="manual"){E(0),U(T.name.length),y("form");return}y("select-preset")},onCancel:()=>y("select-preset"),visibleOptionCount:2})]});return C(w,{flexDirection:"column",gap:1,children:[h(o,{color:"remember",bold:!0,children:"Choose an Atomic Chat model"}),h(o,{dimColor:!0,children:"Pick one of the models loaded in Atomic Chat to save into a local provider profile."}),h(G,{options:Z.options,defaultValue:Z.defaultValue,defaultFocusValue:Z.defaultValue,inlineDescriptions:!0,visibleOptionCount:Math.min(8,Z.options.length),onChange:(t)=>{let u={...T,model:t};K(u),pn(u)},onCancel:()=>y("select-preset")})]})}function qa(){if(J.state==="loading"||J.state==="idle")return C(w,{flexDirection:"column",gap:1,children:[h(o,{color:"remember",bold:!0,children:"Checking Ollama"}),h(o,{dimColor:!0,children:"Looking for installed Ollama models..."})]});if(J.state==="unavailable")return C(w,{flexDirection:"column",gap:1,children:[h(o,{color:"remember",bold:!0,children:"Ollama setup"}),h(o,{dimColor:!0,children:J.message}),h(G,{options:[{value:"manual",label:"Enter manually",description:"Fill in the base URL and model yourself"},{value:"back",label:"Back",description:"Choose another provider preset"}],onChange:(t)=>{if(t==="manual"){E(0),U(T.name.length),y("form");return}y("select-preset")},onCancel:()=>y("select-preset"),visibleOptionCount:2})]});return C(w,{flexDirection:"column",gap:1,children:[h(o,{color:"remember",bold:!0,children:"Choose an Ollama model"}),h(o,{dimColor:!0,children:"Pick one of the installed Ollama models to save into a local provider profile."}),h(G,{options:J.options,defaultValue:J.defaultValue,defaultFocusValue:J.defaultValue,inlineDescriptions:!0,visibleOptionCount:Math.min(8,J.options.length),onChange:(t)=>{let u={...T,model:t};K(u),pn(u)},onCancel:()=>y("select-preset")})]})}function Sa(t){let u=t.trim();if(!B.optional&&u.length===0){O(`${B.label} is required.`);return}let i={...T,[_n]:u};if(K(i),O(void 0),x<tn.length-1){let l=x+1,d=tn[l]?.key??"name";E(l),U(i[d].length);return}if((Qn==="anthropic"||Qn==="custom")&&p==="form"){K(i),y("custom-headers");return}pn(i)}function La(){if(O(void 0),x>0){let t=x-1,u=tn[t]?.key??"name";E(t),U(T[u].length);return}if(n==="first-run"){y("select-preset");return}f()}hn("confirm:no",La,{context:"Settings",isActive:p==="form"});function Na(){if(O(void 0),I>0){rn(I-1);return}y("select-preset")}hn("confirm:no",Na,{context:"Settings",isActive:p==="cloud-extras"}),hn("confirm:no",()=>y("form"),{context:"Settings",isActive:p==="custom-headers"}),hn("confirm:no",()=>y("select-preset"),{context:"Settings",isActive:p==="anthropic-auth-choice"||p==="anthropic-oauth"});function $a(){let t=!bn(),u=[...Hn?[{value:"import-legacy",label:"Import from Claude Code",description:"Reuse ~/.claude/ tokens, settings, theme, MCP, skills, agents, plugins."}]:[],{value:"dashscope-intl",label:"Alibaba Coding Plan",description:"Alibaba DashScope International endpoint"},{value:"dashscope-cn",label:"Alibaba Coding Plan (China)",description:"Alibaba DashScope China endpoint"},{value:"anthropic",label:"Anthropic",description:"Native Claude API (x-api-key auth)"},{value:"atomic-chat",label:"Atomic Chat",description:"Local Model Provider"},{value:"azure-openai",label:"Azure OpenAI",description:"Azure OpenAI endpoint (model=deployment name)"},{value:"foundry",label:"Azure AI Foundry",description:"Anthropic models hosted on Azure AI Foundry (resource-scoped)"},{value:"bedrock",label:"AWS Bedrock",description:"Anthropic models on AWS Bedrock (region-scoped, AWS creds)"},{value:"bankr",label:"Bankr",description:"Bankr LLM Gateway (OpenAI-compatible)"},...t?[{value:"codex-oauth",label:"Codex OAuth",description:"Sign in with ChatGPT in your browser and store Codex credentials securely"}]:[],{value:"github-onboard",label:"GitHub Copilot",description:"Sign in with GitHub in your browser to use Copilot models"},{value:"deepseek",label:"DeepSeek",description:"DeepSeek OpenAI-compatible endpoint"},{value:"gemini",label:"Google Gemini",description:"Gemini OpenAI-compatible endpoint"},{value:"vertex",label:"Google Vertex AI",description:"Anthropic models on Vertex AI (project + region, ADC)"},{value:"groq",label:"Groq",description:"Groq OpenAI-compatible endpoint"},{value:"lmstudio",label:"LM Studio",description:"Local LM Studio endpoint"},{value:"minimax",label:"MiniMax",description:"MiniMax API endpoint"},{value:"mistral",label:"Mistral",description:"Mistral OpenAI-compatible endpoint"},{value:"moonshotai",label:"Moonshot AI - API",description:"Moonshot AI - API endpoint"},{value:"kimi-code",label:"Moonshot AI - Kimi Code",description:"Moonshot AI - Kimi Code Subscription endpoint"},{value:"nvidia-nim",label:"NVIDIA NIM",description:"NVIDIA NIM endpoint"},{value:"opencode-go",label:"OpenCode GO",description:"OpenCode GO OpenAI-compatible endpoint"},{value:"opencode-zen",label:"OpenCode Zen",description:"OpenCode Zen OpenAI-compatible endpoint"},{value:"ollama",label:"Ollama",description:"Local or remote Ollama endpoint"},{value:"openai",label:"OpenAI",description:"OpenAI API with API key"},{value:"openrouter",label:"OpenRouter",description:"OpenRouter OpenAI-compatible endpoint"},{value:"together",label:"Together AI",description:"Together chat/completions endpoint"},{value:"custom",label:"Custom",description:"Any OpenAI-compatible provider"},...n==="first-run"?[{value:"skip",label:"Skip for now",description:"Continue with current defaults"}]:[]];return C(w,{flexDirection:"column",gap:1,children:[h(o,{color:"remember",bold:!0,children:n==="first-run"?"Set up provider":"Choose provider preset"}),h(o,{dimColor:!0,children:"Pick a preset, then confirm base URL, model, and API key."}),h(G,{options:u,onChange:(i)=>{if(i==="skip"){kn("Provider setup skipped");return}if(i==="codex-oauth"){y("codex-oauth");return}if(i==="github-onboard"){y("github-onboard");return}if(i==="import-legacy"){(async()=>{let l=await lt({force:!0});Jn(wn()),$();let d=Tn(l);if(l.errors.length>0){O(d);return}let b=Q();if(n==="first-run"&&b){a({action:"saved",activeProfileId:b.id,activeProviderName:b.name,activeProviderModel:b.model,message:d});return}if(S(d),O(void 0),n==="manage")f()})();return}fa(i)},onCancel:()=>{if(n==="first-run"){kn("Provider setup skipped");return}f()},visibleOptionCount:Math.min(13,u.length)})]})}function Ma(){return C(w,{flexDirection:"column",gap:1,children:[h(o,{color:"remember",bold:!0,children:"Anthropic — choose authentication"}),h(o,{dimColor:!0,children:"Sign in with your Anthropic account in the browser, or paste an API key."}),h(G,{options:[{value:"oauth",label:"Sign in with web (OAuth)",description:"Open a browser, sign in to Claude, and store tokens in ~/.claudin/.credentials.json"},{value:"apiKey",label:"Use API key",description:"Paste an x-api-key value (sk-ant-…)"},{value:"back",label:"Back",description:"Choose a different provider"}],onChange:(t)=>{if(t==="oauth"){y("anthropic-oauth");return}if(t==="apiKey"){y("form");return}y("select-preset")},onCancel:()=>y("select-preset"),visibleOptionCount:3})]})}function Ta(){let t=(Rc(),ic(zc)).ConsoleOAuthFlow;return h(w,{flexDirection:"column",gap:1,children:h(t,{mode:"login",onDone:()=>{let u=Fn("anthropic"),i={provider:"anthropic",name:u.name,baseUrl:u.baseUrl,model:u.model},l=nn(i,{makeActive:!0});if(!l){O("OAuth completed, but the Anthropic profile could not be saved."),y("select-preset");return}let d=`Anthropic OAuth configured: ${l.name}`;if($(),n==="first-run"){a({action:"saved",activeProfileId:l.id,message:d});return}S(d),O(void 0),f()}})})}function Fa(){let t=Qn;if(t!=="bedrock"&&t!=="vertex"&&t!=="foundry")return null;let u=Mc[t],i=u[I]??u[0],l=Vn[i.key]??"";function d(b){let g=b.trim();if(g.length===0){O(`${i.label} is required.`);return}let F={...Vn,[i.key]:g};if(On(F),O(void 0),I<u.length-1){rn(I+1);return}rn(0),y("form")}return C(w,{flexDirection:"column",gap:1,children:[h(o,{color:"remember",bold:!0,children:`${t==="bedrock"?"AWS Bedrock":t==="vertex"?"Google Vertex AI":"Azure AI Foundry"} setup`}),h(o,{dimColor:!0,children:i.helpText}),C(o,{dimColor:!0,children:["Step ",I+1," of ",u.length,": ",i.label]}),C(w,{flexDirection:"row",gap:1,children:[h(o,{children:an.pointer}),h(Mn,{value:l,onChange:(b)=>On((g)=>({...g,[i.key]:b})),onSubmit:d,focus:!0,showCursor:!0,placeholder:`${i.placeholder}${an.ellipsis}`,columns:80,cursorOffset:ia,onChangeCursorOffset:ea})]}),j&&h(o,{color:"error",children:j}),h(o,{dimColor:!0,children:"Press Enter to continue. Press Esc to go back."})]})}function Ga(){return C(w,{flexDirection:"column",gap:1,children:[h(o,{color:"remember",bold:!0,children:"Custom headers (optional)"}),C(o,{dimColor:!0,children:["Add HTTP headers sent on every request. One header per line as"," ",h(o,{children:"Header: Value"}),". Leave empty to skip."]}),C(w,{flexDirection:"row",gap:1,children:[h(o,{children:an.pointer}),h(Mn,{value:mt,onChange:Yn,onSubmit:()=>pn(T),focus:!0,showCursor:!0,placeholder:"X-Header: value",columns:80,multiline:!0,cursorOffset:ma,onChangeCursorOffset:da})]}),j&&h(o,{color:"error",children:j}),h(o,{dimColor:!0,children:"Press Enter on a blank line to save. Press Esc to go back."})]})}function Va(){return C(w,{flexDirection:"column",gap:1,children:[h(o,{color:"remember",bold:!0,children:H?"Edit provider profile":"Create provider profile"}),h(o,{dimColor:!0,children:B.helpText}),C(o,{dimColor:!0,children:["Provider type:"," ",it==="anthropic"?"Anthropic native API":"OpenAI-compatible API"]}),C(o,{dimColor:!0,children:["Step ",x+1," of ",tn.length,": ",B.label]}),C(w,{flexDirection:"row",gap:1,children:[h(o,{children:an.pointer}),h(Mn,{value:za,onChange:(t)=>K((u)=>({...u,[_n]:t})),onSubmit:Sa,focus:!0,showCursor:!0,placeholder:`${B.placeholder}${an.ellipsis}`,mask:_n==="apiKey"?"*":void 0,columns:80,cursorOffset:sa,onChangeCursorOffset:U})]}),j&&h(o,{color:"error",children:j}),h(o,{dimColor:!0,children:"Press Enter to continue. Press Esc to go back."})]})}function Ya(){let t=r.length>0,u=t;return C(w,{flexDirection:"column",gap:1,children:[h(o,{color:"remember",bold:!0,children:"Provider manager"}),h(o,{dimColor:!0,children:"Active profile controls base URL, model, and API key used by this session."}),st&&h(o,{children:st}),h(w,{flexDirection:"column",children:r.length===0?h(o,{dimColor:!0,children:"No provider profiles configured yet."}):r.map((i)=>C(o,{dimColor:!0,children:["- ",i.name,": ",Tc(i,i.id===m)]},i.id))}),h(G,{options:bt,onChange:(i)=>{switch(O(void 0),i){case"add":y("select-preset");break;case"import-legacy":{(async()=>{let l=await lt({force:!0});if(Jn(wn()),$(),l.errors.length>0)O(Tn(l));else S(Tn(l))})();break}case"activate":if(u)y("select-active");break;case"activate-project":if(u)y("select-active-project");break;case"clear-project-override":Aa();break;case"edit":if(t)y("select-edit");break;case"delete":if(u)y("select-delete");break;case"logout-codex-oauth":{let l=rt();if(!l.success){O(l.warning??"Could not clear Codex OAuth credentials.");break}zn(!1),en(void 0);let d=at(P(),ln),b=null;if(d){let g=ht(d.id);if(!g.removed){O("Codex OAuth credentials were cleared, but the Codex profile could not be removed."),$();break}gt(),b=g.activeProfileId?D():null}$(),S(b?`Codex OAuth logged out. Warning: could not clear startup provider override (${b}).`:"Codex OAuth logged out.");break}default:kn("Provider manager closed");break}},onCancel:()=>kn("Provider manager closed"),defaultFocusValue:ya,visibleOptionCount:bt.length})]})}function qn(t,u,i){let l=r.map((d)=>{let b=[];if(d.id===m)b.push("active");if(z&&d.id===z)b.push("this project");if(N&&d.id===N)b.push("global default");let g=b.length>0?` (${b.join(", ")})`:"";return{value:d.id,label:`${d.name}${g}`,description:`${d.provider==="anthropic"?"anthropic":"openai-compatible"} · ${d.baseUrl} · ${d.model}`}});if(l.length===0)return C(w,{flexDirection:"column",gap:1,children:[h(o,{color:"remember",bold:!0,children:t}),h(o,{dimColor:!0,children:u}),h(G,{options:[{value:"back",label:"Back",description:"Return to provider manager"}],onChange:()=>f(),onCancel:()=>f(),visibleOptionCount:1})]});return C(w,{flexDirection:"column",gap:1,children:[h(o,{color:"remember",bold:!0,children:t}),h(G,{options:l,onChange:i,onCancel:()=>f(),visibleOptionCount:Math.min(10,Math.max(2,l.length))})]})}let M;switch(p){case"select-preset":M=$a();break;case"select-ollama-model":M=qa();break;case"select-atomic-chat-model":M=pa();break;case"codex-oauth":M=h(Vc,{onBack:()=>y("select-preset"),onConfigured:async(t,u)=>{let i={provider:"openai",name:kc,baseUrl:na,model:pc,apiKey:""},l=at(P(),ln),d=l?dn(l.id,i):nn(i,{makeActive:!0});if(!d){O("Codex OAuth login finished, but the provider profile could not be saved."),f();return}let b=l&&m!==d.id?sn(d.id):d;if(!b){O("Codex OAuth login finished, but the provider could not be set as the startup provider."),f();return}u({profileId:d.id});let g=D(),F=await Un(t);zn(!0),en(d.id),$();let q=[F,g?`could not clear startup provider override (${g})`:null].filter((X)=>Boolean(X)),V=En({prefix:"Codex OAuth configured",activationWarning:F,warnings:q});if(n==="first-run"){a({action:"saved",activeProfileId:b.id,message:V});return}S(V),O(void 0),f()}});break;case"github-onboard":M=h(St,{onDone:(t)=>{if(t)S(t),O(void 0);$(),f()},onBack:()=>y("select-preset"),onChangeAPIKey:$});break;case"anthropic-auth-choice":M=Ma();break;case"anthropic-oauth":M=Ta();break;case"cloud-extras":M=Fa();break;case"custom-headers":M=Ga();break;case"form":M=Va();break;case"select-active":M=qn("Set active provider (Global)","No providers available. Add one first.",(t)=>{Ra(t)});break;case"select-active-project":M=qn("Set active provider (Project)","No providers available. Add one first.",(t)=>{_a(t)});break;case"select-edit":M=qn("Edit provider","No providers available. Add one first.",(t)=>{ka(t)});break;case"select-delete":M=qn("Delete provider","No providers available. Add one first.",(t)=>{let u=r.find((g)=>g.id===t),i=u?.provider==="openai"&&u?.extras?.githubToken!==void 0,l=at(r,ln)?.id===t,d=Q()?.id===t,b=ht(t);if(!b.removed)O("Could not delete provider.");else{let g=[];if(l){let q=rt();if(!q.success)g.push(q.warning??"could not clear Codex OAuth credentials");else en(void 0);gt()}if(i){let q=aa();if(!q.success)g.push(q.warning??"could not clear GitHub Copilot token")}let F=b.activeProfileId?D():null;if(F)g.push(`could not clear startup provider override (${F})`);if($(),d){let q=Q();if(q)un(),c((V)=>({...V,mainLoopModel:cn(q.model),mainLoopModelForSession:null}));else un(),c((V)=>({...V,mainLoopModel:null,mainLoopModelForSession:null}))}S(g.length>0?`Provider deleted. Warning: ${g.join("; ")}.`:"Provider deleted")}f()});break;case"menu":default:M=Ya();break}return C(ta,{color:"permission",children:[h(la,{enabled:Ct,onDismiss:(t)=>{Jn(wn()),Oa(!1),$();let u=Q();if(t==="migrated"&&n==="first-run"&&u)a({action:"saved",activeProfileId:u.id,activeProviderName:u.name,activeProviderModel:u.model})}}),Ct?null:ba?C(w,{flexDirection:"column",gap:1,children:[h(o,{color:"remember",bold:!0,children:"Loading providers..."}),h(o,{dimColor:!0,children:"Reading provider profiles from disk."})]}):wa?C(w,{flexDirection:"column",gap:1,children:[h(o,{color:"remember",bold:!0,children:"Activating provider..."}),h(o,{dimColor:!0,children:"Please wait while the provider is being configured."})]}):M]})}var s,tn,kc="Codex OAuth",pc="codexplan",Mc;var Yc=v(()=>{ec();Lt();dc();Ot();sc();bc();Ac();It();Wt();mc();Cc();wt();pt();gc();Tt();Ft();Oc();yc();fc();wc();Bt();_c();Sn();s=Pn(In(),1),tn=[{key:"name",label:"Provider name",placeholder:"e.g. Ollama Home, OpenAI Work",helpText:"A short label shown in /provider and startup setup."},{key:"baseUrl",label:"Base URL",placeholder:"e.g. http://localhost:11434/v1",helpText:"API base URL used for this provider profile."},{key:"model",label:"Default model",placeholder:"e.g. llama3.1:8b or glm-4.7; glm-4.7-flash",helpText:'Model name(s) to use. Separate multiple with ";" or ","; first is default.'},{key:"apiKey",label:"API key",placeholder:"Leave empty if your provider does not require one",helpText:"Optional. Press Enter with empty value to skip.",optional:!0}];Mc={bedrock:[{key:"awsRegion",label:"AWS region",placeholder:"e.g. us-east-1",helpText:"Region of your Bedrock-enabled AWS account. Credentials are picked up from the AWS SDK chain."}],vertex:[{key:"gcpProject",label:"GCP project ID",placeholder:"e.g. my-project-123456",helpText:"Google Cloud project where Vertex AI is enabled. Credentials are picked up from ADC."},{key:"gcpRegion",label:"GCP region",placeholder:"e.g. us-central1",helpText:"Vertex AI region for the model."}],foundry:[{key:"azureResource",label:"Azure resource",placeholder:"e.g. my-foundry-resource",helpText:"Name of your Azure AI Foundry resource. Credentials are picked up from DefaultAzureCredential."}]}});
50
- export{Bn as yc,Ft as zc,Lc as Ac,ku as Bc,Yc as Cc};
@@ -1,2 +0,0 @@
1
- import{id as z,jd as K}from"./cli-0.5.8-rtmc93gs.mjs";import{LG as w,NG as J}from"./cli-0.5.8-4hvxb5dp.mjs";import{_Y as H}from"./cli-0.5.8-6epmns99.mjs";import{vna as E,zna as G}from"./cli-0.5.8-hkfwdsmy.mjs";function V(q,v,k){return B.useMemo(()=>{let D=w(k,v);return z(q,D,k.mode)},[q,v,k,!1,!1])}var B;var N=G(()=>{J();K();B=E(H(),1)});
2
- export{V as ed,N as fd};
@@ -1,3 +0,0 @@
1
- import{Qg as d,Rg as Vq}from"./cli-0.5.8-4yyy85fr.mjs";import{PP as Oq,hO as a,jO as yq,nP as l}from"./cli-0.5.8-4hvxb5dp.mjs";import{RW as T,TW as R,lX as $,wX as Gq,yV as Zq}from"./cli-0.5.8-nwe7yne9.mjs";import{nY as t,pY as v,sY as e}from"./cli-0.5.8-je6yq94p.mjs";import{XY as P,YY as N,ZY as S}from"./cli-0.5.8-zkn5gecs.mjs";import{_Y as Yq}from"./cli-0.5.8-6epmns99.mjs";import{vZ as u,wZ as Aq}from"./cli-0.5.8-cm551a1y.mjs";import{$5 as G,G7 as j,a8 as s,b6 as o}from"./cli-0.5.8-qf19nfhv.mjs";import{yda as w,zda as r}from"./cli-0.5.8-w7g735pf.mjs";import{ofa as L,rfa as n}from"./cli-0.5.8-xs1gy1tk.mjs";import{Rfa as c,Yfa as Xq}from"./cli-0.5.8-959n5v33.mjs";import{Jla as i,Sha as f}from"./cli-0.5.8-bhc8vwxd.mjs";import{vna as I,zna as h}from"./cli-0.5.8-hkfwdsmy.mjs";import{readdir as qq}from"fs/promises";import{join as zq}from"path";function _(){let H=[process.argv[1]||"",process.execPath||""],q=["/build-ant/","/build-ant-native/","/build-external/","/build-external-native/"];return H.some((z)=>q.some((Q)=>z.includes(Q)))}function Jq(H){let q=_()?"claude-dev":"claude",z=new URL(`${q}://resume`);return z.searchParams.set("session",H),z.searchParams.set("cwd",w()),z.toString()}async function g(){if(_())return!0;let H=process.platform;if(H==="darwin")return j("/Applications/Claude.app");else if(H==="linux"){let{code:q,stdout:z}=await G("xdg-mime",["query","default","x-scheme-handler/claude"]);return q===0&&z.trim().length>0}else if(H==="win32"){let{code:q}=await G("reg",["query","HKEY_CLASSES_ROOT\\claude","/ve"]);return q===0}return!1}async function Qq(){let H=process.platform;if(H==="darwin"){let{code:q,stdout:z}=await G("defaults",["read","/Applications/Claude.app/Contents/Info.plist","CFBundleShortVersionString"]);if(q!==0)return null;let Q=z.trim();return Q.length>0?Q:null}else if(H==="win32"){let q=process.env.LOCALAPPDATA;if(!q)return null;let z=zq(q,"AnthropicClaude");try{let Y=(await qq(z)).filter((W)=>W.startsWith("app-")).map((W)=>W.slice(4)).filter((W)=>K.coerce(W)!==null).sort((W,B)=>{let V=K.coerce(W),y=K.coerce(B);return V.compare(y)});return Y.length>0?Y[Y.length-1]:null}catch{return null}}return null}async function x(){if(!await g())return{status:"not-installed"};let q;try{q=await Qq()}catch{return{status:"ready",version:"unknown"}}if(!q)return{status:"ready",version:"unknown"};let z=K.coerce(q);if(!z||!v(z.version,Hq))return{status:"version-too-old",version:q};return{status:"ready",version:q}}async function Wq(H){let q=process.platform;if(L(`Opening deep link: ${H}`),q==="darwin"){if(_()){let{code:Q}=await G("osascript",["-e",`tell application "Electron" to open location "${H}"`]);return Q===0}let{code:z}=await G("open",[H]);return z===0}else if(q==="linux"){let{code:z}=await G("xdg-open",[H]);return z===0}else if(q==="win32"){let{code:z}=await G("cmd",["/c","start","",H]);return z===0}return!1}async function m(){let H=f();if(!await g())return{success:!1,error:"Claude Desktop is not installed. Install it from https://claude.ai/download"};let z=Jq(H);if(!await Wq(z))return{success:!1,error:"Failed to open Claude Desktop. Please try opening it manually.",deepLinkUrl:z};return{success:!0,deepLinkUrl:z}}var K,Hq="1.1.2396";var k=h(()=>{i();r();n();o();s();e();K=I(t(),1)});function Kq(){switch(process.platform){case"win32":return"https://claude.ai/api/desktop/win32/x64/exe/latest/redirect";default:return"https://claude.ai/api/desktop/darwin/universal/dmg/latest/redirect"}}function mq(H){let q=p.c(20),{onDone:z}=H,[Q,Y]=A.useState("checking"),[W,B]=A.useState(null),[V,y]=A.useState(""),O;if(q[0]!==W||q[1]!==z||q[2]!==Q)O=(J)=>{if(Q==="error"){z(W??"Unknown error",{display:"system"});return}if(Q==="prompt-download"){if(J==="y"||J==="Y")u(Kq()).catch(Rq),z(`Starting download. Re-run /desktop once you’ve installed the app.
2
- Learn more at ${D}`,{display:"system"});else if(J==="n"||J==="N")z(`The desktop app is required for /desktop. Learn more at ${D}`,{display:"system"})}},q[0]=W,q[1]=z,q[2]=Q,q[3]=O;else O=q[3];$(O);let E,F;if(q[4]!==z)E=()=>{(async function(){Y("checking");let X=await x();if(X.status==="not-installed"){y("Claude Desktop is not installed."),Y("prompt-download");return}if(X.status==="version-too-old"){y(`Claude Desktop needs to be updated (found v${X.version}, need v1.1.2396+).`),Y("prompt-download");return}Y("flushing"),await l(),Y("opening");let U=await m();if(!U.success){B(U.error??"Failed to open Claude Desktop"),Y("error");return}Y("success"),setTimeout(Pq,500,z)})().catch((Z)=>{B(c(Z)),Y("error")})},F=[z],q[4]=z,q[5]=E,q[6]=F;else E=q[5],F=q[6];if(A.useEffect(E,F),Q==="error"){let J;if(q[7]!==W)J=N(R,{color:"error",children:["Error: ",W]}),q[7]=W,q[8]=J;else J=q[8];let Z;if(q[9]===Symbol.for("react.memo_cache_sentinel"))Z=P(R,{dimColor:!0,children:"Press any key to continue…"}),q[9]=Z;else Z=q[9];let X;if(q[10]!==J)X=N(T,{flexDirection:"column",paddingX:2,children:[J,Z]}),q[10]=J,q[11]=X;else X=q[11];return X}if(Q==="prompt-download"){let J;if(q[12]!==V)J=P(R,{children:V}),q[12]=V,q[13]=J;else J=q[13];let Z;if(q[14]===Symbol.for("react.memo_cache_sentinel"))Z=P(R,{children:"Download now? (y/n)"}),q[14]=Z;else Z=q[14];let X;if(q[15]!==J)X=N(T,{flexDirection:"column",paddingX:2,children:[J,Z]}),q[15]=J,q[16]=X;else X=q[16];return X}let C;if(q[17]===Symbol.for("react.memo_cache_sentinel"))C={checking:"Checking for Claude Desktop…",flushing:"Saving session…",opening:"Opening Claude Desktop…",success:"Opening in Claude Desktop…"},q[17]=C;else C=q[17];let b=C[Q],M;if(q[18]!==b)M=P(d,{message:b}),q[18]=b,q[19]=M;else M=q[19];return M}async function Pq(H){H("Session transferred to Claude Desktop",{display:"system"}),await a(0,"other")}function Rq(){}var p,A,D="https://clau.de/desktop";var Bq=h(()=>{Gq();Aq();k();Xq();yq();Oq();Vq();S();p=I(Zq(),1),A=I(Yq(),1)});
3
- export{mq as Og,Bq as Pg};
@@ -1,2 +0,0 @@
1
- import{nh as G,ph as m}from"./cli-0.5.8-r3r9r1x8.mjs";import{qh as H,rh as C}from"./cli-0.5.8-9ffdsmw1.mjs";import{mZ as X,oZ as Y,tZ as R}from"./cli-0.5.8-5a9k7mja.mjs";import{vZ as k,wZ as y}from"./cli-0.5.8-cm551a1y.mjs";import{C3 as f,WZ as w,XZ as E,n3 as B}from"./cli-0.5.8-rddkqxh8.mjs";import{Kba as Q,Sba as D,U$ as S,X$ as j,paa as x}from"./cli-0.5.8-qf19nfhv.mjs";import{kea as V,lea as b}from"./cli-0.5.8-qdnr3r07.mjs";import{Ama as I,ima as W}from"./cli-0.5.8-fmyr9f7x.mjs";import{zna as Z}from"./cli-0.5.8-hkfwdsmy.mjs";async function _(L){let{accessToken:N,orgUUID:P}=await X(),K={...Y(N),"x-organization-uuid":P},J=`${V().BASE_API_URL}/api/oauth/organizations/${P}/admin_requests`;return(await W.post(J,L,{headers:K})).data}async function $(L,N){let{accessToken:P,orgUUID:K}=await X(),J={...Y(P),"x-organization-uuid":K},F=`${V().BASE_API_URL}/api/oauth/organizations/${K}/admin_requests/me?request_type=${L}`;for(let v of N)F+=`&statuses=${v}`;return(await W.get(F,{headers:J})).data}async function z(L){let{accessToken:N,orgUUID:P}=await X(),K={...Y(N),"x-organization-uuid":P},J=`${V().BASE_API_URL}/api/oauth/organizations/${P}/admin_requests/eligibility?request_type=${L}`;return(await W.get(J,{headers:K})).data}var M=Z(()=>{I();b();R()});async function i(){if(!j().hasVisitedExtraUsage)S((J)=>({...J,hasVisitedExtraUsage:!0}));G();let L=B(),N=L==="team"||L==="enterprise";if(!w()&&N){let J;try{J=(await H())?.extra_usage}catch(F){Q(F)}if(J?.is_enabled&&J.monthly_limit===null)return{type:"message",value:"Your organization already has unlimited extra usage. No request needed."};try{if((await z("limit_increase"))?.is_allowed===!1)return{type:"message",value:"Please contact your admin to manage extra usage settings."}}catch(F){Q(F)}try{let F=await $("limit_increase",["pending","dismissed"]);if(F&&F.length>0)return{type:"message",value:"You have already submitted a request for extra usage to your admin."}}catch(F){Q(F)}try{return await _({request_type:"limit_increase",details:null}),{type:"message",value:J?.is_enabled?"Request sent to your admin to increase extra usage.":"Request sent to your admin to enable extra usage."}}catch(F){Q(F)}return{type:"message",value:"Please contact your admin to manage extra usage settings."}}let K=N?"https://claude.ai/admin-settings/usage":"https://claude.ai/settings/usage";try{let J=await k(K);return{type:"browser-opened",url:K,opened:J}}catch(J){return Q(J),{type:"message",value:`Failed to open browser. Please visit ${K} to manage extra usage.`}}}var A=Z(()=>{M();m();C();f();E();y();x();D()});
2
- export{i as kh,A as lh};
@@ -1,2 +0,0 @@
1
- import{ne as R,pe as d}from"./cli-0.5.8-tc6ssmvg.mjs";import{CU as j,FU as c}from"./cli-0.5.8-p72phgsn.mjs";import{ofa as K,rfa as D}from"./cli-0.5.8-xs1gy1tk.mjs";import{Rfa as C,Yfa as h}from"./cli-0.5.8-959n5v33.mjs";import{Ana as J,zna as I}from"./cli-0.5.8-hkfwdsmy.mjs";async function i({environmentId:X,title:Q,events:q,gitRepoUrl:$,branch:Y,signal:z,baseUrl:G,getAccessToken:L,permissionMode:W}){let{getClaudeAIOAuthTokens:B}=await import("./auth-0.5.8-70ks8nc4.mjs"),{getOrganizationUUID:Z}=await import("./client-0.5.8-9axd4w58.mjs"),{getOauthConfig:V}=await import("./oauth-0.5.8-n75mrvf3.mjs"),{getOAuthHeaders:P}=await import("./api-0.5.8-pcde65dc.mjs"),{parseGitHubRepository:N}=await import("./detectRepository-0.5.8-rwc4rjfg.mjs"),{getDefaultBranch:_}=await import("./git-0.5.8-vvd1b8x0.mjs"),{getMainLoopModel:M}=await import("./model-0.5.8-aqzt03nd.mjs"),{default:T}=await import("./index-0.5.8-hr8aqgvc.mjs"),x=L?.()??B()?.accessToken;if(!x)return K("[bridge] No access token for session creation"),null;let k=await Z();if(!k)return K("[bridge] No org UUID for session creation"),null;let E=null,v=null;if($){let{parseGitRemote:y}=await import("./detectRepository-0.5.8-rwc4rjfg.mjs"),O=y($);if(O){let{host:A,owner:S,name:f}=O,F=Y||await _()||void 0;E={type:"git_repository",url:`https://${A}/${S}/${f}`,revision:F},v={type:"git_repository",git_info:{type:"github",repo:`${S}/${f}`,branches:[`claude/${Y||"task"}`]}}}else{let A=N($);if(A){let[S,f]=A.split("/");if(S&&f){let F=Y||await _()||void 0;E={type:"git_repository",url:`https://github.com/${S}/${f}`,revision:F},v={type:"git_repository",git_info:{type:"github",repo:`${S}/${f}`,branches:[`claude/${Y||"task"}`]}}}}}}let m={...Q!==void 0&&{title:Q},events:q,session_context:{sources:E?[E]:[],outcomes:v?[v]:[],model:M()},environment_id:X,source:"remote-control",...W&&{permission_mode:W}},U={...P(x),"anthropic-beta":"ccr-byoc-2025-07-29","x-organization-uuid":k},b=`${G??V().BASE_API_URL}/v1/sessions`,H;try{H=await T.post(b,m,{headers:U,signal:z,validateStatus:(y)=>y<500})}catch(y){return K(`[bridge] Session creation request failed: ${C(y)}`),null}if(!(H.status===200||H.status===201)){let y=R(H.data);return K(`[bridge] Session creation failed with status ${H.status}${y?`: ${y}`:""}`),null}let w=H.data;if(!w||typeof w!=="object"||!("id"in w)||typeof w.id!=="string")return K("[bridge] No session ID in response"),null;return w.id}async function r(X,Q){let{getClaudeAIOAuthTokens:q}=await import("./auth-0.5.8-70ks8nc4.mjs"),{getOrganizationUUID:$}=await import("./client-0.5.8-9axd4w58.mjs"),{getOauthConfig:Y}=await import("./oauth-0.5.8-n75mrvf3.mjs"),{getOAuthHeaders:z}=await import("./api-0.5.8-pcde65dc.mjs"),{default:G}=await import("./index-0.5.8-hr8aqgvc.mjs"),L=Q?.getAccessToken?.()??q()?.accessToken;if(!L)return K("[bridge] No access token for session fetch"),null;let W=await $();if(!W)return K("[bridge] No org UUID for session fetch"),null;let B={...z(L),"anthropic-beta":"ccr-byoc-2025-07-29","x-organization-uuid":W},Z=`${Q?.baseUrl??Y().BASE_API_URL}/v1/sessions/${X}`,V=1e4;K(`[bridge] Fetching session ${X}`);let P;try{P=await G.get(Z,{headers:B,timeout:V,validateStatus:(N)=>N<500})}catch(N){if(G.isAxiosError(N)){let _=N.response?.status??"no-response",M=N.code??"unknown-code",T=N.config?.url??Z,x=N.config?.method?.toUpperCase()??"GET",k=N.message??C(N),E=N.config?.timeout??V;K(`[bridge] Session fetch request failed: status=${_} code=${M} method=${x} url=${T} timeout=${E} message=${k}`)}else K(`[bridge] Session fetch request failed: url=${Z} timeout=${V} message=${C(N)}`);return null}if(P.status!==200){let N=R(P.data);return K(`[bridge] Session fetch failed with status ${P.status} url=${Z}${N?`: ${N}`:""}`),null}return P.data}async function t(X,Q){let{getClaudeAIOAuthTokens:q}=await import("./auth-0.5.8-70ks8nc4.mjs"),{getOrganizationUUID:$}=await import("./client-0.5.8-9axd4w58.mjs"),{getOauthConfig:Y}=await import("./oauth-0.5.8-n75mrvf3.mjs"),{getOAuthHeaders:z}=await import("./api-0.5.8-pcde65dc.mjs"),{default:G}=await import("./index-0.5.8-hr8aqgvc.mjs"),L=Q?.getAccessToken?.()??q()?.accessToken;if(!L){K("[bridge] No access token for session archive");return}let W=await $();if(!W){K("[bridge] No org UUID for session archive");return}let B={...z(L),"anthropic-beta":"ccr-byoc-2025-07-29","x-organization-uuid":W},Z=`${Q?.baseUrl??Y().BASE_API_URL}/v1/sessions/${X}/archive`;K(`[bridge] Archiving session ${X}`);let V=await G.post(Z,{},{headers:B,timeout:Q?.timeoutMs??1e4,validateStatus:(P)=>P<500});if(V.status===200)K(`[bridge] Session ${X} archived successfully`);else{let P=R(V.data);K(`[bridge] Session archive failed with status ${V.status}${P?`: ${P}`:""}`)}}async function o(X,Q,q){let{getClaudeAIOAuthTokens:$}=await import("./auth-0.5.8-70ks8nc4.mjs"),{getOrganizationUUID:Y}=await import("./client-0.5.8-9axd4w58.mjs"),{getOauthConfig:z}=await import("./oauth-0.5.8-n75mrvf3.mjs"),{getOAuthHeaders:G}=await import("./api-0.5.8-pcde65dc.mjs"),{default:L}=await import("./index-0.5.8-hr8aqgvc.mjs"),W=q?.getAccessToken?.()??$()?.accessToken;if(!W){K("[bridge] No access token for session title update");return}let B=await Y();if(!B){K("[bridge] No org UUID for session title update");return}let Z={...G(W),"anthropic-beta":"ccr-byoc-2025-07-29","x-organization-uuid":B},V=j(X),P=`${q?.baseUrl??z().BASE_API_URL}/v1/sessions/${V}`;K(`[bridge] Updating session title: ${V} → ${Q}`);try{let N=await L.patch(P,{title:Q},{headers:Z,timeout:1e4,validateStatus:(_)=>_<500});if(N.status===200)K("[bridge] Session title updated successfully");else{let _=R(N.data);K(`[bridge] Session title update failed with status ${N.status}${_?`: ${_}`:""}`)}}catch(N){K(`[bridge] Session title update request failed: ${C(N)}`)}}var p=I(()=>{D();h();d();c()});
2
- export{i as fe,r as ge,t as he,o as ie,p as je};