@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
@@ -0,0 +1,6 @@
1
+ import{Lna as j}from"./cli-0.5.9-ysvsqcpa.mjs";function c(){let q=new Map;for(let[V,z]of Object.entries(J)){for(let[D,H]of Object.entries(z))J[D]={open:`\x1B[${H[0]}m`,close:`\x1B[${H[1]}m`},z[D]=J[D],q.set(H[0],H[1]);Object.defineProperty(J,V,{value:z,enumerable:!1})}return Object.defineProperty(J,"codes",{value:q,enumerable:!1}),J.color.close="\x1B[39m",J.bgColor.close="\x1B[49m",J.color.ansi=M(),J.color.ansi256=Y(),J.color.ansi16m=k(),J.bgColor.ansi=M(10),J.bgColor.ansi256=Y(10),J.bgColor.ansi16m=k(10),Object.defineProperties(J,{rgbToAnsi256:{value(V,z,D){if(V===z&&z===D){if(V<8)return 16;if(V>248)return 231;return Math.round((V-8)/247*24)+232}return 16+36*Math.round(V/255*5)+6*Math.round(z/255*5)+Math.round(D/255*5)},enumerable:!1},hexToRgb:{value(V){let z=/[a-f\d]{6}|[a-f\d]{3}/i.exec(V.toString(16));if(!z)return[0,0,0];let[D]=z;if(D.length===3)D=[...D].map((Q)=>Q+Q).join("");let H=Number.parseInt(D,16);return[H>>16&255,H>>8&255,H&255]},enumerable:!1},hexToAnsi256:{value:(V)=>J.rgbToAnsi256(...J.hexToRgb(V)),enumerable:!1},ansi256ToAnsi:{value(V){if(V<8)return 30+V;if(V<16)return 90+(V-8);let z,D,H;if(V>=232)z=((V-232)*10+8)/255,D=z,H=z;else{V-=16;let N=V%36;z=Math.floor(V/36)/5,D=Math.floor(N/6)/5,H=N%6/5}let Q=Math.max(z,D,H)*2;if(Q===0)return 30;let U=30+(Math.round(H)<<2|Math.round(D)<<1|Math.round(z));if(Q===2)U+=60;return U},enumerable:!1},rgbToAnsi:{value:(V,z,D)=>J.ansi256ToAnsi(J.rgbToAnsi256(V,z,D)),enumerable:!1},hexToAnsi:{value:(V)=>J.ansi256ToAnsi(J.hexToAnsi256(V)),enumerable:!1}}),J}var M=(q=0)=>(V)=>`\x1B[${V+q}m`,Y=(q=0)=>(V)=>`\x1B[${38+q};5;${V}m`,k=(q=0)=>(V,z,D)=>`\x1B[${38+q};2;${V};${z};${D}m`,J,V1,u,m,q1,p,X;var R=j(()=>{J={modifier:{reset:[0,0],bold:[1,22],dim:[2,22],italic:[3,23],underline:[4,24],overline:[53,55],inverse:[7,27],hidden:[8,28],strikethrough:[9,29]},color:{black:[30,39],red:[31,39],green:[32,39],yellow:[33,39],blue:[34,39],magenta:[35,39],cyan:[36,39],white:[37,39],blackBright:[90,39],gray:[90,39],grey:[90,39],redBright:[91,39],greenBright:[92,39],yellowBright:[93,39],blueBright:[94,39],magentaBright:[95,39],cyanBright:[96,39],whiteBright:[97,39]},bgColor:{bgBlack:[40,49],bgRed:[41,49],bgGreen:[42,49],bgYellow:[43,49],bgBlue:[44,49],bgMagenta:[45,49],bgCyan:[46,49],bgWhite:[47,49],bgBlackBright:[100,49],bgGray:[100,49],bgGrey:[100,49],bgRedBright:[101,49],bgGreenBright:[102,49],bgYellowBright:[103,49],bgBlueBright:[104,49],bgMagentaBright:[105,49],bgCyanBright:[106,49],bgWhiteBright:[107,49]}},V1=Object.keys(J.modifier),u=Object.keys(J.color),m=Object.keys(J.bgColor),q1=[...u,...m];p=c(),X=p});import I from"node:process";import d from"node:os";import E from"node:tty";function W(q,V=globalThis.Deno?globalThis.Deno.args:I.argv){let z=q.startsWith("-")?"":q.length===1?"-":"--",D=V.indexOf(z+q),H=V.indexOf("--");return D!==-1&&(H===-1||D<H)}function y(){if("FORCE_COLOR"in K){if(K.FORCE_COLOR==="true")return 1;if(K.FORCE_COLOR==="false")return 0;return K.FORCE_COLOR.length===0?1:Math.min(Number.parseInt(K.FORCE_COLOR,10),3)}}function g(q){if(q===0)return!1;return{level:q,hasBasic:!0,has256:q>=2,has16m:q>=3}}function i(q,{streamIsTTY:V,sniffFlags:z=!0}={}){let D=y();if(D!==void 0)B=D;let H=z?B:D;if(H===0)return 0;if(z){if(W("color=16m")||W("color=full")||W("color=truecolor"))return 3;if(W("color=256"))return 2}if("TF_BUILD"in K&&"AGENT_NAME"in K)return 1;if(q&&!V&&H===void 0)return 0;let Q=H||0;if(K.TERM==="dumb")return Q;if(I.platform==="win32"){let U=d.release().split(".");if(Number(U[0])>=10&&Number(U[2])>=10586)return Number(U[2])>=14931?3:2;return 1}if("CI"in K){if(["GITHUB_ACTIONS","GITEA_ACTIONS","CIRCLECI"].some((U)=>(U in K)))return 3;if(["TRAVIS","APPVEYOR","GITLAB_CI","BUILDKITE","DRONE"].some((U)=>(U in K))||K.CI_NAME==="codeship")return 1;return Q}if("TEAMCITY_VERSION"in K)return/^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(K.TEAMCITY_VERSION)?1:0;if(K.COLORTERM==="truecolor")return 3;if(K.TERM==="xterm-kitty")return 3;if(K.TERM==="xterm-ghostty")return 3;if(K.TERM==="wezterm")return 3;if("TERM_PROGRAM"in K){let U=Number.parseInt((K.TERM_PROGRAM_VERSION||"").split(".")[0],10);switch(K.TERM_PROGRAM){case"iTerm.app":return U>=3?3:2;case"Apple_Terminal":return 2}}if(/-256(color)?$/i.test(K.TERM))return 2;if(/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(K.TERM))return 1;if("COLORTERM"in K)return 1;return Q}function T(q,V={}){let z=i(q,{streamIsTTY:q&&q.isTTY,...V});return g(z)}var K,B,a,A;var C=j(()=>{({env:K}=I);if(W("no-color")||W("no-colors")||W("color=false")||W("color=never"))B=0;else if(W("color")||W("colors")||W("color=true")||W("color=always"))B=1;a={stdout:T({isTTY:E.isatty(1)}),stderr:T({isTTY:E.isatty(2)})},A=a});function F(q,V,z){let D=q.indexOf(V);if(D===-1)return q;let H=V.length,Q=0,U="";do U+=q.slice(Q,D)+V+z,Q=D+H,D=q.indexOf(V,Q);while(D!==-1);return U+=q.slice(Q),U}function _(q,V,z,D){let H=0,Q="";do{let U=q[D-1]==="\r";Q+=q.slice(H,U?D-1:D)+V+(U?`\r
2
+ `:`
3
+ `)+z,H=D+1,D=q.indexOf(`
4
+ `,H)}while(D!==-1);return Q+=q.slice(H),Q}var b=()=>{};class o{constructor(q){return v(q)}}function G(q){return v(q)}var S,h,L,Z,O,f,$,n=(q,V={})=>{if(V.level&&!(Number.isInteger(V.level)&&V.level>=0&&V.level<=3))throw Error("The `level` option should be an integer from 0 to 3");let z=S?S.level:0;q.level=V.level===void 0?z:V.level},v=(q)=>{let V=(...z)=>z.join(" ");return n(V,q),Object.setPrototypeOf(V,G.prototype),V},P=(q,V,z,...D)=>{if(q==="rgb"){if(V==="ansi16m")return X[z].ansi16m(...D);if(V==="ansi256")return X[z].ansi256(X.rgbToAnsi256(...D));return X[z].ansi(X.rgbToAnsi(...D))}if(q==="hex")return P("rgb",V,z,...X.hexToRgb(...D));return X[z][q](...D)},t,r,x=(q,V,z)=>{let D,H;if(z===void 0)D=q,H=V;else D=z.openAll+q,H=V+z.closeAll;return{open:q,close:V,openAll:D,closeAll:H,parent:z}},w=(q,V,z)=>{let D=(...H)=>l(D,H.length===1?""+H[0]:H.join(" "));return Object.setPrototypeOf(D,r),D[L]=q,D[Z]=V,D[O]=z,D},l=(q,V)=>{if(q.level<=0||!V)return q[O]?"":V;let z=q[Z];if(z===void 0)return V;let{openAll:D,closeAll:H}=z;if(V.includes("\x1B"))while(z!==void 0)V=F(V,z.close,z.open),z=z.parent;let Q=V.indexOf(`
5
+ `);if(Q!==-1)V=_(V,H,D,Q);return D+V+H},s,Z1,O1;var e=j(()=>{R();C();b();({stdout:S,stderr:h}=A),L=Symbol("GENERATOR"),Z=Symbol("STYLER"),O=Symbol("IS_EMPTY"),f=["ansi","ansi","ansi256","ansi16m"],$=Object.create(null);Object.setPrototypeOf(G.prototype,Function.prototype);for(let[q,V]of Object.entries(X))$[q]={get(){let z=w(this,x(V.open,V.close,this[Z]),this[O]);return Object.defineProperty(this,q,{value:z}),z}};$.visible={get(){let q=w(this,this[Z],!0);return Object.defineProperty(this,"visible",{value:q}),q}};t=["rgb","hex","ansi256"];for(let q of t){$[q]={get(){let{level:z}=this;return function(...D){let H=x(P(q,f[z],"color",...D),X.color.close,this[Z]);return w(this,H,this[O])}}};let V="bg"+q[0].toUpperCase()+q.slice(1);$[V]={get(){let{level:z}=this;return function(...D){let H=x(P(q,f[z],"bgColor",...D),X.bgColor.close,this[Z]);return w(this,H,this[O])}}}}r=Object.defineProperties(()=>{},{...$,level:{enumerable:!0,get(){return this[L].level},set(q){this[L].level=q}}});Object.defineProperties(G.prototype,$);s=G(),Z1=G({level:h?h.level:0}),O1=s});
6
+ export{o as m4,O1 as n4,e as o4};
@@ -0,0 +1,2 @@
1
+ import{Lna as j}from"./cli-0.5.9-ysvsqcpa.mjs";function C(){return`claude-swarm-${process.pid}`}var x="team-lead",y="claude-swarm",z="swarm-view",A="tmux",B="claude-hidden",D="CLAUDE_CODE_TEAMMATE_COMMAND";var k=()=>{};
2
+ export{x as dZ,y as eZ,z as fZ,A as gZ,B as hZ,C as iZ,D as jZ,k as kZ};
@@ -0,0 +1,2 @@
1
+ import{Lna as l}from"./cli-0.5.9-ysvsqcpa.mjs";function o(i,e,r){var t=null;if(r!==void 0&&(t=""+r),e.key!==void 0&&(t=""+e.key),"key"in e){r={};for(var s in e)s!=="key"&&(r[s]=e[s])}else r=e;return e=r.ref,{$$typeof:n,type:i,key:t,ref:e!==void 0?e:null,props:r}}var n,d,u,E,a;var c=l(()=>{n=Symbol.for("react.transitional.element"),d=Symbol.for("react.fragment");u=d,E=o,a=o});
2
+ export{u as lZ,E as mZ,a as nZ,c as oZ};
@@ -0,0 +1,2 @@
1
+ import{Ud as Jq,Yd as Tq}from"./cli-0.5.9-8ndgy03m.mjs";import{de as zq,ee as bq}from"./cli-0.5.9-wc5gt1zw.mjs";import{CH as Nq,FI as D,II as Cq,NH as s,OH as _q,SH as a,VH as l,ZH as t,cI as e,eI as Rq,fF as u,gF as fq,km as n,lI as qq,lm as yq,pI as Fq,uD as r,vD as Gq,zH as S}from"./cli-0.5.9-k9yedz53.mjs";import{BV as i,CV as Kq,JX as Oq,LV as Bq,cX as F,eX as C}from"./cli-0.5.9-qexy3mqr.mjs";import{mZ as v,nZ as R,oZ as p}from"./cli-0.5.9-krvpcgvw.mjs";import{pZ as Lq}from"./cli-0.5.9-bp09b2xm.mjs";import{B6 as $,C8 as vq,D6 as Xq,g8 as x,kca as m,p6 as g,q6 as Zq,sca as wq,y7 as o,z7 as Hq}from"./cli-0.5.9-0b1wx67c.mjs";import{Qfa as B,Tfa as Yq}from"./cli-0.5.9-ek649arf.mjs";import{hga as P,kga as h,pga as Wq}from"./cli-0.5.9-yazhwsgb.mjs";import{Hna as d,Lna as Vq}from"./cli-0.5.9-ysvsqcpa.mjs";import{readFile as c}from"fs/promises";import{join as j}from"path";function Qq(){return s}function Aq(){return Mq}function Uq(){return`thinkback@${Qq()}`}async function jq(){let{enabled:H}=await D(),q=H.find((U)=>U.name==="thinkback"||U.source&&U.source.includes(Uq()));if(!q)return null;let J=j(q.path,"skills",Sq);if(await x(J))return J;return null}async function Iq(H){let q=j(H,"year_in_review.js"),J=j(H,"player.js");try{await c(q)}catch(z){if(h(z))return{success:!1,message:"No animation found. Run /think-back first to generate one."};return m(z),{success:!1,message:`Could not access animation data: ${P(z).message}`}}try{await c(J)}catch(z){if(h(z))return{success:!1,message:"Player script not found. The player.js file is missing from the thinkback skill."};return m(z),{success:!1,message:`Could not access player script: ${P(z).message}`}}let U=i.get(process.stdout);if(!U)return{success:!1,message:"Failed to access terminal instance"};U.enterAlternateScreen();try{await g("node",[J],{stdio:"inherit",cwd:H,reject:!1})}catch{}finally{U.exitAlternateScreen()}let O=j(H,"year_in_review.html");if(await x(O)){let z=o();$(z==="macos"?"open":z==="windows"?"start":"xdg-open",[O])}return{success:!0,message:"Year in review animation complete!"}}function Pq({onReady:H,onError:q}){let[J,U]=K.useState({phase:"checking"}),[O,z]=K.useState("");if(K.useEffect(()=>{async function Z(){try{let y=await l(),Y=Qq(),G=Aq(),X=Uq(),_=Y in y,L=qq(X);if(!_)U({phase:"installing-marketplace"}),B(`Installing marketplace ${G}`),await t({source:"github",repo:G},(V)=>{z(V)}),S(),B(`Marketplace ${Y} installed`);else if(!L)U({phase:"installing-marketplace"}),z("Updating marketplace…"),B(`Refreshing marketplace ${Y}`),await e(Y,(V)=>{z(V)}),a(),S(),B(`Marketplace ${Y} refreshed`);if(!L){U({phase:"installing-plugin"}),B(`Installing plugin ${X}`);let V=await zq([X]);if(V.failed.length>0){let w=V.failed.map((W)=>`${W.name}: ${W.error}`).join(", ");throw Error(`Failed to install plugin: ${w}`)}S(),B(`Plugin ${X} installed`)}else{let{disabled:V}=await D();if(V.some((W)=>W.name==="thinkback"||W.source?.includes(X))){U({phase:"enabling-plugin"}),B(`Enabling plugin ${X}`);let W=await Jq(X);if(!W.success)throw Error(`Failed to enable plugin: ${W.message}`);S(),B(`Plugin ${X} enabled`)}}U({phase:"ready"}),H()}catch(y){let Y=P(y);m(Y),U({phase:"error",message:Y.message}),q(Y.message)}}Z()},[H,q]),J.phase==="error")return v(F,{flexDirection:"column",children:R(C,{color:"error",children:["Error: ",J.message]})});if(J.phase==="ready")return null;let T=J.phase==="checking"?"Checking thinkback installation…":J.phase==="installing-marketplace"?"Installing marketplace…":J.phase==="enabling-plugin"?"Enabling thinkback plugin…":"Installing thinkback plugin…";return v(F,{flexDirection:"column",children:R(F,{children:[v(u,{}),v(C,{children:O||T})]})})}function mq(H){let q=k.c(19),{onDone:J,onAction:U,skillDir:O,hasGenerated:z}=H,[T,Z]=K.useState(!1),y;if(q[0]!==z)y=z?[{label:"Play animation",value:"play",description:"Watch your year in review"},{label:"Edit content",value:"edit",description:"Modify the animation"},{label:"Fix errors",value:"fix",description:"Fix validation or rendering issues"},{label:"Regenerate",value:"regenerate",description:"Create a new animation from scratch"}]:[{label:"Let's go!",value:"regenerate",description:"Generate your personalized animation"}],q[0]=z,q[1]=y;else y=q[1];let Y=y,G;if(q[2]!==U||q[3]!==J||q[4]!==O)G=function(b){if(Z(!0),b==="play")Iq(O).then(()=>{J(void 0,{display:"skip"})});else U(b)},q[2]=U,q[3]=J,q[4]=O,q[5]=G;else G=q[5];let X=G,_;if(q[6]!==J)_=function(){J(void 0,{display:"skip"})},q[6]=J,q[7]=_;else _=q[7];let L=_;if(T)return null;let V;if(q[8]!==z)V=!z&&R(F,{flexDirection:"column",children:[v(C,{children:"Relive your year of coding with Claude."}),v(C,{dimColor:!0,children:"We'll create a personalized ASCII animation celebrating your journey."})]}),q[8]=z,q[9]=V;else V=q[9];let w;if(q[10]!==X||q[11]!==Y)w=v(r,{options:Y,onChange:X,visibleOptionCount:5}),q[10]=X,q[11]=Y,q[12]=w;else w=q[12];let W;if(q[13]!==V||q[14]!==w)W=R(F,{flexDirection:"column",gap:1,children:[V,w]}),q[13]=V,q[14]=w,q[15]=W;else W=q[15];let f;if(q[16]!==L||q[17]!==W)f=v(n,{title:"Think Back on 2025 with Claude Code",subtitle:"Generate your 2025 Claude Code Think Back (takes a few minutes to run)",onCancel:L,color:"claude",children:W}),q[16]=L,q[17]=W,q[18]=f;else f=q[18];return f}function uq(H){let q=k.c(27),{onDone:J}=H,[U,O]=K.useState(!1),[z,T]=K.useState(null),[Z,y]=K.useState(null),[Y,G]=K.useState(null),X;if(q[0]===Symbol.for("react.memo_cache_sentinel"))X=function(){O(!0)},q[0]=X;else X=q[0];let _=X,L;if(q[1]!==J)L=(Q)=>{T(Q),J(`Error with thinkback: ${Q}. Try running /plugin to manually install the think-back plugin.`,{display:"system"})},q[1]=J,q[2]=L;else L=q[2];let V=L,w,W;if(q[3]!==V||q[4]!==U||q[5]!==z||q[6]!==Z)w=()=>{if(U&&!Z&&!z)jq().then((Q)=>{if(Q)B(`Thinkback skill directory: ${Q}`),y(Q);else V("Could not find thinkback skill directory")})},W=[U,Z,z,V],q[3]=V,q[4]=U,q[5]=z,q[6]=Z,q[7]=w,q[8]=W;else w=q[7],W=q[8];K.useEffect(w,W);let f,M;if(q[9]!==Z)f=()=>{if(!Z)return;let Q=j(Z,"year_in_review.js");x(Q).then((N)=>{B(`Checking for ${Q}: ${N?"found":"not found"}`),G(N)})},M=[Z],q[9]=Z,q[10]=f,q[11]=M;else f=q[10],M=q[11];K.useEffect(f,M);let b;if(q[12]!==J)b=function(N){J({edit:xq,fix:Eq,regenerate:hq}[N],{display:"user",shouldQuery:!0})},q[12]=J,q[13]=b;else b=q[13];let E=b;if(z){let Q;if(q[14]!==z)Q=R(C,{color:"error",children:["Error: ",z]}),q[14]=z,q[15]=Q;else Q=q[15];let N;if(q[16]===Symbol.for("react.memo_cache_sentinel"))N=v(C,{dimColor:!0,children:"Try running /plugin to manually install the think-back plugin."}),q[16]=N;else N=q[16];let A;if(q[17]!==Q)A=R(F,{flexDirection:"column",children:[Q,N]}),q[17]=Q,q[18]=A;else A=q[18];return A}if(!U){let Q;if(q[19]!==V)Q=v(Pq,{onReady:_,onError:V}),q[19]=V,q[20]=Q;else Q=q[20];return Q}if(!Z||Y===null){let Q;if(q[21]===Symbol.for("react.memo_cache_sentinel"))Q=R(F,{children:[v(u,{}),v(C,{children:"Loading thinkback skill…"})]}),q[21]=Q;else Q=q[21];return Q}let I;if(q[22]!==E||q[23]!==Y||q[24]!==J||q[25]!==Z)I=v(mq,{onDone:J,onAction:E,skillDir:Z,hasGenerated:Y}),q[22]=E,q[23]=Y,q[24]=J,q[25]=Z,q[26]=I;else I=q[26];return I}async function Yz(H){return v(uq,{onDone:H})}var k,K,Mq="anthropics/claude-plugins-official",Sq="thinkback",xq='Use the Skill tool to invoke the "thinkback" skill with mode=edit to modify my existing Claude Code year in review animation. Ask me what I want to change. When the animation is ready, tell the user to run /think-back again to play it.',Eq='Use the Skill tool to invoke the "thinkback" skill with mode=fix to fix validation or rendering errors in my existing Claude Code year in review animation. Run the validator, identify errors, and fix them. When the animation is ready, tell the user to run /think-back again to play it.',hq='Use the Skill tool to invoke the "thinkback" skill with mode=regenerate to create a completely new Claude Code year in review animation from scratch. Delete the existing animation and start fresh. When the animation is ready, tell the user to run /think-back again to play it.';var Dq=Vq(()=>{Zq();Gq();yq();fq();Kq();Oq();Tq();Yq();Wq();Xq();vq();wq();Hq();Nq();Fq();Rq();_q();Cq();bq();p();k=d(Bq(),1),K=d(Lq(),1)});
2
+ export{Iq as Kd,Yz as Ld,Dq as Md};
@@ -0,0 +1,2 @@
1
+ import{Ap as XJ,Bt as Cq,Cp as GJ,Ct as wJ,Et as MJ,Fp as cq,Gp as Vq,Jp as YJ,Kp as pq,Sl as oq,Tl as jJ,cm as qJ,dm as hJ,em as JJ,fm as OJ,gm as QJ,hm as FJ,sp as Eq,tp as v,tw as kJ,uD as KJ,up as zJ,uw as _J,wD as vJ}from"./cli-0.5.9-k9yedz53.mjs";import{fU as tq,gU as VJ}from"./cli-0.5.9-xn369es1.mjs";import{gV as eq,hV as mJ,pV as ZJ,qV as gJ}from"./cli-0.5.9-qy6qkzwb.mjs";import{JX as TJ,LV as CJ,cX as H,eX as Y}from"./cli-0.5.9-qexy3mqr.mjs";import{lZ as lq,mZ as X,nZ as K,oZ as rq}from"./cli-0.5.9-krvpcgvw.mjs";import{pZ as DJ}from"./cli-0.5.9-bp09b2xm.mjs";import{T3 as uJ,U1 as mq,W1 as S,b1 as jq,c1 as fq,d2 as g,e1 as yq,g2 as Dq,k2 as yJ,q1 as sq,u2 as UJ,v1 as NJ,y3 as HJ,z2 as rJ}from"./cli-0.5.9-v5mkedy5.mjs";import{D9 as RJ,H$ as LJ,p9 as _q,q9 as vq,r9 as Rq,s$ as aq,s9 as Sq,t9 as xq,u$ as iq}from"./cli-0.5.9-0b1wx67c.mjs";import{Oea as $q,Qea as bJ}from"./cli-0.5.9-4s8nynfd.mjs";import{Hna as dq,Lna as bq}from"./cli-0.5.9-ysvsqcpa.mjs";function iJ(J,q){if(!v(q))return;let Z=cq(q,J);return`${Lq(Z)} ${Z} · /effort`}function Lq(J){if(Eq(J))return xq;switch(J){case"low":return _q;case"medium":return vq;case"high":return Rq;case"max":return Sq;default:return Rq}}var nq=bq(()=>{RJ();pq()});function BQ(J){let q=hq.c(82),{initial:Z,sessionModel:z,onSelect:G,onCancel:w,isStandaloneCommand:W,showFastModeNotice:Yq,headerText:WJ,skipSettingsWrite:wq}=J,kq=wJ(),E=tq(),B=Z===null?x:Z,[A,BJ]=Gq.useState(B),AJ=Cq(cJ),[P,IJ]=Gq.useState(!1),R=Cq(EJ),c;if(q[0]!==R)c=R!==void 0?Vq(R):void 0,q[0]=R,q[1]=c;else c=q[1];let[b,Oq]=Gq.useState(c),Kq=AJ??!1,p;if(q[2]!==Kq)p=kJ(Kq),q[2]=Kq,q[3]=p;else p=q[3];let M=p,Uq;q:{if(Z!==null&&!M.some((Q)=>{if(Q.value===Z)return!0;if(Q.value===null)return!1;try{return S(g(String(Q.value)))===S(g(Z))}catch{return!1}})){let Q;if(q[4]!==Z)Q=Dq(Z),q[4]=Z,q[5]=Q;else Q=q[5];let k;if(q[6]!==Z||q[7]!==Q)k={value:Z,label:Q,description:"Current model"},q[6]=Z,q[7]=Q,q[8]=k;else k=q[8];let L;if(q[9]!==M||q[10]!==k)L=[...M,k],q[9]=M,q[10]=k,q[11]=L;else L=q[11];Uq=L;break q}Uq=M}let Hq=Uq,n;if(q[12]!==Hq)n=Hq.map(xJ),q[12]=Hq,q[13]=n;else n=q[13];let U=n,r;if(q[14]!==B||q[15]!==U)r=U.find((Q)=>{if(Q.value===B)return!0;if(B===x||Q.value===null)return!1;try{return S(g(String(Q.value)))===S(g(String(B)))}catch{return!1}})?.value??U[0]?.value??void 0,q[14]=B,q[15]=U,q[16]=r;else r=q[16];let Wq=r,u=Math.min(10,U.length),d=Math.max(0,U.length-u),$;if(q[17]!==A||q[18]!==U)$=U.find((Q)=>Q.value===A)?.label,q[17]=A,q[18]=U,q[19]=$;else $=q[19];let a=$,I,i;if(q[20]!==A){let Q=Tq(A);I=Q?v(Q):!1,i=Q?zJ(Q):!1,q[20]=A,q[21]=I,q[22]=i}else I=q[21],i=q[22];let f=i,s;if(q[23]!==A)s=Nq(A),q[23]=A,q[24]=s;else s=q[24];let N=s,_=b==="max"&&!f?"high":b,l;if(q[25]!==R||q[26]!==P)l=(Q)=>{if(BJ(Q),!P&&R===void 0)Oq(Nq(Q))},q[25]=R,q[26]=P,q[27]=l;else l=q[27];let Bq=l,o;if(q[28]!==N||q[29]!==I||q[30]!==f)o=(Q)=>{if(!I)return;Oq((k)=>pJ(k??N,Q,f)),IJ(!0)},q[28]=N,q[29]=I,q[30]=f,q[31]=o;else o=q[31];let e=o,t;if(q[32]!==e)t={"modelPicker:decreaseEffort":()=>e("left"),"modelPicker:increaseEffort":()=>e("right")},q[32]=e,q[33]=t;else t=q[33];let qq;if(q[34]===Symbol.for("react.memo_cache_sentinel"))qq={context:"ModelPicker"},q[34]=qq;else qq=q[34];eq(t,qq);let Jq;if(q[35]!==b||q[36]!==P||q[37]!==G||q[38]!==kq||q[39]!==wq)Jq=function(k){if($q("tengu_model_command_menu_effort",{effort:b}),!wq){let gq=GJ(b,Nq(k),aq("userSettings")?.effortLevel,P),Mq=XJ(gq);if(Mq!==void 0)iq("userSettings",{effortLevel:Mq});kq((PJ)=>({...PJ,effortValue:gq}))}let L=Tq(k),Fq=P&&L&&v(L)?b:void 0;if(k===x){G(null,Fq);return}G(k,Fq)},q[35]=b,q[36]=P,q[37]=G,q[38]=kq,q[39]=wq,q[40]=Jq;else Jq=q[40];let Aq=Jq,Qq;if(q[41]===Symbol.for("react.memo_cache_sentinel"))Qq=X(Y,{color:"remember",bold:!0,children:"Select model"}),q[41]=Qq;else Qq=q[41];let Iq=WJ??"Switch between Claude models. Applies to this session and future Claude Code sessions. For other/previous model names, specify with --model.",y;if(q[42]!==Iq)y=X(Y,{dimColor:!0,children:Iq}),q[42]=Iq,q[43]=y;else y=q[43];let D;if(q[44]!==z)D=z&&K(Y,{dimColor:!0,children:["Currently using ",Dq(z)," for this session (set by plan mode). Selecting a model will undo this."]}),q[44]=z,q[45]=D;else D=q[45];let C;if(q[46]!==y||q[47]!==D)C=K(H,{marginBottom:1,flexDirection:"column",children:[Qq,y,D]}),q[46]=y,q[47]=D,q[48]=C;else C=q[48];let Pq=w??SJ,T;if(q[49]!==Bq||q[50]!==Aq||q[51]!==Wq||q[52]!==B||q[53]!==U||q[54]!==Pq||q[55]!==u)T=X(H,{flexDirection:"column",children:X(KJ,{defaultValue:B,defaultFocusValue:Wq,options:U,onChange:Aq,onFocus:Bq,onCancel:Pq,visibleOptionCount:u})}),q[49]=Bq,q[50]=Aq,q[51]=Wq,q[52]=B,q[53]=U,q[54]=Pq,q[55]=u,q[56]=T;else T=q[56];let j;if(q[57]!==d)j=d>0&&X(H,{paddingLeft:3,children:K(Y,{dimColor:!0,children:["and ",d," more…"]})}),q[57]=d,q[58]=j;else j=q[58];let m;if(q[59]!==T||q[60]!==j)m=K(H,{flexDirection:"column",marginBottom:1,children:[T,j]}),q[59]=T,q[60]=j,q[61]=m;else m=q[61];let V;if(q[62]!==_||q[63]!==N||q[64]!==a||q[65]!==I)V=X(H,{marginBottom:1,flexDirection:"column",children:I?K(Y,{dimColor:!0,children:[X(uq,{effort:_})," ",oq(_)," effort",_===N?" (default)":""," ",X(Y,{color:"subtle",children:"← → to adjust"})]}):K(Y,{color:"subtle",children:[X(uq,{effort:void 0})," Effort not supported",a?` for ${a}`:""]})}),q[62]=_,q[63]=N,q[64]=a,q[65]=I,q[66]=V;else V=q[66];let h;if(q[67]!==Yq)h=jq()?Yq?X(H,{marginBottom:1,children:K(Y,{dimColor:!0,children:["Fast mode is ",X(Y,{bold:!0,children:"ON"})," and available with"," ",yq," only (/fast). Switching to other models turn off fast mode."]})}):fq()&&!sq()?X(H,{marginBottom:1,children:K(Y,{dimColor:!0,children:["Use ",X(Y,{bold:!0,children:"/fast"})," to turn on Fast mode (",yq," only)."]})}):null:null,q[67]=Yq,q[68]=h;else h=q[68];let O;if(q[69]!==C||q[70]!==m||q[71]!==V||q[72]!==h)O=K(H,{flexDirection:"column",children:[C,m,V,h]}),q[69]=C,q[70]=m,q[71]=V,q[72]=h,q[73]=O;else O=q[73];let F;if(q[74]!==E||q[75]!==W)F=W&&X(Y,{dimColor:!0,italic:!0,children:E.pending?K(lq,{children:["Press ",E.keyName," again to exit"]}):K(QJ,{children:[X(qJ,{shortcut:"Enter",action:"confirm"}),X(JJ,{action:"select:cancel",context:"Select",fallback:"Esc",description:"exit"})]})}),q[74]=E,q[75]=W,q[76]=F;else F=q[76];let Zq;if(q[77]!==O||q[78]!==F)Zq=K(H,{flexDirection:"column",children:[O,F]}),q[77]=O,q[78]=F,q[79]=Zq;else Zq=q[79];let zq=Zq;if(!W)return zq;let Xq;if(q[80]!==zq)Xq=X(ZJ,{color:"permission",children:zq}),q[80]=zq,q[81]=Xq;else Xq=q[81];return Xq}function SJ(){}function xJ(J){return{...J,value:J.value===null?x:J.value}}function EJ(J){return J.effortValue}function cJ(J){return jq()?J.fastMode:!1}function Tq(J){if(!J)return;return J===x?mq():g(J)}function uq(J){let q=hq.c(5),{effort:Z}=J,z=Z?"claude":"subtle",G=Z??"low",w;if(q[0]!==G)w=Lq(G),q[0]=G,q[1]=w;else w=q[1];let W;if(q[2]!==z||q[3]!==w)W=X(Y,{color:z,children:w}),q[2]=z,q[3]=w,q[4]=W;else W=q[4];return W}function pJ(J,q,Z){let z=Z?["low","medium","high","max"]:["low","medium","high"],G=z.indexOf(J),w=G!==-1?G:z.indexOf("high");if(q==="right")return z[(w+1)%z.length];else return z[(w-1+z.length)%z.length]}function Nq(J){let q=Tq(J)??mq(),Z=YJ(q);return Z!==void 0?Vq(Z):"high"}var hq,Gq,x="__NO_PREFERENCE__";var nJ=bq(()=>{jJ();VJ();bJ();NJ();TJ();mJ();MJ();pq();yJ();_J();LJ();OJ();vJ();FJ();hJ();gJ();nq();rq();hq=dq(CJ(),1),Gq=dq(DJ(),1)});function bQ(J,q,Z){if(!HJ())return!1;if(q)return!0;if(J===null||!UJ(J))return!1;let z=J.toLowerCase().replace(/\[1m\]$/,"").trim(),G=z==="opus"||z.includes("opus-4-6")||z.includes("opus-4-7"),w=z==="sonnet"||z.includes("sonnet-4-6");if(G&&Z)return!1;return G||w}var dJ=bq(()=>{uJ();rJ()});
2
+ export{iJ as Qf,Lq as Rf,nq as Sf,BQ as Tf,nJ as Uf,bQ as Vf,dJ as Wf};
@@ -0,0 +1,2 @@
1
+ import{Lna as B}from"./cli-0.5.9-ysvsqcpa.mjs";function F(z){let k=z.trim();if(!k.startsWith("/"))return null;let b=k.slice(1).split(" ");if(!b[0])return null;let j=b[0],l=!1,q=1;if(b.length>1&&b[1]==="(MCP)")j=j+" (MCP)",l=!0,q=2;let A=b.slice(q).join(" ");return{commandName:j,args:A,isMcp:l}}var C=()=>{};
2
+ export{F as wh,C as xh};
@@ -0,0 +1,2 @@
1
+ import{Q6 as Z,S6 as f,Xba as B,_ba as K,pba as $,qba as y}from"./cli-0.5.9-0b1wx67c.mjs";import{Fga as E,xga as Y}from"./cli-0.5.9-eagw660r.mjs";import{Lna as N,Mna as x}from"./cli-0.5.9-ysvsqcpa.mjs";import{existsSync as S}from"node:fs";import{homedir as F}from"node:os";import{join as X}from"node:path";function _(){if(Y())return;try{return $().read()?.gemini?.accessToken?.trim()||void 0}catch{return}}function J(b){let w=b?.trim();return w?w:void 0}function V(b=process.env){return J(b.GOOGLE_CLOUD_PROJECT)??J(b.GCLOUD_PROJECT)??J(b.GOOGLE_PROJECT_ID)}function D(b=process.env){let w=J(b.GEMINI_AUTH_MODE)?.toLowerCase();if(w==="api-key"||w==="access-token"||w==="adc")return w;return}function P(b=process.env){let w=J(b.GOOGLE_APPLICATION_CREDENTIALS),q=new Set;if(w)q.add(w);q.add(X(F(),".config","gcloud","application_default_credentials.json"));let O=J(b.APPDATA);if(O)q.add(X(O,"gcloud","application_default_credentials.json"));return[...q]}function k(b=process.env){return P(b).some((w)=>S(w))}function G(b){if(typeof b==="string")return J(b);return J(b?.token)}async function A(){let{GoogleAuth:b}=await import("google-auth-library");return new b({scopes:[z]})}async function L(b,w){if(!k(b))return{kind:"none"};try{let q=await(w.createGoogleAuth??A)(),O=await q.getClient(),R=G(await O.getAccessToken());if(!R)return{kind:"none"};let Q=V(b)??(typeof q.getProjectId==="function"?J(await q.getProjectId().catch(()=>{return})):void 0);return{kind:"adc",credential:R,...Q?{projectId:Q}:{}}}catch{return{kind:"none"}}}async function s(b=process.env,w={}){let q=D(b),O=B(),R=O?.transport==="gemini"?J(O.apiKey):void 0,U=q==="access-token"||q==="adc"?void 0:R;if(U&&(q===void 0||q==="api-key"))return{kind:"api-key",credential:U};let Q=q==="api-key"||q==="adc"?void 0:J(_());if(Q&&(q===void 0||q==="access-token")){let W=V(b);return{kind:"access-token",credential:Q,...W?{projectId:W}:{}}}if(q==="api-key"||q==="access-token")return{kind:"none"};if(w.createGoogleAuth)return L(b,w);return T(J(b.GOOGLE_APPLICATION_CREDENTIALS),J(b.APPDATA),F(),V(b))}var z="https://www.googleapis.com/auth/cloud-platform",C=300000,T;var g=N(()=>{K();E();f();y();T=Z(async(b,w,q,O)=>L({GOOGLE_APPLICATION_CREDENTIALS:b,APPDATA:w,GOOGLE_CLOUD_PROJECT:O,GCLOUD_PROJECT:O,GOOGLE_PROJECT_ID:O,HOME:q},{}),C)});
2
+ export{D as yh,s as zh,g as Ah};
@@ -0,0 +1,2 @@
1
+ var o=()=>null,t=o,l=o;
2
+ export{l as eb,t as fb};
@@ -0,0 +1,2 @@
1
+ import{am as Q,at as Pq,bm as Sq,et as hq}from"./cli-0.5.9-k9yedz53.mjs";import{AU as _q,wU as Uq,xU as Iq}from"./cli-0.5.9-rm62v7hr.mjs";import{JX as nq,LV as jq,cX as J,eX as L}from"./cli-0.5.9-qexy3mqr.mjs";import{mZ as H,nZ as O,oZ as vq}from"./cli-0.5.9-krvpcgvw.mjs";import{b1 as bq,c1 as Mq,v1 as yq}from"./cli-0.5.9-v5mkedy5.mjs";import{Raa as fq,g9 as Nq,i9 as gq,xaa as Rq,y7 as Xq,z7 as kq}from"./cli-0.5.9-0b1wx67c.mjs";import{Xda as Bq}from"./cli-0.5.9-7hcka84h.mjs";import{Hna as pq,Lna as Gq}from"./cli-0.5.9-ysvsqcpa.mjs";function xq(){return Rq().editorMode==="vim"}function Kq(){if(Nq.terminal==="Apple_Terminal"&&process.platform==="darwin")return"shift + ⏎ for newline";if(Uq())return"shift + ⏎ for newline";return Iq()?"\\⏎ for newline":"backslash (\\) + return (⏎) for newline"}function mq(V,q){if(q.ctrl||q.meta||q.escape||q.return||q.tab||q.backspace||q.delete||q.upArrow||q.downArrow||q.leftArrow||q.rightArrow||q.pageUp||q.pageDown||q.home||q.end)return!1;return V.length>0&&!/^\s/.test(V)&&!V.startsWith("\x1B")}var Wq=Gq(()=>{_q();fq();gq()});function T(V){return V.replace(/\+/g," + ")}function qD(V){let q=Eq.c(99),{dimColor:D,fixedWidth:Aq,gap:x,paddingX:m}=V,l=Q("app:toggleTranscript","Global","ctrl+o"),_;if(q[0]!==l)_=T(l),q[0]=l,q[1]=_;else _=q[1];let e=_,d=Q("app:toggleTodos","Global","ctrl+t"),p;if(q[2]!==d)p=T(d),q[2]=d,q[3]=p;else p=q[3];let s=p,i=Q("chat:undo","Chat","ctrl+_"),B;if(q[4]!==i)B=T(i),q[4]=i,q[5]=B;else B=q[5];let r=B,$=Q("chat:stash","Chat","ctrl+s"),k;if(q[6]!==$)k=T($),q[6]=$,q[7]=k;else k=q[7];let o=k,t=Q("chat:cycleMode","Chat","shift+tab"),y;if(q[8]!==t)y=T(t),q[8]=t,q[9]=y;else y=q[9];let qq=y,Dq=Q("chat:modelPicker","Chat","alt+p"),j;if(q[10]!==Dq)j=T(Dq),q[10]=Dq,q[11]=j;else j=q[11];let Hq=j,Jq=Q("chat:fastMode","Chat","alt+o"),n;if(q[12]!==Jq)n=T(Jq),q[12]=Jq,q[13]=n;else n=q[13];let Lq=n,Oq=Q("chat:externalEditor","Chat","ctrl+g"),S;if(q[14]!==Oq)S=T(Oq),q[14]=Oq,q[15]=S;else S=q[15];let Qq=S,Tq=Q("app:toggleTerminal","Global","meta+j"),h;if(q[16]!==Tq)h=T(Tq),q[16]=Tq,q[17]=h;else h=q[17];let Fq=h,Vq=Q("chat:imagePaste","Chat","ctrl+v"),a;if(q[18]!==Vq)a=T(Vq),q[18]=Vq,q[19]=a;else a=q[19];let Yq=a,C;if(q[20]!==D||q[21]!==Fq)C=null,q[20]=D,q[21]=Fq,q[22]=C;else C=q[22];let Zq=C,wq=Aq?24:void 0,Y;if(q[23]!==D)Y=H(J,{children:H(L,{dimColor:D,children:"! for bash mode"})}),q[23]=D,q[24]=Y;else Y=q[24];let Z;if(q[25]!==D)Z=H(J,{children:H(L,{dimColor:D,children:"/ for commands"})}),q[25]=D,q[26]=Z;else Z=q[26];let w;if(q[27]!==D)w=H(J,{children:H(L,{dimColor:D,children:"@ for file paths"})}),q[27]=D,q[28]=w;else w=q[28];let z;if(q[29]!==D)z=H(J,{children:H(L,{dimColor:D,children:"& for background"})}),q[29]=D,q[30]=z;else z=q[30];let A;if(q[31]!==D)A=H(J,{children:H(L,{dimColor:D,children:"/btw for side question"})}),q[31]=D,q[32]=A;else A=q[32];let F;if(q[33]!==wq||q[34]!==Y||q[35]!==Z||q[36]!==w||q[37]!==z||q[38]!==A)F=O(J,{flexDirection:"column",width:wq,children:[Y,Z,w,z,A]}),q[33]=wq,q[34]=Y,q[35]=Z,q[36]=w,q[37]=z,q[38]=A,q[39]=F;else F=q[39];let zq=Aq?35:void 0,G;if(q[40]!==D)G=H(J,{children:H(L,{dimColor:D,children:"double tap esc to clear input"})}),q[40]=D,q[41]=G;else G=q[41];let N;if(q[42]!==qq||q[43]!==D)N=H(J,{children:O(L,{dimColor:D,children:[qq," ","to auto-accept edits"]})}),q[42]=qq,q[43]=D,q[44]=N;else N=q[44];let R;if(q[45]!==D||q[46]!==e)R=H(J,{children:O(L,{dimColor:D,children:[e," for verbose output"]})}),q[45]=D,q[46]=e,q[47]=R;else R=q[47];let U;if(q[48]!==D||q[49]!==s)U=H(J,{children:O(L,{dimColor:D,children:[s," to toggle tasks"]})}),q[48]=D,q[49]=s,q[50]=U;else U=q[50];let c;if(q[51]===Symbol.for("react.memo_cache_sentinel"))c=Kq(),q[51]=c;else c=q[51];let I;if(q[52]!==D)I=H(J,{children:H(L,{dimColor:D,children:c})}),q[52]=D,q[53]=I;else I=q[53];let K;if(q[54]!==zq||q[55]!==G||q[56]!==N||q[57]!==R||q[58]!==U||q[59]!==I||q[60]!==Zq)K=O(J,{flexDirection:"column",width:zq,children:[G,N,R,U,Zq,I]}),q[54]=zq,q[55]=G,q[56]=N,q[57]=R,q[58]=U,q[59]=I,q[60]=Zq,q[61]=K;else K=q[61];let W;if(q[62]!==D||q[63]!==r)W=H(J,{children:O(L,{dimColor:D,children:[r," to undo"]})}),q[62]=D,q[63]=r,q[64]=W;else W=q[64];let v;if(q[65]!==D)v=Xq()!=="windows"&&H(J,{children:H(L,{dimColor:D,children:"ctrl + z to suspend"})}),q[65]=D,q[66]=v;else v=q[66];let X;if(q[67]!==D||q[68]!==Yq)X=H(J,{children:O(L,{dimColor:D,children:[Yq," to paste images"]})}),q[67]=D,q[68]=Yq,q[69]=X;else X=q[69];let b;if(q[70]!==D||q[71]!==Hq)b=H(J,{children:O(L,{dimColor:D,children:[Hq," to switch model"]})}),q[70]=D,q[71]=Hq,q[72]=b;else b=q[72];let M;if(q[73]!==D||q[74]!==Lq)M=bq()&&Mq()&&H(J,{children:O(L,{dimColor:D,children:[Lq," to toggle fast mode"]})}),q[73]=D,q[74]=Lq,q[75]=M;else M=q[75];let P;if(q[76]!==D||q[77]!==o)P=H(J,{children:O(L,{dimColor:D,children:[o," to stash prompt"]})}),q[76]=D,q[77]=o,q[78]=P;else P=q[78];let E;if(q[79]!==D||q[80]!==Qq)E=H(J,{children:O(L,{dimColor:D,children:[Qq," to edit in $EDITOR"]})}),q[79]=D,q[80]=Qq,q[81]=E;else E=q[81];let g;if(q[82]!==D)g=Pq()&&H(J,{children:H(L,{dimColor:D,children:"/keybindings to customize"})}),q[82]=D,q[83]=g;else g=q[83];let f;if(q[84]!==W||q[85]!==v||q[86]!==X||q[87]!==b||q[88]!==M||q[89]!==P||q[90]!==E||q[91]!==g)f=O(J,{flexDirection:"column",children:[W,v,X,b,M,P,E,g]}),q[84]=W,q[85]=v,q[86]=X,q[87]=b,q[88]=M,q[89]=P,q[90]=E,q[91]=g,q[92]=f;else f=q[92];let u;if(q[93]!==x||q[94]!==m||q[95]!==F||q[96]!==K||q[97]!==f)u=O(J,{paddingX:m,flexDirection:"row",gap:x,children:[F,K,f]}),q[93]=x,q[94]=m,q[95]=F,q[96]=K,q[97]=f,q[98]=u;else u=q[98];return u}var Eq;var aq=Gq(()=>{nq();kq();hq();Sq();Bq();yq();Wq();vq();Eq=pq(jq(),1)});
2
+ export{xq as rf,mq as sf,Wq as tf,qD as uf,aq as vf};
@@ -0,0 +1,2 @@
1
+ import{gZ as y,kZ as V}from"./cli-0.5.9-knc0w8sn.mjs";import{B6 as p,D6 as K,g9 as q,i9 as Q}from"./cli-0.5.9-0b1wx67c.mjs";import{Lna as J}from"./cli-0.5.9-ysvsqcpa.mjs";function j(){return!!z}async function D(){if(b!==null)return b;return b=!!z,b}function P(){return W||null}async function w(){return(await p(y,["-V"])).code===0}function E(){if(f!==null)return f;let k=process.env.TERM_PROGRAM,B=!!process.env.ITERM_SESSION_ID,H=q.terminal==="iTerm.app";return f=k==="iTerm.app"||B||H,f}async function F(){return(await p(Y,["session","list"])).code===0}function G(){b=null,f=null}var z,W,b=null,f=null,Y="it2";var Z=J(()=>{Q();K();V();z=process.env.TMUX,W=process.env.TMUX_PANE});
2
+ export{j as WY,D as XY,P as YY,w as ZY,E as _Y,Y as $Y,F as aZ,G as bZ,Z as cZ};
@@ -0,0 +1,21 @@
1
+ import{$o as O,BB as V,CB as $,Ci as L,DN as F,XM as X,ap as Z}from"./cli-0.5.9-k9yedz53.mjs";import{Lna as Y}from"./cli-0.5.9-ysvsqcpa.mjs";function W(G){let D=[],H=G.matchAll(v);for(let z of H)if(z.index!==void 0)D.push({word:z[0],start:z.index,end:z.index+z[0].length});return D}async function b({question:G,cacheSafeParams:D}){let H=`<system-reminder>This is a side question from the user. You must answer this question directly in a single response.
2
+
3
+ IMPORTANT CONTEXT:
4
+ - You are a separate, lightweight agent spawned to answer this one question
5
+ - The main agent is NOT interrupted - it continues working independently in the background
6
+ - You share the conversation context but are a completely separate instance
7
+ - Do NOT reference being interrupted or what you were "previously doing" - that framing is incorrect
8
+
9
+ CRITICAL CONSTRAINTS:
10
+ - You have NO tools available - you cannot read files, run commands, search, or take any actions
11
+ - This is a one-off response - there will be no follow-up turns
12
+ - You can ONLY provide information based on what you already know from the conversation context
13
+ - NEVER say things like "Let me try...", "I'll now...", "Let me check...", or promise to take any action
14
+ - If you don't know the answer, say so - do not offer to look it up or investigate
15
+
16
+ Simply answer the question with the information you have.</system-reminder>
17
+
18
+ ${G}`,z=await V({promptMessages:[X({content:H})],cacheSafeParams:D,canUseTool:async()=>({behavior:"deny",message:"Side questions cannot use tools",decisionReason:{type:"other",reason:"side_question"}}),querySource:"side_question",forkLabel:"side_question",maxTurns:1,skipCacheWrite:!0});return{response:y(z.messages),usage:z.totalUsage}}function y(G){let D=G.flatMap((z)=>z.type==="assistant"?z.message.content:[]);if(D.length>0){let z=L(D,`
19
+
20
+ `).trim();if(z)return z;let J=D.find((K)=>K.type==="tool_use");if(J)return`(The model tried to call ${"name"in J?J.name:"a tool"} instead of answering directly. Try rephrasing or ask in the main conversation.)`}let H=G.find((z)=>z.type==="system"&&("subtype"in z)&&z.subtype==="api_error");if(H)return`(API error: ${O(H.error)})`;return null}var v;var C=Y(()=>{Z();$();F();v=/^\/btw\b/gi});
21
+ export{W as bh,b as ch,C as dh};
@@ -0,0 +1,3 @@
1
+ import{JX as o,LV as t,UV as p,aX as j,bX as s,cX as F,eX as V}from"./cli-0.5.9-qexy3mqr.mjs";import{mZ as w,nZ as g,oZ as y}from"./cli-0.5.9-krvpcgvw.mjs";import{k6 as $,l6 as a,r6 as _,s6 as n}from"./cli-0.5.9-0b1wx67c.mjs";import{Hna as i,Lna as v}from"./cli-0.5.9-ysvsqcpa.mjs";function l(J,q,M,G){return G=typeof G=="function"?G:void 0,J==null?J:_(J,q,M,G)}var b;var f=v(()=>{n();b=l});function x(J,q={}){let{showValues:M=!0,hideFunctions:G=!1,themeName:W="dark",treeCharColors:Q={}}=q,X=[],I=new WeakSet;function Z(Y,D){if(!D)return Y;return j(D,W)(Y)}function N(Y,D,S,A=0){if(typeof Y==="string"){X.push(D+Z(Y,Q.value));return}if(typeof Y!=="object"||Y===null){if(M){let H=String(Y);X.push(D+Z(H,Q.value))}return}if(I.has(Y)){X.push(D+Z("[Circular]",Q.value));return}I.add(Y);let L=Object.keys(Y).filter((H)=>{let E=Y[H];if(G&&typeof E==="function")return!1;return!0});L.forEach((H,E)=>{let U=Y[H],P=E===L.length-1,T=A===0&&E===0?"":D,u=P?R.lastBranch:R.branch,d=Z(u,Q.treeChar),C=H.trim()===""?"":Z(H,Q.key),B=T+d+(C?" "+C:""),z=H.trim()!=="";if(U&&typeof U==="object"&&I.has(U)){let K=Z("[Circular]",Q.value);X.push(B+(z?": ":B?" ":"")+K)}else if(U&&typeof U==="object"&&!Array.isArray(U)){X.push(B);let K=P?R.empty:R.line,k=Z(K,Q.treeChar),c=T+k+" ";N(U,c,P,A+1)}else if(Array.isArray(U))X.push(B+(z?": ":B?" ":"")+"[Array("+U.length+")]");else if(M){let K=typeof U==="function"?"[Function]":String(U),k=Z(K,Q.value);B+=(z?": ":B?" ":"")+k,X.push(B)}else X.push(B)})}let O=Object.keys(J);if(O.length===0)return Z("(empty)",Q.value);if(O.length===1&&O[0]!==void 0&&O[0].trim()===""&&typeof J[O[0]]==="string"){let Y=O[0],D=Z(R.lastBranch,Q.treeChar),S=Z(J[Y],Q.value);return D+" "+S}return N(J,"",!0),X.join(`
2
+ `)}var R;var m=v(()=>{a();s();R={branch:$.lineUpDownRight,lastBranch:$.lineUpRight,line:$.lineVertical,empty:" "}});function r(J){let q={};return J.forEach((M)=>{if(!M.path){q[""]=M.message;return}let G=M.path.split("."),W=M.path;if(M.invalidValue!==null&&M.invalidValue!==void 0&&G.length>0){let Q=[];for(let X=0;X<G.length;X++){let I=G[X];if(!I)continue;let Z=parseInt(I,10);if(!isNaN(Z)&&X===G.length-1){let N;if(typeof M.invalidValue==="string")N=`"${M.invalidValue}"`;else if(M.invalidValue===null)N="null";else if(M.invalidValue===void 0)N="undefined";else N=String(M.invalidValue);Q.push(N)}else Q.push(I)}W=Q.join(".")}b(q,W,M.message,Object)}),q}function Hq(J){let q=h.c(9),{errors:M}=J,[G]=p();if(M.length===0)return null;let W,Q,X;if(q[0]!==M||q[1]!==G){let Z=M.reduce(Jq,{}),N=Object.keys(Z).sort();W=F,Q="column",X=N.map((O)=>{let Y=Z[O]||[];Y.sort(qq);let D=r(Y),S=new Map;Y.forEach((L)=>{if(L.suggestion||L.docLink){let H=`${L.suggestion||""}|${L.docLink||""}`;if(!S.has(H))S.set(H,{suggestion:L.suggestion,docLink:L.docLink})}});let A=x(D,{showValues:!0,themeName:G,treeCharColors:{treeChar:"inactive",key:"text",value:"inactive"}});return g(F,{flexDirection:"column",children:[w(V,{children:O}),w(F,{marginLeft:1,children:w(V,{dimColor:!0,children:A})}),S.size>0&&w(F,{flexDirection:"column",marginTop:1,children:Array.from(S.values()).map(e)})]},O)}),q[0]=M,q[1]=G,q[2]=W,q[3]=Q,q[4]=X}else W=q[2],Q=q[3],X=q[4];let I;if(q[5]!==W||q[6]!==Q||q[7]!==X)I=w(W,{flexDirection:Q,children:X}),q[5]=W,q[6]=Q,q[7]=X,q[8]=I;else I=q[8];return I}function e(J,q){return g(F,{flexDirection:"column",marginBottom:1,children:[J.suggestion&&w(V,{dimColor:!0,wrap:"wrap",children:J.suggestion}),J.docLink&&g(V,{dimColor:!0,wrap:"wrap",children:["Learn more: ",J.docLink]})]},`suggestion-pair-${q}`)}function qq(J,q){if(!J.path&&q.path)return-1;if(J.path&&!q.path)return 1;return(J.path||"").localeCompare(q.path||"")}function Jq(J,q){let M=q.file||"(file not specified)";if(!J[M])J[M]=[];return J[M].push(q),J}var h;var Mq=v(()=>{f();o();m();y();h=i(t(),1)});
3
+ export{Hq as ng,Mq as og};
@@ -0,0 +1,2 @@
1
+ import{LV as O}from"./cli-0.5.9-qexy3mqr.mjs";import{mZ as X,oZ as Q}from"./cli-0.5.9-krvpcgvw.mjs";import{pZ as b}from"./cli-0.5.9-bp09b2xm.mjs";import{Eaa as W,Raa as P}from"./cli-0.5.9-0b1wx67c.mjs";import{Hna as U}from"./cli-0.5.9-ysvsqcpa.mjs";P();Q();var Y=U(O(),1),J=U(b(),1);function L(D,z){let F=z/100*(D.length-1),q=Math.floor(F),k=Math.ceil(F);if(q===k)return D[q];return D[q]+(D[k]-D[q])*(F-q)}var T=1024;function V(){let D=new Map,z=new Map,F=new Map;return{increment(q,k=1){D.set(q,(D.get(q)??0)+k)},set(q,k){D.set(q,k)},observe(q,k){let y=z.get(q);if(!y)y={reservoir:[],count:0,sum:0,min:k,max:k},z.set(q,y);if(y.count++,y.sum+=k,k<y.min)y.min=k;if(k>y.max)y.max=k;if(y.reservoir.length<T)y.reservoir.push(k);else{let B=Math.floor(Math.random()*y.count);if(B<T)y.reservoir[B]=k}},add(q,k){let y=F.get(q);if(!y)y=new Set,F.set(q,y);y.add(k)},getAll(){let q=Object.fromEntries(D);for(let[k,y]of z){if(y.count===0)continue;q[`${k}_count`]=y.count,q[`${k}_min`]=y.min,q[`${k}_max`]=y.max,q[`${k}_avg`]=y.sum/y.count;let B=[...y.reservoir].sort((G,H)=>G-H);q[`${k}_p50`]=L(B,50),q[`${k}_p95`]=L(B,95),q[`${k}_p99`]=L(B,99)}for(let[k,y]of F)q[k]=y.size;return q}}}var Z=J.createContext(null);function C(D){let z=Y.c(7),{store:F,children:q}=D,k;if(z[0]===Symbol.for("react.memo_cache_sentinel"))k=V(),z[0]=k;else k=z[0];let B=F??k,G,H;if(z[1]!==B)G=()=>{let M=()=>{let N=B.getAll();if(Object.keys(N).length>0)W((A)=>({...A,lastSessionMetrics:N}))};return process.on("exit",M),()=>{process.off("exit",M)}},H=[B],z[1]=B,z[2]=G,z[3]=H;else G=z[2],H=z[3];J.useEffect(G,H);let K;if(z[4]!==q||z[5]!==B)K=X(Z.Provider,{value:B,children:q}),z[4]=q,z[5]=B,z[6]=K;else K=z[6];return K}
2
+ export{V as fa,C as ga};
@@ -0,0 +1,2 @@
1
+ import{CM as x,FM as B}from"./cli-0.5.9-k9yedz53.mjs";import{Lna as z}from"./cli-0.5.9-ysvsqcpa.mjs";function H(q){if(!q)return 0;return q.activeAgents.filter((b)=>b.source!=="built-in").reduce((b,w)=>{let y=`${w.agentType}: ${w.whenToUse}`;return b+x(y)},0)}var G=15000;var A=z(()=>{B()});
2
+ export{G as vg,H as wg,A as xg};
@@ -0,0 +1,5 @@
1
+ import{Cm as D,Gm as r,IC as F,JC as y,MC as S,SC as o}from"./cli-0.5.9-k9yedz53.mjs";import{AV as l,BV as z,CV as O,zV as A}from"./cli-0.5.9-qexy3mqr.mjs";import{T6 as x,U6 as d,W6 as b,X6 as g}from"./cli-0.5.9-0b1wx67c.mjs";import{Cfa as L,Gfa as c,Qfa as V,Tfa as I,wfa as k,yfa as p}from"./cli-0.5.9-ek649arf.mjs";import{Ama as C,zma as T}from"./cli-0.5.9-dtbcqw2e.mjs";import{Lna as w}from"./cli-0.5.9-ysvsqcpa.mjs";import{spawn as G,spawnSync as _}from"child_process";import{basename as R}from"path";function u(q){return!!b(q)}function N(q){let H=R(q.split(" ")[0]??"");return h.find((B)=>H.includes(B))}function m(q,H,B){if(!B)return[H];if(f.has(q))return["-g",`${H}:${B}`];if(q==="subl")return[`${H}:${B}`];return[H]}function Qq(q,H){let B=v();if(!B)return!1;let J=B.split(" "),X=J[0]??B,K=J.slice(1),Q=N(B);if(Q){let W=m(Q,q,H),Z={detached:!0,stdio:"ignore"},M;if(process.platform==="win32"){let U=W.map((E)=>`"${E}"`).join(" ");M=G(`${B} ${U}`,{...Z,shell:!0})}else M=G(X,[...K,...W],Z);return M.on("error",(U)=>V(`editor spawn failed: ${U}`,{level:"error"})),M.unref(),!0}let $=z.get(process.stdout);if(!$)return!1;let Y=H&&P.test(R(X));$.enterAlternateScreen();try{let W={stdio:"inherit"},Z;if(process.platform==="win32"){let M=Y?`+${H} `:"";Z=_(`${B} ${M}"${q}"`,{...W,shell:!0})}else{let M=[...K,...Y?[`+${H}`,q]:[q]];Z=_(X,M,W)}if(Z.error)return V(`editor spawn failed: ${Z.error}`,{level:"error"}),!1;return!0}finally{$.exitAlternateScreen()}}var h,P,f,v;var j=w(()=>{C();O();I();g();h=["code","cursor","windsurf","codium","subl","atom","gedit","notepad++","notepad"],P=/\b(vi|vim|nvim|nano|emacs|pico|micro|helix|hx)\b/,f=new Set(["code","cursor","windsurf","codium"]);v=T(()=>{if(process.env.VISUAL?.trim())return process.env.VISUAL.trim();if(process.env.EDITOR?.trim())return process.env.EDITOR.trim();if(process.platform==="win32")return"start /wait notepad";return["code","vi","nano"].find((H)=>u(H))})});function a(q){return N(q)!==void 0}function i(q){let H=L(),B=z.get(process.stdout);if(!B)throw Error("Ink instance not found - cannot pause rendering");let J=v();if(!J)return{content:null};try{H.statSync(q)}catch{return{content:null}}let X=!a(J);if(X)B.enterAlternateScreen();else B.pause(),B.suspendStdin();try{let K=s[J]??J;return x(`${K} "${q}"`,{stdio:"inherit"}),{content:H.readFileSync(q,{encoding:"utf-8"})}}catch(K){if(typeof K==="object"&&K!==null&&"status"in K&&typeof K.status==="number"){let Q=K.status;if(Q!==0)return{content:null,error:`${D(J)} exited with code ${Q}`}}return{content:null}}finally{if(X)B.exitAlternateScreen();else B.resumeStdin(),B.resume()}}function n(q,H,B){let J=q;for(let[X,K]of Object.entries(B))if(K.type==="text"){let Q=parseInt(X),$=K.content,Y=J.indexOf($);if(Y!==-1){let W=F($),Z=y(Q,W);J=J.slice(0,Y)+Z+J.slice(Y+$.length)}}return J}function Nq(q,H){let B=L(),J=A();try{let X=H?S(q,H):q;k(J,X,{encoding:"utf-8",flush:!0});let K=i(J);if(K.content===null)return K;let Q=K.content;if(Q.endsWith(`
2
+ `)&&!Q.endsWith(`
3
+
4
+ `))Q=Q.slice(0,-1);if(H)Q=n(Q,q,H);return{content:Q}}finally{try{B.unlinkSync(J)}catch{}}}var s;var t=w(()=>{o();O();j();d();c();r();p();l();s={code:"code -w",subl:"subl --wait"}});
5
+ export{Qq as wf,v as xf,j as yf,i as zf,Nq as Af,t as Bf};
@@ -0,0 +1,9 @@
1
+ import{p4 as S}from"./cli-0.5.9-vkt9t3z8.mjs";import{Cfa as E,Gfa as o,Qfa as $,Tfa as d}from"./cli-0.5.9-ek649arf.mjs";import{Fga as r,uga as u,vga as BG}from"./cli-0.5.9-eagw660r.mjs";import{Ama as f,zma as q}from"./cli-0.5.9-dtbcqw2e.mjs";import{Wma as B,mna as LG}from"./cli-0.5.9-7bq8wzr3.mjs";import{qna as YG}from"./cli-0.5.9-2jfbm2es.mjs";import{Hna as QG,Lna as F,Mna as FG}from"./cli-0.5.9-ysvsqcpa.mjs";function CG(){H.cache.clear?.(),$("Cleared CA certificates cache")}var H;var l=F(()=>{f();d();r();o();H=q(()=>{let G=u("--use-system-ca")||u("--use-openssl-ca"),J=process.env.NODE_EXTRA_CA_CERTS;if($(`CA certs: useSystemCA=${G}, extraCertsPath=${J}`),!G&&!J)return;let K=FG("tls"),Q=[];if(G){let Y=K.getCACertificates,Z=Y?.("system");if(Z&&Z.length>0)Q.push(...Z),$(`CA certs: Loaded ${Q.length} system CA certificates (--use-system-ca)`);else if(!Y&&!J){$("CA certs: --use-system-ca set but system CA API unavailable, deferring to runtime");return}else Q.push(...K.rootCertificates),$(`CA certs: Loaded ${Q.length} bundled root certificates as base (--use-system-ca fallback)`)}else Q.push(...K.rootCertificates),$(`CA certs: Loaded ${Q.length} bundled root certificates as base`);if(J)try{let Y=E().readFileSync(J,{encoding:"utf8"});Q.push(Y),$(`CA certs: Appended extra certificates from NODE_EXTRA_CA_CERTS (${J})`)}catch(Y){$(`CA certs: Failed to read NODE_EXTRA_CA_CERTS file (${J}): ${Y}`,{level:"error"})}return Q.length>0?Q:void 0})});import{Agent as NG}from"https";function lG(){let G=j(),J=H();if(!G&&!J)return;return{...G,...J&&{ca:J}}}function O(){let G=j(),J=H();if(!G&&!J)return{};let K={...G,...J&&{ca:J}};if(typeof Bun<"u")return{tls:K};return $("TLS: Created undici agent with custom certificates"),{dispatcher:new(S()).Agent({connect:{cert:K.cert,key:K.key,passphrase:K.passphrase,...K.ca&&{ca:K.ca}},pipelining:1})}}function cG(){j.cache.clear?.(),D.cache.clear?.(),$("Cleared mTLS configuration cache")}function gG(){if(!j())return;if(process.env.NODE_EXTRA_CA_CERTS)$("NODE_EXTRA_CA_CERTS detected - Node.js will automatically append to built-in CAs")}var j,D;var t=F(()=>{f();l();d();o();j=q(()=>{let G={};if(process.env.CLAUDE_CODE_CLIENT_CERT)try{G.cert=E().readFileSync(process.env.CLAUDE_CODE_CLIENT_CERT,{encoding:"utf8"}),$("mTLS: Loaded client certificate from CLAUDE_CODE_CLIENT_CERT")}catch(J){$(`mTLS: Failed to load client certificate: ${J}`,{level:"error"})}if(process.env.CLAUDE_CODE_CLIENT_KEY)try{G.key=E().readFileSync(process.env.CLAUDE_CODE_CLIENT_KEY,{encoding:"utf8"}),$("mTLS: Loaded client key from CLAUDE_CODE_CLIENT_KEY")}catch(J){$(`mTLS: Failed to load client key: ${J}`,{level:"error"})}if(process.env.CLAUDE_CODE_CLIENT_KEY_PASSPHRASE)G.passphrase=process.env.CLAUDE_CODE_CLIENT_KEY_PASSPHRASE,$("mTLS: Using client key passphrase");if(Object.keys(G).length===0)return;return G}),D=q(()=>{let G=j(),J=H();if(!G&&!J)return;let K={...G,...J&&{ca:J},keepAlive:!0};return $("mTLS: Creating HTTPS agent with custom certificates"),new NG(K)})});var e=()=>{};import*as GG from"net";import*as JG from"http";import{Agent as TG}from"https";var V,c;var KG=F(()=>{e();V=Symbol("AgentBaseInternalState");c=class c extends JG.Agent{constructor(G){super(G);this[V]={}}isSecureEndpoint(G){if(G){if(typeof G.secureEndpoint==="boolean")return G.secureEndpoint;if(typeof G.protocol==="string")return G.protocol==="https:"}let{stack:J}=Error();if(typeof J!=="string")return!1;return J.split(`
2
+ `).some((K)=>K.indexOf("(https.js:")!==-1||K.indexOf("node:https:")!==-1)}incrementSockets(G){if(this.maxSockets===1/0&&this.maxTotalSockets===1/0)return null;if(!this.sockets[G])this.sockets[G]=[];let J=new GG.Socket({writable:!1});return this.sockets[G].push(J),this.totalSocketCount++,J}decrementSockets(G,J){if(!this.sockets[G]||J===null)return;let K=this.sockets[G],Q=K.indexOf(J);if(Q!==-1){if(K.splice(Q,1),this.totalSocketCount--,K.length===0)delete this.sockets[G]}}getName(G){if(this.isSecureEndpoint(G))return TG.prototype.getName.call(this,G);return super.getName(G)}createSocket(G,J,K){let Q={...J,secureEndpoint:this.isSecureEndpoint(J)},Y=this.getName(Q),Z=this.incrementSockets(Y);Promise.resolve().then(()=>this.connect(G,Q)).then((w)=>{if(this.decrementSockets(Y,Z),typeof w.addRequest==="function")try{return w.addRequest(G,Q)}catch(W){return K(W)}this[V].currentSocket=w,super.createSocket(G,J,K)},(w)=>{this.decrementSockets(Y,Z),K(w)})}createConnection(){let G=this[V].currentSocket;if(this[V].currentSocket=void 0,!G)throw Error("No socket was returned in the `connect()` function");return G}get defaultPort(){return this[V].defaultPort??(this.protocol==="https:"?443:80)}set defaultPort(G){if(this[V])this[V].defaultPort=G}get protocol(){return this[V].protocol??(this.isSecureEndpoint()?"https:":"http:")}set protocol(G){if(this[V])this[V].protocol=G}}});function $G(G){return new Promise((J,K)=>{let Q=0,Y=[];function Z(){let z=G.read();if(z)h(z);else G.once("readable",Z)}function w(){G.removeListener("end",W),G.removeListener("error",M),G.removeListener("readable",Z)}function W(){w(),b("onend"),K(Error("Proxy connection ended before receiving CONNECT response"))}function M(z){w(),b("onerror %o",z),K(z)}function h(z){Y.push(z),Q+=z.length;let X=Buffer.concat(Y,Q),i=X.indexOf(`\r
3
+ \r
4
+ `);if(i===-1){b("have not received end of HTTP headers yet..."),Z();return}let n=X.slice(0,i).toString("ascii").split(`\r
5
+ `),C=n.shift();if(!C)return G.destroy(),K(Error("No header received from proxy CONNECT response"));let s=C.split(" "),UG=+s[1],_G=s.slice(2).join(" "),T={};for(let I of n){if(!I)continue;let x=I.indexOf(":");if(x===-1)return G.destroy(),K(Error(`Invalid header from proxy CONNECT response: "${I}"`));let m=I.slice(0,x).toLowerCase(),y=I.slice(x+1).trimStart(),R=T[m];if(typeof R==="string")T[m]=[R,y];else if(Array.isArray(R))R.push(y);else T[m]=y}b("got proxy server response: %o %o",C,T),w(),J({connect:{statusCode:UG,statusText:_G,headers:T},buffered:X})}G.on("error",M),G.on("end",W),Z()})}var ZG,b;var WG=F(()=>{ZG=QG(YG(),1),b=ZG.default("https-proxy-agent:parse-proxy-response")});import*as U from"net";import*as g from"tls";import IG from"assert";import{URL as EG}from"url";function SG(G){G.resume()}function XG(G,...J){let K={},Q;for(Q in G)if(!J.includes(Q))K[Q]=G[Q];return K}var zG,L,wG=(G)=>{if(G.servername===void 0&&G.host&&!U.isIP(G.host))return{...G,servername:G.host};return G},A;var VG=F(()=>{KG();WG();zG=QG(YG(),1),L=zG.default("https-proxy-agent");A=class A extends c{constructor(G,J){super(J);this.options={path:void 0},this.proxy=typeof G==="string"?new EG(G):G,this.proxyHeaders=J?.headers??{},L("Creating new HttpsProxyAgent instance: %o",this.proxy.href);let K=(this.proxy.hostname||this.proxy.host).replace(/^\[|\]$/g,""),Q=this.proxy.port?parseInt(this.proxy.port,10):this.proxy.protocol==="https:"?443:80;this.connectOpts={ALPNProtocols:["http/1.1"],...J?XG(J,"headers"):null,host:K,port:Q}}async connect(G,J){let{proxy:K}=this;if(!J.host)throw TypeError('No "host" provided');let Q;if(K.protocol==="https:")L("Creating `tls.Socket`: %o",this.connectOpts),Q=g.connect(wG(this.connectOpts));else L("Creating `net.Socket`: %o",this.connectOpts),Q=U.connect(this.connectOpts);let Y=typeof this.proxyHeaders==="function"?this.proxyHeaders():{...this.proxyHeaders},Z=U.isIPv6(J.host)?`[${J.host}]`:J.host,w=`CONNECT ${Z}:${J.port} HTTP/1.1\r
6
+ `;if(K.username||K.password){let X=`${decodeURIComponent(K.username)}:${decodeURIComponent(K.password)}`;Y["Proxy-Authorization"]=`Basic ${Buffer.from(X).toString("base64")}`}if(Y.Host=`${Z}:${J.port}`,!Y["Proxy-Connection"])Y["Proxy-Connection"]=this.keepAlive?"Keep-Alive":"close";for(let X of Object.keys(Y))w+=`${X}: ${Y[X]}\r
7
+ `;let W=$G(Q);Q.write(`${w}\r
8
+ `);let{connect:M,buffered:h}=await W;if(G.emit("proxyConnect",M),this.emit("proxyConnect",M,G),M.statusCode===200){if(G.once("socket",SG),J.secureEndpoint)return L("Upgrading socket connection to TLS"),g.connect({...XG(wG(J),"host","path","port"),socket:Q});return Q}Q.destroy();let z=new U.Socket({writable:!1});return z.readable=!0,G.once("socket",(X)=>{L("Replaying proxy buffer for failed request"),IG(X.listenerCount("data")>0),X.push(h),X.push(null)}),z}};A.protocols=["http","https"]});function XJ(G){a.set(G,!0),MG(G)}function MG(G){jG.cache.delete?.(G)}function zJ(G){qG.set(G,!0),MG(G)}function RG(G){return qG.get(G)===!0}function DG(G){switch(G.family){case 0:case 4:case 6:return G.family;case"IPv6":return 6;case"IPv4":case void 0:return 4;default:throw Error(`Unsupported address family: ${G.family}`)}}function N(G=process.env){return G.https_proxy||G.HTTPS_PROXY||G.http_proxy||G.HTTP_PROXY}function OG(G=process.env){return G.no_proxy||G.NO_PROXY}function P(G,J=OG()){if(!J)return!1;if(J==="*")return!0;try{let K=new URL(G),Q=K.hostname.toLowerCase(),Y=K.port||(K.protocol==="https:"||K.protocol==="wss:"?"443":"80"),Z=`${Q}:${Y}`;return J.split(/[,\s]+/).filter(Boolean).some((W)=>{if(W=W.toLowerCase().trim(),W.includes(":"))return Z===W;if(W.startsWith(".")){let M=W;return Q===W.substring(1)||Q.endsWith(M)}return Q===W})}catch{return!1}}function v(G,J={}){let K=j(),Q=H(),Y={...K&&{cert:K.cert,key:K.key,passphrase:K.passphrase},...Q&&{ca:Q}};if(BG(process.env.CLAUDE_CODE_PROXY_RESOLVES_HOSTS))Y.lookup=(Z,w,W)=>{W(null,Z,DG(w))};return new A(G,{...Y,...J})}function VJ(G={}){let J=N(),K=D(),Q=B.create({proxy:!1});if(!J){if(K)Q.defaults.httpsAgent=K;return Q}let Y=v(J,G);return Q.interceptors.request.use((Z)=>{if(Z.url&&P(Z.url))Z.httpsAgent=K,Z.httpAgent=K;else Z.httpsAgent=Y,Z.httpAgent=Y;return Z}),Q}function BJ(G){let J=N();if(!J)return;if(P(G))return;return v(J)}function MJ(G){let J=N();if(!J)return;if(P(G))return;return J}function qJ(G){let J=G?.provider&&a.get(G.provider)?{keepalive:!1}:{};if(G?.forAnthropicAPI){let Y=process.env.ANTHROPIC_UNIX_SOCKET;if(Y&&typeof Bun<"u")return{...J,unix:Y}}let K=N();if(K){if(typeof Bun<"u")return{...J,proxy:K,...O()};return{...J,dispatcher:p(K)}}let Q=O();if(G?.provider&&!Q.dispatcher)return{...J,...Q,dispatcher:jG(G.provider)};return{...J,...Q}}function HJ(){let G=N(),J=D();if(k!==void 0)B.interceptors.request.eject(k),k=void 0;if(B.defaults.proxy=void 0,B.defaults.httpAgent=void 0,B.defaults.httpsAgent=void 0,G){B.defaults.proxy=!1;let K=v(G);k=B.interceptors.request.use((Q)=>{if(Q.url&&P(Q.url))if(J)Q.httpsAgent=J,Q.httpAgent=J;else delete Q.httpsAgent,delete Q.httpAgent;else Q.httpsAgent=K,Q.httpAgent=K;return Q}),S().setGlobalDispatcher(p(G))}else if(J){B.defaults.httpsAgent=J;let K=O();if(K.dispatcher)S().setGlobalDispatcher(K.dispatcher)}}async function jJ(){let G=N();if(!G)return{};let[{NodeHttpHandler:J},{defaultProvider:K}]=await Promise.all([import("./index-0.5.9-725p0eby.mjs"),import("./index-0.5.9-pbzzad7t.mjs")]),Q=v(G),Y=new J({httpAgent:Q,httpsAgent:Q});return{requestHandler:Y,credentials:K({clientConfig:{requestHandler:Y}})}}function UJ(){p.cache.clear?.(),$("Cleared proxy agent cache")}var a,qG,p,_,HG,bG,jG,k;var AG=F(()=>{LG();VG();f();l();d();r();t();a=new Map;qG=new Map;p=q((G)=>{let J=S(),K=j(),Q=H(),Y={httpProxy:G,httpsProxy:G,noProxy:process.env.NO_PROXY||process.env.no_proxy};if(K||Q){let Z={...K&&{cert:K.cert,key:K.key,passphrase:K.passphrase},...Q&&{ca:Q}};Y.connect=Z,Y.requestTls=Z}return new J.EnvHttpProxyAgent(Y)}),_={connections:12,keepAliveTimeout:30000,pipelining:1},HG={firstParty:{..._,allowH2:!0},openai:{..._,allowH2:!0},gemini:{..._,allowH2:!0},mistral:{..._,allowH2:!0},github:{..._,allowH2:!0},codex:{..._,allowH2:!0},"nvidia-nim":{..._,allowH2:!0},minimax:{..._,allowH2:!0}},bG=HG.openai,jG=q((G)=>{let J=S(),K=HG[G]??bG,Q={...K,allowH2:K.allowH2&&!RG(G),keepAliveTimeout:a.get(G)?100:K.keepAliveTimeout};return new J.Agent(Q)})});
9
+ export{CG as U3,l as V3,j as W3,lG as X3,cG as Y3,gG as Z3,t as _3,XJ as $3,zJ as a4,RG as b4,N as c4,P as d4,VJ as e4,BJ as f4,MJ as g4,qJ as h4,HJ as i4,jJ as j4,UJ as k4,AG as l4};
@@ -0,0 +1,2 @@
1
+ import{HX as X,JX as k,LV as f,tX as W}from"./cli-0.5.9-qexy3mqr.mjs";import{lZ as V,mZ as J,oZ as K}from"./cli-0.5.9-krvpcgvw.mjs";import{pZ as P}from"./cli-0.5.9-bp09b2xm.mjs";import{vca as U,wca as O}from"./cli-0.5.9-5vdqnecb.mjs";import{Hna as Q,Lna as L}from"./cli-0.5.9-ysvsqcpa.mjs";import{PassThrough as C}from"stream";function E(q){let b=Z.c(5),{children:w}=q,{exit:z}=W(),B,H;if(b[0]!==z)B=()=>{let D=setTimeout(z,0);return()=>clearTimeout(D)},H=[z],b[0]=z,b[1]=B,b[2]=H;else B=b[1],H=b[2];y.useLayoutEffect(B,H);let G;if(b[3]!==w)G=J(V,{children:w}),b[3]=w,b[4]=G;else G=b[4];return G}function Y(q){let b=q.indexOf(M);if(b===-1)return q;let w=b+M.length,z=q.indexOf(F,w);if(z===-1)return q;return q.slice(w,z)}function g(q,b){return new Promise(async(w)=>{let z="",B=new C;if(b!==void 0)B.columns=b;B.on("data",(G)=>{z+=G.toString()});let H=await X(J(E,{children:q}),{stdout:B,patchConsole:!1});await Promise.race([H.waitUntilExit(),new Promise((G)=>setTimeout(G,3000))]),await w(Y(z))})}async function N(q,b){let w=await g(q,b);return U(w)}var Z,y,M="\x1B[?2026h",F="\x1B[?2026l";var j=L(()=>{O();k();K();Z=Q(f(),1),y=Q(P(),1)});
2
+ export{g as Gc,N as Hc,j as Ic};
@@ -0,0 +1,2 @@
1
+ import{LV as f}from"./cli-0.5.9-qexy3mqr.mjs";import{mZ as p,oZ as c}from"./cli-0.5.9-krvpcgvw.mjs";import{pZ as M}from"./cli-0.5.9-bp09b2xm.mjs";import{Hna as o}from"./cli-0.5.9-ysvsqcpa.mjs";c();var n=o(f(),1),r=o(M(),1),d=r.createContext(void 0);function a(F){let e=n.c(3),{getFpsMetrics:s,children:i}=F,t;if(e[0]!==i||e[1]!==s)t=p(d.Provider,{value:s,children:i}),e[0]=i,e[1]=s,e[2]=t;else t=e[2];return t}function l(){return r.useContext(d)}
2
+ export{a as pb,l as qb};
@@ -0,0 +1,2 @@
1
+ import{$b as K,_b as z}from"./cli-0.5.9-jjtdefqj.mjs";import{LG as w,NG as J}from"./cli-0.5.9-k9yedz53.mjs";import{pZ as H}from"./cli-0.5.9-bp09b2xm.mjs";import{Hna as E,Lna as G}from"./cli-0.5.9-ysvsqcpa.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 Wb,N as Xb};
@@ -0,0 +1,3 @@
1
+ import{AY as d,BY as X,FY as N}from"./cli-0.5.9-ywc7arzn.mjs";import{Raa as p,T$ as O,U$ as f,kca as B,sca as y,uaa as U,xaa as G}from"./cli-0.5.9-0b1wx67c.mjs";import{hga as x,pga as b}from"./cli-0.5.9-yazhwsgb.mjs";import{Fga as E,sga as H}from"./cli-0.5.9-eagw660r.mjs";import{Yja as w,ama as P}from"./cli-0.5.9-3bsjckc3.mjs";import{Wma as k,mna as S}from"./cli-0.5.9-7bq8wzr3.mjs";import{Hna as M,Lna as R}from"./cli-0.5.9-ysvsqcpa.mjs";import{mkdir as _,readFile as V,writeFile as A}from"fs/promises";import{dirname as L,join as m}from"path";function W(){return m(H(),"cache","changelog.md")}async function Jq(){let J=G();if(!J.cachedChangelog)return;let q=W();try{await _(L(q),{recursive:!0}),await A(q,J.cachedChangelog,{encoding:"utf-8",flag:"wx"})}catch{}U(({cachedChangelog:Y,...z})=>z)}async function C(){if(w())return;if(O())return;let J=await k.get(v);if(J.status===200){let q=J.data;if(q===$)return;let Y=W();await _(L(Y),{recursive:!0}),await A(Y,q,{encoding:"utf-8"}),$=q;let z=Date.now();U((K)=>({...K,changelogLastFetched:z}))}}async function h(){if($!==null)return $;let J=W();try{let q=await V(J,"utf-8");return $=q,q}catch{return $="",""}}function j(){return $??""}function F(J){try{if(!J)return{};let q={},Y=J.split(/^## /gm).slice(1);for(let z of Y){let K=z.trim().split(`
2
+ `);if(K.length===0)continue;let Q=K[0];if(!Q)continue;let Z=Q.split(" - ")[0]?.trim()||"";if(!Z)continue;let D=K.slice(1).filter((I)=>I.trim().startsWith("- ")).map((I)=>I.trim().substring(2).trim()).filter(Boolean);if(D.length>0)q[Z]=D}return q}catch(q){return B(x(q)),{}}}function l(J,q,Y=j()){try{let z=F(Y),K=T.coerce(J),Q=q?T.coerce(q):null;if(!Q||K&&X(K.version,Q.version))return Object.entries(z).filter(([Z])=>!Q||X(Z,Q.version)).sort(([Z],[D])=>X(Z,D)?-1:1).flatMap(([Z,D])=>D).filter(Boolean).slice(0,u)}catch(z){return B(x(z)),[]}return[]}function Kq(J=j()){try{let q=F(J);return Object.keys(q).sort((z,K)=>X(z,K)?1:-1).map((z)=>{let K=q[z];if(!K||K.length===0)return null;let Q=K.filter(Boolean);if(Q.length===0)return null;return[z,Q]}).filter((z)=>z!==null)}catch(q){return B(x(q)),[]}}async function Qq(J,q="99.0.0"){let Y=await h();if(J!==q||!Y)C().catch((Q)=>B(x(Q)));let z=l(q,J,Y);return{hasReleaseNotes:z.length>0,releaseNotes:z}}var T,u=5,zq="https://github.com/anthropics/claude-code/blob/main/CHANGELOG.md",v="https://raw.githubusercontent.com/anthropics/claude-code/refs/heads/main/CHANGELOG.md",$=null;var g=R(()=>{S();P();p();E();b();y();f();N();T=M(d(),1)});
3
+ export{zq as kf,Jq as lf,C as mf,h as nf,Kq as of,Qq as pf,g as qf};
@@ -0,0 +1,50 @@
1
+ import{Wc as la,Xc as fc}from"./cli-0.5.9-d66wktpd.mjs";import{$c as ra,Yc as lt,Zc as Tn,_c as wn,bd as _c}from"./cli-0.5.9-68rmtj23.mjs";import{cd as un,fd as Ac}from"./cli-0.5.9-dszssq6z.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.9-k9yedz53.mjs";import{fV as hn,hV as sc,pV as ta,qV as yc}from"./cli-0.5.9-qy6qkzwb.mjs";import{JX as Ot,cX as w,eX as o}from"./cli-0.5.9-qexy3mqr.mjs";import{GY as zt,HY as Rt,IY as At,JY as _t,KY as Qa,NY as ft,RY as kt,SY as aa,TY as pt}from"./cli-0.5.9-02vwh5bc.mjs";import{lZ as yn,mZ as h,nZ as C,oZ as Sn}from"./cli-0.5.9-krvpcgvw.mjs";import{pZ as In}from"./cli-0.5.9-bp09b2xm.mjs";import{MZ as xt,NZ as rc}from"./cli-0.5.9-w1g3tgzh.mjs";import{$aa as gn,Aba as nc,Bba as ot,Cba as Pt,Dba as rt,Fba as It,Hba as na,Saa as vt,Taa as cn,Uaa as mc,Uba as dc,Vaa as Fn,Waa as P,Yaa as Q,Zaa as $n,aba as ct,bba as nn,cba as dn,gba as sn,hba as ut,iba as ht,k6 as an,l6 as ec,mba as wt,rba as vn,sba as Vt,tba as Yt,uba as Ln,vba as nt,wba as Qt,xba as Dn,yba as Xt,zba as Ht}from"./cli-0.5.9-0b1wx67c.mjs";import{Fga as Wt,xga as bn}from"./cli-0.5.9-eagw660r.mjs";import{Hna as Pn,Ina as ic,Lna as v}from"./cli-0.5.9-ysvsqcpa.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 Rc,Ft as Sc,Lc as Tc,ku as Uc,Yc as Vc};
@@ -0,0 +1,2 @@
1
+ import{RS as M,TS as X}from"./cli-0.5.9-4aga12a5.mjs";import{H$ as W,L8 as B,U8 as V,s$ as K,y$ as L}from"./cli-0.5.9-0b1wx67c.mjs";import{Lna as Q}from"./cli-0.5.9-ysvsqcpa.mjs";async function F(){let b=await M();if(b.length===0)return{availableEnvironments:[],selectedEnvironment:null,selectedEnvironmentSource:null};let z=L()?.remote?.defaultEnvironmentId,H=b.find((x)=>x.kind!=="bridge")??b[0],J=null;if(z){let x=b.find((q)=>q.environment_id===z);if(x){H=x;for(let q=B.length-1;q>=0;q--){let y=B[q];if(!y||y==="flagSettings")continue;if(K(y)?.remote?.defaultEnvironmentId===z){J=y;break}}}}return{availableEnvironments:b,selectedEnvironment:H,selectedEnvironmentSource:J}}var Y=Q(()=>{V();W();X()});
2
+ export{F as Mb,Y as Nb};