@claudiolabs/claudin 0.5.9 → 0.5.10

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (840) hide show
  1. package/bin/claudin +62 -0
  2. package/dist/chunks/AgentTool-0.5.10-k5mymxpj.mjs +1 -0
  3. package/dist/chunks/App-0.5.10-yzg0d70f.mjs +1 -0
  4. package/dist/chunks/ApproveApiKey-0.5.10-mpm24aq5.mjs +1 -0
  5. package/dist/chunks/AssistantSessionChooser-0.5.10-jbgn5s9r.mjs +1 -0
  6. package/dist/chunks/AutoModeOptInDialog-0.5.10-tk2jpgdr.mjs +1 -0
  7. package/dist/chunks/BypassPermissionsModeDialog-0.5.10-2gqvp73t.mjs +1 -0
  8. package/dist/chunks/ClaudeMdExternalIncludesDialog-0.5.10-mwwqh2cz.mjs +1 -0
  9. package/dist/chunks/ConsoleOAuthFlow-0.5.10-f4wd3yew.mjs +1 -0
  10. package/dist/chunks/DiffDialog-0.5.10-f28xdhns.mjs +3 -0
  11. package/dist/chunks/Doctor-0.5.10-dz3ndek3.mjs +1 -0
  12. package/dist/chunks/Grove-0.5.10-f2m596r7.mjs +1 -0
  13. package/dist/chunks/ITermBackend-0.5.10-k9sjxv27.mjs +1 -0
  14. package/dist/chunks/InvalidConfigDialog-0.5.10-d5f0ba3j.mjs +1 -0
  15. package/dist/chunks/InvalidSettingsDialog-0.5.10-vyexdzf7.mjs +1 -0
  16. package/dist/chunks/MigrationDialog-0.5.10-fxhfd566.mjs +1 -0
  17. package/dist/chunks/Onboarding-0.5.10-61c4a01v.mjs +1 -0
  18. package/dist/chunks/ProviderManager-0.5.10-mhnze07c.mjs +1 -0
  19. package/dist/chunks/REPL-0.5.10-qag06ykw.mjs +1 -0
  20. package/dist/chunks/ResumeConversation-0.5.10-ax66yat2.mjs +1 -0
  21. package/dist/chunks/SnapshotUpdateDialog-0.5.10-mkzs7881.mjs +1 -0
  22. package/dist/chunks/TeleportProgress-0.5.10-762m6e6b.mjs +1 -0
  23. package/dist/chunks/TeleportRepoMismatchDialog-0.5.10-mr8ddjsn.mjs +1 -0
  24. package/dist/chunks/TeleportResumeWrapper-0.5.10-rs9vs3j0.mjs +1 -0
  25. package/dist/chunks/TmuxBackend-0.5.10-s7yrx34h.mjs +9 -0
  26. package/dist/chunks/ToolSearchTool-0.5.10-8tejm808.mjs +1 -0
  27. package/dist/chunks/TrustDialog-0.5.10-v09an4xe.mjs +1 -0
  28. package/dist/chunks/activeProvider-0.5.10-1c68rtzb.mjs +1 -0
  29. package/dist/chunks/add-dir-0.5.10-6hyjyege.mjs +1 -0
  30. package/dist/chunks/agents-0.5.10-34zhsd0m.mjs +110 -0
  31. package/dist/chunks/agents-0.5.10-fa6mrf84.mjs +3 -0
  32. package/dist/chunks/api-0.5.10-hvafwq9b.mjs +1 -0
  33. package/dist/chunks/asciicast-0.5.10-c2nfaps4.mjs +1 -0
  34. package/dist/chunks/assistant-0.5.10-w55twa4a.mjs +1 -0
  35. package/dist/chunks/auth-0.5.10-dmv8dcy1.mjs +1 -0
  36. package/dist/chunks/auth-0.5.10-tqm37j6k.mjs +1 -0
  37. package/dist/chunks/autoMode-0.5.10-bew44c3j.mjs +48 -0
  38. package/dist/chunks/autoUpdater-0.5.10-dav9gs0x.mjs +1 -0
  39. package/dist/chunks/backgroundHousekeeping-0.5.10-rsyjn0x7.mjs +1 -0
  40. package/dist/chunks/branch-0.5.10-k81z6new.mjs +4 -0
  41. package/dist/chunks/bridgePointer-0.5.10-h727df9t.mjs +1 -0
  42. package/dist/chunks/btw-0.5.10-f1syxkz1.mjs +1 -0
  43. package/dist/chunks/buddy-0.5.10-a15r3a8e.mjs +3 -0
  44. package/dist/chunks/cacache-0.5.10-1hz9d6s8.mjs +1 -0
  45. package/dist/chunks/cache-probe-0.5.10-fcxj2wy5.mjs +21 -0
  46. package/dist/chunks/cacheStats-0.5.10-vedv1qp4.mjs +4 -0
  47. package/dist/chunks/caches-0.5.10-fmadrqb1.mjs +1 -0
  48. package/dist/chunks/claudeDesktop-0.5.10-mz1s1yqp.mjs +1 -0
  49. package/dist/chunks/claudemd-0.5.10-9mb95kbb.mjs +1 -0
  50. package/dist/chunks/clear-0.5.10-tshbmj0g.mjs +1 -0
  51. package/dist/chunks/clearTerminal-0.5.10-bjqnvfmf.mjs +1 -0
  52. package/dist/chunks/cli-0.5.10-0ar26ct8.mjs +2 -0
  53. package/dist/chunks/cli-0.5.10-0p24d24e.mjs +2 -0
  54. package/dist/chunks/cli-0.5.10-0sg20shr.mjs +2 -0
  55. package/dist/chunks/cli-0.5.10-0twjtft5.mjs +2 -0
  56. package/dist/chunks/cli-0.5.10-0vs5gmpe.mjs +4 -0
  57. package/dist/chunks/cli-0.5.10-0xb1405m.mjs +2 -0
  58. package/dist/chunks/cli-0.5.10-0yn5x3m6.mjs +2 -0
  59. package/dist/chunks/cli-0.5.10-1gafefn2.mjs +3 -0
  60. package/dist/chunks/cli-0.5.10-207502x5.mjs +2 -0
  61. package/dist/chunks/cli-0.5.10-20w5v1ja.mjs +2 -0
  62. package/dist/chunks/cli-0.5.10-20x96vwq.mjs +2 -0
  63. package/dist/chunks/cli-0.5.10-2c19pn7b.mjs +2 -0
  64. package/dist/chunks/cli-0.5.10-2es9q9n1.mjs +2 -0
  65. package/dist/chunks/cli-0.5.10-2fqes7gy.mjs +193 -0
  66. package/dist/chunks/cli-0.5.10-2qxn5ad9.mjs +2 -0
  67. package/dist/chunks/cli-0.5.10-2yqdkew6.mjs +3 -0
  68. package/dist/chunks/cli-0.5.10-2yrgbmd1.mjs +9 -0
  69. package/dist/chunks/cli-0.5.10-347yjq4a.mjs +2 -0
  70. package/dist/chunks/cli-0.5.10-3xnh04c6.mjs +2 -0
  71. package/dist/chunks/cli-0.5.10-4ekf1v4x.mjs +2 -0
  72. package/dist/chunks/cli-0.5.10-58erwwbz.mjs +3 -0
  73. package/dist/chunks/cli-0.5.10-5m76kmzk.mjs +2 -0
  74. package/dist/chunks/cli-0.5.10-5mp7dx81.mjs +2 -0
  75. package/dist/chunks/cli-0.5.10-5nzsgwh2.mjs +2 -0
  76. package/dist/chunks/cli-0.5.10-5stz3dbm.mjs +2 -0
  77. package/dist/chunks/cli-0.5.10-5w3eaafz.mjs +2 -0
  78. package/dist/chunks/cli-0.5.10-661g0gft.mjs +2 -0
  79. package/dist/chunks/cli-0.5.10-68wvhytx.mjs +10 -0
  80. package/dist/chunks/cli-0.5.10-6c055y30.mjs +2 -0
  81. package/dist/chunks/cli-0.5.10-6g0257t2.mjs +2 -0
  82. package/dist/chunks/cli-0.5.10-6jarntdq.mjs +2 -0
  83. package/dist/chunks/cli-0.5.10-6twsf5qs.mjs +2 -0
  84. package/dist/chunks/cli-0.5.10-6wzddpjt.mjs +42 -0
  85. package/dist/chunks/cli-0.5.10-6y9d3fye.mjs +45 -0
  86. package/dist/chunks/cli-0.5.10-6z4j2qja.mjs +24 -0
  87. package/dist/chunks/cli-0.5.10-6zwxmza2.mjs +4 -0
  88. package/dist/chunks/cli-0.5.10-7f5q1zvk.mjs +2 -0
  89. package/dist/chunks/cli-0.5.10-7j4590js.mjs +2 -0
  90. package/dist/chunks/cli-0.5.10-7shp24xv.mjs +3 -0
  91. package/dist/chunks/cli-0.5.10-7tpa30tv.mjs +3 -0
  92. package/dist/chunks/cli-0.5.10-84q7z5hq.mjs +2 -0
  93. package/dist/chunks/cli-0.5.10-84z0ztsf.mjs +18 -0
  94. package/dist/chunks/cli-0.5.10-87sd2pqh.mjs +3 -0
  95. package/dist/chunks/cli-0.5.10-8f53zcp3.mjs +2 -0
  96. package/dist/chunks/cli-0.5.10-8jjacn05.mjs +5262 -0
  97. package/dist/chunks/cli-0.5.10-8kpt6897.mjs +3 -0
  98. package/dist/chunks/cli-0.5.10-8wqagr68.mjs +4 -0
  99. package/dist/chunks/cli-0.5.10-8zwd1xme.mjs +25 -0
  100. package/dist/chunks/cli-0.5.10-948wwm63.mjs +2 -0
  101. package/dist/chunks/cli-0.5.10-9dazv3hg.mjs +2 -0
  102. package/dist/chunks/cli-0.5.10-9ek8f4vk.mjs +2 -0
  103. package/dist/chunks/cli-0.5.10-9h23hhgb.mjs +2 -0
  104. package/dist/chunks/cli-0.5.10-9mt7ynrh.mjs +2 -0
  105. package/dist/chunks/cli-0.5.10-9xc8zhxg.mjs +59 -0
  106. package/dist/chunks/cli-0.5.10-9ynpb3y0.mjs +21 -0
  107. package/dist/chunks/cli-0.5.10-a1hh6v31.mjs +2 -0
  108. package/dist/chunks/cli-0.5.10-a38pnxbz.mjs +2 -0
  109. package/dist/chunks/cli-0.5.10-a8ecfnq0.mjs +2 -0
  110. package/dist/chunks/cli-0.5.10-atkghjt0.mjs +2 -0
  111. package/dist/chunks/cli-0.5.10-ax0fmeqk.mjs +2 -0
  112. package/dist/chunks/cli-0.5.10-azhfv28d.mjs +2 -0
  113. package/dist/chunks/cli-0.5.10-b4j3x063.mjs +4 -0
  114. package/dist/chunks/cli-0.5.10-b761m5q2.mjs +2 -0
  115. package/dist/chunks/cli-0.5.10-b7r8mjbd.mjs +9 -0
  116. package/dist/chunks/cli-0.5.10-ba15gakh.mjs +2 -0
  117. package/dist/chunks/cli-0.5.10-bad3yv4c.mjs +2 -0
  118. package/dist/chunks/cli-0.5.10-bhb8rt9y.mjs +2 -0
  119. package/dist/chunks/cli-0.5.10-bj0bm26b.mjs +4 -0
  120. package/dist/chunks/cli-0.5.10-bmc43e4g.mjs +2 -0
  121. package/dist/chunks/cli-0.5.10-bsqvacka.mjs +2 -0
  122. package/dist/chunks/cli-0.5.10-c0xtw3q0.mjs +34 -0
  123. package/dist/chunks/cli-0.5.10-c82cgdm7.mjs +133 -0
  124. package/dist/chunks/cli-0.5.10-c9z4tdw2.mjs +2 -0
  125. package/dist/chunks/cli-0.5.10-cm0r4pkd.mjs +3 -0
  126. package/dist/chunks/cli-0.5.10-cw4ykvbj.mjs +2 -0
  127. package/dist/chunks/cli-0.5.10-cz6csv1p.mjs +2 -0
  128. package/dist/chunks/cli-0.5.10-d1y749qy.mjs +2 -0
  129. package/dist/chunks/cli-0.5.10-d2cw91xn.mjs +3 -0
  130. package/dist/chunks/cli-0.5.10-d4d9x2de.mjs +2 -0
  131. package/dist/chunks/cli-0.5.10-d609fanf.mjs +2 -0
  132. package/dist/chunks/cli-0.5.10-d64hr722.mjs +3 -0
  133. package/dist/chunks/cli-0.5.10-d9xf1jnz.mjs +12 -0
  134. package/dist/chunks/cli-0.5.10-dkt8bbmm.mjs +3 -0
  135. package/dist/chunks/cli-0.5.10-dmmckmyf.mjs +12 -0
  136. package/dist/chunks/cli-0.5.10-dvmddb7c.mjs +6 -0
  137. package/dist/chunks/cli-0.5.10-dz26120x.mjs +2 -0
  138. package/dist/chunks/cli-0.5.10-dzr8kmx4.mjs +2 -0
  139. package/dist/chunks/cli-0.5.10-e8tz9596.mjs +2 -0
  140. package/dist/chunks/cli-0.5.10-e8wz8kc0.mjs +58 -0
  141. package/dist/chunks/cli-0.5.10-eh9hq9n3.mjs +2 -0
  142. package/dist/chunks/cli-0.5.10-ewcdy4pj.mjs +2 -0
  143. package/dist/chunks/cli-0.5.10-f3fj7f3q.mjs +2 -0
  144. package/dist/chunks/cli-0.5.10-fcbrnw81.mjs +2 -0
  145. package/dist/chunks/cli-0.5.10-fjvz4bt0.mjs +8 -0
  146. package/dist/chunks/cli-0.5.10-fzx10svb.mjs +2 -0
  147. package/dist/chunks/cli-0.5.10-g4khh98h.mjs +2 -0
  148. package/dist/chunks/cli-0.5.10-gekw3xnm.mjs +2 -0
  149. package/dist/chunks/cli-0.5.10-gk9n4zev.mjs +2 -0
  150. package/dist/chunks/cli-0.5.10-gs8dx67v.mjs +2 -0
  151. package/dist/chunks/cli-0.5.10-hmp23q7z.mjs +2 -0
  152. package/dist/chunks/cli-0.5.10-hzh8tpg0.mjs +2 -0
  153. package/dist/chunks/cli-0.5.10-j1aznw8b.mjs +2 -0
  154. package/dist/chunks/cli-0.5.10-jd7ff66n.mjs +2 -0
  155. package/dist/chunks/cli-0.5.10-jhtht51h.mjs +4 -0
  156. package/dist/chunks/cli-0.5.10-jsnrvena.mjs +2 -0
  157. package/dist/chunks/cli-0.5.10-k0mnqs0g.mjs +15 -0
  158. package/dist/chunks/cli-0.5.10-k1s62rww.mjs +2 -0
  159. package/dist/chunks/cli-0.5.10-k3qbvfj5.mjs +2 -0
  160. package/dist/chunks/cli-0.5.10-kj2g5r8c.mjs +15 -0
  161. package/dist/chunks/cli-0.5.10-kyt82zt5.mjs +2 -0
  162. package/dist/chunks/cli-0.5.10-m0hghx42.mjs +2 -0
  163. package/dist/chunks/cli-0.5.10-mcw01p8b.mjs +2 -0
  164. package/dist/chunks/cli-0.5.10-mgkc1jay.mjs +15 -0
  165. package/dist/chunks/cli-0.5.10-mrgw2c00.mjs +2 -0
  166. package/dist/chunks/cli-0.5.10-mvckg6zv.mjs +17 -0
  167. package/dist/chunks/cli-0.5.10-mxzdkm6r.mjs +2 -0
  168. package/dist/chunks/cli-0.5.10-n70d8n1f.mjs +2 -0
  169. package/dist/chunks/cli-0.5.10-neaex6bh.mjs +2 -0
  170. package/dist/chunks/cli-0.5.10-npmmxjts.mjs +5 -0
  171. package/dist/chunks/cli-0.5.10-nqvng39w.mjs +2 -0
  172. package/dist/chunks/cli-0.5.10-nvmq8pez.mjs +2 -0
  173. package/dist/chunks/cli-0.5.10-nx3m5sa2.mjs +2 -0
  174. package/dist/chunks/cli-0.5.10-p3g04417.mjs +20 -0
  175. package/dist/chunks/cli-0.5.10-p4wmnjhz.mjs +6 -0
  176. package/dist/chunks/cli-0.5.10-p5j82v0t.mjs +2 -0
  177. package/dist/chunks/cli-0.5.10-p7jd1z33.mjs +2 -0
  178. package/dist/chunks/cli-0.5.10-p8hbe96w.mjs +133 -0
  179. package/dist/chunks/cli-0.5.10-pk91q3s6.mjs +4 -0
  180. package/dist/chunks/cli-0.5.10-pq8nhdeq.mjs +2 -0
  181. package/dist/chunks/cli-0.5.10-pr0nkqpw.mjs +2 -0
  182. package/dist/chunks/cli-0.5.10-pr8yqs5v.mjs +2 -0
  183. package/dist/chunks/cli-0.5.10-pxhw9mwz.mjs +2 -0
  184. package/dist/chunks/cli-0.5.10-qvp1fb5n.mjs +2 -0
  185. package/dist/chunks/cli-0.5.10-qw9y3mst.mjs +2 -0
  186. package/dist/chunks/cli-0.5.10-qx17jbqj.mjs +2 -0
  187. package/dist/chunks/cli-0.5.10-r0jt3zrj.mjs +2 -0
  188. package/dist/chunks/cli-0.5.10-rhmrff22.mjs +2 -0
  189. package/dist/chunks/cli-0.5.10-rk7at2tn.mjs +2 -0
  190. package/dist/chunks/cli-0.5.10-rq5mv7xq.mjs +2 -0
  191. package/dist/chunks/cli-0.5.10-rwqvbtg3.mjs +18 -0
  192. package/dist/chunks/cli-0.5.10-rxnwkka5.mjs +24 -0
  193. package/dist/chunks/cli-0.5.10-rzshk2m6.mjs +6 -0
  194. package/dist/chunks/cli-0.5.10-rzz4tgvw.mjs +12 -0
  195. package/dist/chunks/cli-0.5.10-s8bv5q7m.mjs +2 -0
  196. package/dist/chunks/cli-0.5.10-srd78kpc.mjs +7 -0
  197. package/dist/chunks/cli-0.5.10-syb1bnb2.mjs +4 -0
  198. package/dist/chunks/cli-0.5.10-t11my4jb.mjs +2 -0
  199. package/dist/chunks/cli-0.5.10-t9d916t1.mjs +39 -0
  200. package/dist/chunks/cli-0.5.10-tbpqmp1s.mjs +2 -0
  201. package/dist/chunks/cli-0.5.10-tkjtbv56.mjs +2 -0
  202. package/dist/chunks/cli-0.5.10-tqpg21eq.mjs +2 -0
  203. package/dist/chunks/cli-0.5.10-tqyytkxn.mjs +2 -0
  204. package/dist/chunks/cli-0.5.10-tr692cqd.mjs +2 -0
  205. package/dist/chunks/cli-0.5.10-v36c5nnr.mjs +2 -0
  206. package/dist/chunks/cli-0.5.10-v6kj3ej2.mjs +2 -0
  207. package/dist/chunks/cli-0.5.10-vhn14p7a.mjs +2 -0
  208. package/dist/chunks/cli-0.5.10-vhrqqvdz.mjs +5 -0
  209. package/dist/chunks/cli-0.5.10-vpfctkxf.mjs +2 -0
  210. package/dist/chunks/cli-0.5.10-vqkn3pgf.mjs +17 -0
  211. package/dist/chunks/cli-0.5.10-vqrqhas6.mjs +2 -0
  212. package/dist/chunks/cli-0.5.10-vyem3gpm.mjs +2 -0
  213. package/dist/chunks/cli-0.5.10-w29mv5e9.mjs +4 -0
  214. package/dist/chunks/cli-0.5.10-w41wxn5f.mjs +50 -0
  215. package/dist/chunks/cli-0.5.10-w698y5mp.mjs +5 -0
  216. package/dist/chunks/cli-0.5.10-w93v7bhm.mjs +2 -0
  217. package/dist/chunks/cli-0.5.10-xfqxbzc6.mjs +4 -0
  218. package/dist/chunks/cli-0.5.10-xg27xawf.mjs +2 -0
  219. package/dist/chunks/cli-0.5.10-xhy1yx61.mjs +2 -0
  220. package/dist/chunks/cli-0.5.10-xk6v4sy0.mjs +2 -0
  221. package/dist/chunks/cli-0.5.10-xnmg1qwd.mjs +2 -0
  222. package/dist/chunks/cli-0.5.10-xrwj7982.mjs +67 -0
  223. package/dist/chunks/cli-0.5.10-xy780m03.mjs +2 -0
  224. package/dist/chunks/cli-0.5.10-xyscak5q.mjs +16 -0
  225. package/dist/chunks/cli-0.5.10-y0sfzz9t.mjs +2 -0
  226. package/dist/chunks/cli-0.5.10-y0sr20nf.mjs +2 -0
  227. package/dist/chunks/cli-0.5.10-y4tn070k.mjs +1 -0
  228. package/dist/chunks/cli-0.5.10-y7j4tsb5.mjs +2 -0
  229. package/dist/chunks/cli-0.5.10-y9qd4psg.mjs +2 -0
  230. package/dist/chunks/cli-0.5.10-ytqna8q4.mjs +2 -0
  231. package/dist/chunks/cli-0.5.10-yvjnvgky.mjs +2 -0
  232. package/dist/chunks/cli-0.5.10-yxxbgd59.mjs +2 -0
  233. package/dist/chunks/cli-0.5.10-yzqkgb55.mjs +2 -0
  234. package/dist/chunks/cli-0.5.10-z4bzn8vh.mjs +2 -0
  235. package/dist/chunks/cli-0.5.10-z5ysspq8.mjs +2 -0
  236. package/dist/chunks/cli-0.5.10-zk1h67jm.mjs +2 -0
  237. package/dist/chunks/client-0.5.10-a5rmwz53.mjs +1 -0
  238. package/dist/chunks/color-0.5.10-3mtfm5rv.mjs +1 -0
  239. package/dist/chunks/compact-0.5.10-7zdm8hke.mjs +3 -0
  240. package/dist/chunks/config-0.5.10-ns9jcqxp.mjs +1 -0
  241. package/dist/chunks/config-0.5.10-vtf1kzhz.mjs +1 -0
  242. package/dist/chunks/context-0.5.10-qjjyyqx9.mjs +1 -0
  243. package/dist/chunks/context-noninteractive-0.5.10-244bgmbj.mjs +1 -0
  244. package/dist/chunks/conversation-0.5.10-zza66sgq.mjs +1 -0
  245. package/dist/chunks/copy-0.5.10-d6nstaxy.mjs +9 -0
  246. package/dist/chunks/cost-0.5.10-k89r76j7.mjs +1 -0
  247. package/dist/chunks/createSSHSession-0.5.10-xy3z3tdw.mjs +1 -0
  248. package/dist/chunks/createSession-0.5.10-ntrenxk4.mjs +1 -0
  249. package/dist/chunks/debug-0.5.10-bxkhvfc6.mjs +1 -0
  250. package/dist/chunks/defaultActionDeps-0.5.10-h673vq05.mjs +1177 -0
  251. package/dist/chunks/desktop-0.5.10-v0j5w6e8.mjs +1 -0
  252. package/dist/chunks/detectRepository-0.5.10-z29dy30r.mjs +1 -0
  253. package/dist/chunks/detection-0.5.10-jhy1kffq.mjs +1 -0
  254. package/dist/chunks/diff-0.5.10-14m8b77v.mjs +1 -0
  255. package/dist/chunks/doctor-0.5.10-pn374er7.mjs +1 -0
  256. package/dist/chunks/doctorDiagnostic-0.5.10-wkjtp4z5.mjs +1 -0
  257. package/dist/chunks/earlyInput-0.5.10-9nxfn64h.mjs +1 -0
  258. package/dist/chunks/effort-0.5.10-sjn55ka6.mjs +10 -0
  259. package/dist/chunks/envUtils-0.5.10-sdrg5j2r.mjs +1 -0
  260. package/dist/chunks/environmentSelection-0.5.10-nkxtjsa6.mjs +1 -0
  261. package/dist/chunks/environments-0.5.10-j3cwt63g.mjs +1 -0
  262. package/dist/chunks/errors-0.5.10-k3a2vs5j.mjs +1 -0
  263. package/dist/chunks/exampleCommands-0.5.10-s4q3ndpx.mjs +1 -0
  264. package/dist/chunks/exit-0.5.10-aaqjsrb3.mjs +1 -0
  265. package/dist/chunks/export-0.5.10-g3n84jha.mjs +2 -0
  266. package/dist/chunks/extra-usage-0.5.10-1k8453hn.mjs +1 -0
  267. package/dist/chunks/extra-usage-noninteractive-0.5.10-h0s4j23t.mjs +1 -0
  268. package/dist/chunks/fast-0.5.10-6jg8q83t.mjs +1 -0
  269. package/dist/chunks/feedback-0.5.10-f4cms77n.mjs +14 -0
  270. package/dist/chunks/firstPartyEventLogger-0.5.10-mtcdee5x.mjs +1 -0
  271. package/dist/chunks/git-0.5.10-5yr5z4ap.mjs +1 -0
  272. package/dist/chunks/githubModelsCredentials-0.5.10-pfeadzx7.mjs +1 -0
  273. package/dist/chunks/grove-0.5.10-4vzycmmm.mjs +1 -0
  274. package/dist/chunks/growthbook-0.5.10-nf8eqz7k.mjs +1 -0
  275. package/dist/chunks/headless-0.5.10-kqpgc4q6.mjs +2 -0
  276. package/dist/chunks/heapdump-0.5.10-zedkfpnn.mjs +6 -0
  277. package/dist/chunks/help-0.5.10-a3vhmv05.mjs +1 -0
  278. package/dist/chunks/hookChains-0.5.10-yc93jx3d.mjs +3 -0
  279. package/dist/chunks/hooks-0.5.10-negsdbpw.mjs +1 -0
  280. package/dist/chunks/hooks-0.5.10-t26wz67x.mjs +79 -0
  281. package/dist/chunks/ide-0.5.10-qsh8k0we.mjs +3 -0
  282. package/dist/chunks/image-processor-napi-0.5.10-8kz0m2nd.mjs +1 -0
  283. package/dist/chunks/index-0.5.10-0j9kz8a6.mjs +1 -0
  284. package/dist/chunks/index-0.5.10-0wzdjjzk.mjs +5 -0
  285. package/dist/chunks/index-0.5.10-5fsxcv9a.mjs +1 -0
  286. package/dist/chunks/index-0.5.10-6v1h8fb2.mjs +17 -0
  287. package/dist/chunks/index-0.5.10-7t36m4fw.mjs +30 -0
  288. package/dist/chunks/index-0.5.10-8t5phmpa.mjs +9 -0
  289. package/dist/chunks/index-0.5.10-ak9fnp4h.mjs +2 -0
  290. package/dist/chunks/index-0.5.10-asj7h5d6.mjs +9 -0
  291. package/dist/chunks/index-0.5.10-dxkhh5bg.mjs +1 -0
  292. package/dist/chunks/index-0.5.10-eh8w8ayw.mjs +2 -0
  293. package/dist/chunks/index-0.5.10-fjf8d5vq.mjs +1 -0
  294. package/dist/chunks/index-0.5.10-fyt0d84h.mjs +1 -0
  295. package/dist/chunks/index-0.5.10-m8cjzf6y.mjs +1 -0
  296. package/dist/chunks/index-0.5.10-marrtwvx.mjs +1 -0
  297. package/dist/chunks/index-0.5.10-n7zsm7mc.mjs +1 -0
  298. package/dist/chunks/index-0.5.10-p69q9n6x.mjs +1 -0
  299. package/dist/chunks/index-0.5.10-rv6kfzr0.mjs +1 -0
  300. package/dist/chunks/index-0.5.10-s5ttsdnm.mjs +1 -0
  301. package/dist/chunks/index-0.5.10-thyhdy51.mjs +1 -0
  302. package/dist/chunks/index-0.5.10-tncm271j.mjs +1 -0
  303. package/dist/chunks/index-0.5.10-wzxzkrhk.mjs +1 -0
  304. package/dist/chunks/index-0.5.10-x3apane6.mjs +1 -0
  305. package/dist/chunks/init-0.5.10-ef7yaw4p.mjs +1 -0
  306. package/dist/chunks/initReplBridge-0.5.10-we7sga8z.mjs +1 -0
  307. package/dist/chunks/ink-0.5.10-chpcjhk0.mjs +1 -0
  308. package/dist/chunks/insights-0.5.10-advkjwjk.mjs +870 -0
  309. package/dist/chunks/install-0.5.10-znt3x5wn.mjs +1 -0
  310. package/dist/chunks/install-github-app-0.5.10-jg0eqhv0.mjs +149 -0
  311. package/dist/chunks/install-slack-app-0.5.10-ryvy8j96.mjs +1 -0
  312. package/dist/chunks/instrumentation-0.5.10-36atfc3f.mjs +1 -0
  313. package/dist/chunks/interactiveHelpers-0.5.10-asvens6h.mjs +1 -0
  314. package/dist/chunks/keybindings-0.5.10-csc1yzpg.mjs +2 -0
  315. package/dist/chunks/knowledge-0.5.10-tg7cvbym.mjs +2 -0
  316. package/dist/chunks/latestVersionCache-0.5.10-wjt7dbqy.mjs +1 -0
  317. package/dist/chunks/loadAgentsDir-0.5.10-7zwxynjb.mjs +1 -0
  318. package/dist/chunks/loadPluginHooks-0.5.10-c8kk1n2h.mjs +1 -0
  319. package/dist/chunks/loadPluginHooks-0.5.10-qx8rwccw.mjs +1 -0
  320. package/dist/chunks/log-0.5.10-ews8b6yn.mjs +1 -0
  321. package/dist/chunks/main-0.5.10-dxwhwf46.mjs +1 -0
  322. package/dist/chunks/managedEnv-0.5.10-5jce9mqj.mjs +1 -0
  323. package/dist/chunks/mcp-0.5.10-1wxhgtsr.mjs +17 -0
  324. package/dist/chunks/mcp-0.5.10-5wsj8fv2.mjs +1 -0
  325. package/dist/chunks/mcp-0.5.10-ydcjrb4p.mjs +4 -0
  326. package/dist/chunks/mcpb-0.5.10-120rqrb1.mjs +1 -0
  327. package/dist/chunks/memory-0.5.10-0pqjdjed.mjs +3 -0
  328. package/dist/chunks/mobile-0.5.10-kp63nfej.mjs +2 -0
  329. package/dist/chunks/model-0.5.10-9zszn74v.mjs +2 -0
  330. package/dist/chunks/model-0.5.10-b64fg4gd.mjs +1 -0
  331. package/dist/chunks/node-0.5.10-tny076t5.mjs +12 -0
  332. package/dist/chunks/oauth-0.5.10-fccp2x7y.mjs +1 -0
  333. package/dist/chunks/openaiShim-0.5.10-gwjyjn7m.mjs +14 -0
  334. package/dist/chunks/output-style-0.5.10-526tregy.mjs +1 -0
  335. package/dist/chunks/package-D6422PQU-0.5.10-we8amhca.mjs +1 -0
  336. package/dist/chunks/parseConnectUrl-0.5.10-nhkxeakd.mjs +1 -0
  337. package/dist/chunks/parser-0.5.10-m4aj9jm7.mjs +1 -0
  338. package/dist/chunks/passes-0.5.10-vwhmhxn9.mjs +1 -0
  339. package/dist/chunks/permissions-0.5.10-b7p2zxt8.mjs +3 -0
  340. package/dist/chunks/plan-0.5.10-s8612fw1.mjs +1 -0
  341. package/dist/chunks/plist-0.5.10-e8k2gtwm.mjs +1 -0
  342. package/dist/chunks/plugin-0.5.10-pjh90f93.mjs +29 -0
  343. package/dist/chunks/pluginStartupCheck-0.5.10-mamzxaj6.mjs +1 -0
  344. package/dist/chunks/plugins-0.5.10-3zq96m7k.mjs +9 -0
  345. package/dist/chunks/preActionHook-0.5.10-6x12np60.mjs +2 -0
  346. package/dist/chunks/print-0.5.10-5a31vx9j.mjs +57 -0
  347. package/dist/chunks/privacy-settings-0.5.10-rdfd63af.mjs +1 -0
  348. package/dist/chunks/process-0.5.10-nf4cmk34.mjs +1 -0
  349. package/dist/chunks/processBashCommand-0.5.10-mw974xep.mjs +1 -0
  350. package/dist/chunks/processSlashCommand-0.5.10-e8c6n292.mjs +9 -0
  351. package/dist/chunks/prompt-0.5.10-6pbxq1g3.mjs +1 -0
  352. package/dist/chunks/prompt-0.5.10-n31de4d4.mjs +1 -0
  353. package/dist/chunks/prompts-0.5.10-0cxg5rvf.mjs +1 -0
  354. package/dist/chunks/protocolHandler-0.5.10-n15zj80n.mjs +13 -0
  355. package/dist/chunks/provider-0.5.10-0chtqqq3.mjs +2 -0
  356. package/dist/chunks/providerProfiles-0.5.10-kk39f15h.mjs +1 -0
  357. package/dist/chunks/providerValidation-0.5.10-5b2bmm6k.mjs +6 -0
  358. package/dist/chunks/rate-limit-options-0.5.10-qen28djd.mjs +1 -0
  359. package/dist/chunks/registerSubcommands-0.5.10-xmgpzx1a.mjs +34 -0
  360. package/dist/chunks/registry-0.5.10-q3yb1jt6.mjs +1 -0
  361. package/dist/chunks/release-notes-0.5.10-3m0mwzvq.mjs +5 -0
  362. package/dist/chunks/reload-plugins-0.5.10-2ngnamq3.mjs +2 -0
  363. package/dist/chunks/remote-env-0.5.10-gm9a4ms5.mjs +1 -0
  364. package/dist/chunks/remoteBridgeCore-0.5.10-s9tnpv93.mjs +1 -0
  365. package/dist/chunks/remoteSession-0.5.10-mk8be8a3.mjs +1 -0
  366. package/dist/chunks/rename-0.5.10-9ecwm2ar.mjs +1 -0
  367. package/dist/chunks/replBridgeHandle-0.5.10-9956kd4a.mjs +1 -0
  368. package/dist/chunks/replLauncher-0.5.10-94wyag0m.mjs +1 -0
  369. package/dist/chunks/resume-0.5.10-nc3z5h15.mjs +2 -0
  370. package/dist/chunks/rewind-0.5.10-wbs4stfg.mjs +1 -0
  371. package/dist/chunks/rootOptions-0.5.10-8ky1y6hv.mjs +1 -0
  372. package/dist/chunks/sandbox-adapter-0.5.10-jg0fj7ss.mjs +1 -0
  373. package/dist/chunks/sandbox-toggle-0.5.10-yy9272d9.mjs +1 -0
  374. package/dist/chunks/session-0.5.10-jqzxp3r3.mjs +2 -0
  375. package/dist/chunks/sessionDiscovery-0.5.10-7va0srxq.mjs +1 -0
  376. package/dist/chunks/sessionFileAccessHooks-0.5.10-bykpya1w.mjs +1 -0
  377. package/dist/chunks/sessionStorage-0.5.10-yy69cv78.mjs +1 -0
  378. package/dist/chunks/settings-0.5.10-kx3ep0z5.mjs +1 -0
  379. package/dist/chunks/setup-0.5.10-w0byw3fs.mjs +5 -0
  380. package/dist/chunks/sinks-0.5.10-289qngp8.mjs +1 -0
  381. package/dist/chunks/skills-0.5.10-6kvsqc69.mjs +1 -0
  382. package/dist/chunks/startupProfiler-0.5.10-e0mg4v8r.mjs +1 -0
  383. package/dist/chunks/startupUpdateCheck-0.5.10-08eextv5.mjs +1 -0
  384. package/dist/chunks/state-0.5.10-7xqjnrdw.mjs +1 -0
  385. package/dist/chunks/stats-0.5.10-fafdyc91.mjs +6 -0
  386. package/dist/chunks/status-0.5.10-y9t6rf31.mjs +1 -0
  387. package/dist/chunks/stickers-0.5.10-ta1pq624.mjs +1 -0
  388. package/dist/chunks/subprocessEnv-0.5.10-zv2wcv5q.mjs +1 -0
  389. package/dist/chunks/tasks-0.5.10-d0y0wvjj.mjs +1 -0
  390. package/dist/chunks/teamHelpers-0.5.10-qpwpfv94.mjs +1 -0
  391. package/dist/chunks/teammateModeSnapshot-0.5.10-92d1devr.mjs +1 -0
  392. package/dist/chunks/teleport-0.5.10-rkxj6c9z.mjs +1 -0
  393. package/dist/chunks/terminalSetup-0.5.10-xtrfcff1.mjs +1 -0
  394. package/dist/chunks/theme-0.5.10-5rz8k2g9.mjs +1 -0
  395. package/dist/chunks/thinkback-0.5.10-pmdfhfhz.mjs +1 -0
  396. package/dist/chunks/thinkback-play-0.5.10-051qtb4m.mjs +1 -0
  397. package/dist/chunks/toolPool-0.5.10-702w7qvh.mjs +1 -0
  398. package/dist/chunks/toolSearch-0.5.10-emqjgdkv.mjs +1 -0
  399. package/dist/chunks/tools-0.5.10-2msmk0nf.mjs +1 -0
  400. package/dist/chunks/trustedDevice-0.5.10-rc23c6gy.mjs +1 -0
  401. package/dist/chunks/turndown.cjs-0.5.10-a87sftz7.mjs +69 -0
  402. package/dist/chunks/ultrareviewCommand-0.5.10-z29nftnt.mjs +4 -0
  403. package/dist/chunks/update-0.5.10-52yyras3.mjs +86 -0
  404. package/dist/chunks/upgrade-0.5.10-xqdpemsf.mjs +1 -0
  405. package/dist/chunks/upstreamproxy-0.5.10-154q742m.mjs +14 -0
  406. package/dist/chunks/url-handler-napi-0.5.10-8af5etcc.mjs +1 -0
  407. package/dist/chunks/usage-0.5.10-hhg47trs.mjs +1 -0
  408. package/dist/chunks/util-0.5.10-0zqyyf2e.mjs +1 -0
  409. package/dist/chunks/utils-0.5.10-36gnsqbk.mjs +1 -0
  410. package/dist/chunks/vim-0.5.10-0zas1t6x.mjs +1 -0
  411. package/dist/chunks/watcher-0.5.10-9etw516s.mjs +1 -0
  412. package/dist/chunks/wiki-0.5.10-rwktf7fm.mjs +132 -0
  413. package/dist/chunks/worktree-0.5.10-afdnv059.mjs +1 -0
  414. package/dist/chunks/worktreeModeEnabled-0.5.10-n0bmqq02.mjs +1 -0
  415. package/dist/chunks/wrapper-0.5.10-0bca9c3g.mjs +7 -0
  416. package/dist/claudin-vscode.vsix +0 -0
  417. package/dist/cli.mjs +2 -2
  418. package/package.json +1 -1
  419. package/dist/chunks/AgentTool-0.5.9-560de9d1.mjs +0 -1
  420. package/dist/chunks/App-0.5.9-zsap2q4b.mjs +0 -1
  421. package/dist/chunks/ApproveApiKey-0.5.9-8zgzn0jw.mjs +0 -1
  422. package/dist/chunks/AssistantSessionChooser-0.5.9-92f16280.mjs +0 -1
  423. package/dist/chunks/AutoModeOptInDialog-0.5.9-708dpq05.mjs +0 -1
  424. package/dist/chunks/BypassPermissionsModeDialog-0.5.9-thv5358f.mjs +0 -1
  425. package/dist/chunks/ClaudeMdExternalIncludesDialog-0.5.9-h0dan6qh.mjs +0 -1
  426. package/dist/chunks/ConsoleOAuthFlow-0.5.9-35ajv7zw.mjs +0 -1
  427. package/dist/chunks/DiffDialog-0.5.9-2gfy103v.mjs +0 -3
  428. package/dist/chunks/Doctor-0.5.9-wjw0w0c1.mjs +0 -1
  429. package/dist/chunks/Grove-0.5.9-hty0xzar.mjs +0 -1
  430. package/dist/chunks/ITermBackend-0.5.9-pch1zyqn.mjs +0 -1
  431. package/dist/chunks/InvalidConfigDialog-0.5.9-xjp9bdct.mjs +0 -1
  432. package/dist/chunks/InvalidSettingsDialog-0.5.9-t4wkfdrh.mjs +0 -1
  433. package/dist/chunks/MigrationDialog-0.5.9-12p8z825.mjs +0 -1
  434. package/dist/chunks/Onboarding-0.5.9-d02fdy7a.mjs +0 -1
  435. package/dist/chunks/ProviderManager-0.5.9-2h6pym7f.mjs +0 -1
  436. package/dist/chunks/REPL-0.5.9-fn63chv9.mjs +0 -1
  437. package/dist/chunks/ResumeConversation-0.5.9-wdc0fys1.mjs +0 -1
  438. package/dist/chunks/SnapshotUpdateDialog-0.5.9-ty7tvdf3.mjs +0 -1
  439. package/dist/chunks/TeleportProgress-0.5.9-th2cx2b2.mjs +0 -1
  440. package/dist/chunks/TeleportRepoMismatchDialog-0.5.9-gqyef6wv.mjs +0 -1
  441. package/dist/chunks/TeleportResumeWrapper-0.5.9-e4b9wj1z.mjs +0 -1
  442. package/dist/chunks/TmuxBackend-0.5.9-xx7btmxb.mjs +0 -9
  443. package/dist/chunks/ToolSearchTool-0.5.9-7h9j8zft.mjs +0 -1
  444. package/dist/chunks/TrustDialog-0.5.9-y0bxcnzx.mjs +0 -1
  445. package/dist/chunks/activeProvider-0.5.9-bqhnxdga.mjs +0 -1
  446. package/dist/chunks/add-dir-0.5.9-t52c4h9t.mjs +0 -1
  447. package/dist/chunks/agents-0.5.9-b270304w.mjs +0 -110
  448. package/dist/chunks/agents-0.5.9-h9dw36cp.mjs +0 -3
  449. package/dist/chunks/api-0.5.9-jnhtend7.mjs +0 -1
  450. package/dist/chunks/asciicast-0.5.9-hrjx2e4n.mjs +0 -1
  451. package/dist/chunks/assistant-0.5.9-ap4j82na.mjs +0 -1
  452. package/dist/chunks/auth-0.5.9-cna7nxzb.mjs +0 -1
  453. package/dist/chunks/auth-0.5.9-q8ejya3n.mjs +0 -1
  454. package/dist/chunks/autoMode-0.5.9-w9j324dc.mjs +0 -48
  455. package/dist/chunks/autoUpdater-0.5.9-3x3xcjhq.mjs +0 -1
  456. package/dist/chunks/backgroundHousekeeping-0.5.9-ngzjz5nf.mjs +0 -1
  457. package/dist/chunks/branch-0.5.9-4389y3jh.mjs +0 -4
  458. package/dist/chunks/bridgePointer-0.5.9-ph0vdzcm.mjs +0 -1
  459. package/dist/chunks/btw-0.5.9-kq7dda47.mjs +0 -1
  460. package/dist/chunks/buddy-0.5.9-3s5bz133.mjs +0 -3
  461. package/dist/chunks/cacache-0.5.9-k02nazjg.mjs +0 -1
  462. package/dist/chunks/cache-probe-0.5.9-vdfe8hkq.mjs +0 -21
  463. package/dist/chunks/cacheStats-0.5.9-89wd0xyf.mjs +0 -4
  464. package/dist/chunks/caches-0.5.9-kg4820wg.mjs +0 -1
  465. package/dist/chunks/claudeDesktop-0.5.9-7pt2wjt1.mjs +0 -1
  466. package/dist/chunks/claudemd-0.5.9-bhqwq7vs.mjs +0 -1
  467. package/dist/chunks/clear-0.5.9-5mg9gs8a.mjs +0 -1
  468. package/dist/chunks/clearTerminal-0.5.9-esamq102.mjs +0 -1
  469. package/dist/chunks/cli-0.5.9-00ms6tt7.mjs +0 -4
  470. package/dist/chunks/cli-0.5.9-02vwh5bc.mjs +0 -2
  471. package/dist/chunks/cli-0.5.9-0a5jxqra.mjs +0 -58
  472. package/dist/chunks/cli-0.5.9-0b1wx67c.mjs +0 -193
  473. package/dist/chunks/cli-0.5.9-0becvd5f.mjs +0 -2
  474. package/dist/chunks/cli-0.5.9-0w46b370.mjs +0 -3
  475. package/dist/chunks/cli-0.5.9-10ar539r.mjs +0 -2
  476. package/dist/chunks/cli-0.5.9-12gj3v8y.mjs +0 -12
  477. package/dist/chunks/cli-0.5.9-1ktmgzhb.mjs +0 -15
  478. package/dist/chunks/cli-0.5.9-1qkhnqnk.mjs +0 -4
  479. package/dist/chunks/cli-0.5.9-1zc8qwr4.mjs +0 -2
  480. package/dist/chunks/cli-0.5.9-248na0hf.mjs +0 -2
  481. package/dist/chunks/cli-0.5.9-2fcyavah.mjs +0 -17
  482. package/dist/chunks/cli-0.5.9-2jfbm2es.mjs +0 -12
  483. package/dist/chunks/cli-0.5.9-2txnqxd1.mjs +0 -2
  484. package/dist/chunks/cli-0.5.9-31f5vjyq.mjs +0 -2
  485. package/dist/chunks/cli-0.5.9-32fpvgpt.mjs +0 -2
  486. package/dist/chunks/cli-0.5.9-371mb3zf.mjs +0 -4
  487. package/dist/chunks/cli-0.5.9-3bsjckc3.mjs +0 -2
  488. package/dist/chunks/cli-0.5.9-3s1c44tz.mjs +0 -2
  489. package/dist/chunks/cli-0.5.9-41dpv5z9.mjs +0 -2
  490. package/dist/chunks/cli-0.5.9-42t3s85x.mjs +0 -2
  491. package/dist/chunks/cli-0.5.9-4aga12a5.mjs +0 -2
  492. package/dist/chunks/cli-0.5.9-4fdad25z.mjs +0 -3
  493. package/dist/chunks/cli-0.5.9-4m738pn1.mjs +0 -25
  494. package/dist/chunks/cli-0.5.9-4s8nynfd.mjs +0 -2
  495. package/dist/chunks/cli-0.5.9-4t8b91eb.mjs +0 -4
  496. package/dist/chunks/cli-0.5.9-4w9169na.mjs +0 -3
  497. package/dist/chunks/cli-0.5.9-5ah34c4c.mjs +0 -39
  498. package/dist/chunks/cli-0.5.9-5e3fhttm.mjs +0 -2
  499. package/dist/chunks/cli-0.5.9-5hzwn715.mjs +0 -2
  500. package/dist/chunks/cli-0.5.9-5s8vtyx6.mjs +0 -4
  501. package/dist/chunks/cli-0.5.9-5vdqnecb.mjs +0 -4
  502. package/dist/chunks/cli-0.5.9-5vj7cvdr.mjs +0 -2
  503. package/dist/chunks/cli-0.5.9-5ykvr12k.mjs +0 -2
  504. package/dist/chunks/cli-0.5.9-610r4gbg.mjs +0 -2
  505. package/dist/chunks/cli-0.5.9-637n1msd.mjs +0 -15
  506. package/dist/chunks/cli-0.5.9-671nz4d9.mjs +0 -2
  507. package/dist/chunks/cli-0.5.9-68rmtj23.mjs +0 -2
  508. package/dist/chunks/cli-0.5.9-6rrqt96f.mjs +0 -2
  509. package/dist/chunks/cli-0.5.9-72tax9cd.mjs +0 -2
  510. package/dist/chunks/cli-0.5.9-77nxjft3.mjs +0 -2
  511. package/dist/chunks/cli-0.5.9-7bq8wzr3.mjs +0 -18
  512. package/dist/chunks/cli-0.5.9-7hcka84h.mjs +0 -2
  513. package/dist/chunks/cli-0.5.9-7qcan18n.mjs +0 -2
  514. package/dist/chunks/cli-0.5.9-8h1qpeef.mjs +0 -2
  515. package/dist/chunks/cli-0.5.9-8kfemzbn.mjs +0 -2
  516. package/dist/chunks/cli-0.5.9-8ndgy03m.mjs +0 -4
  517. package/dist/chunks/cli-0.5.9-91gjew0x.mjs +0 -3
  518. package/dist/chunks/cli-0.5.9-9fgjryqc.mjs +0 -2
  519. package/dist/chunks/cli-0.5.9-9rrpczqk.mjs +0 -17
  520. package/dist/chunks/cli-0.5.9-a720c6hc.mjs +0 -9
  521. package/dist/chunks/cli-0.5.9-ajbjmz51.mjs +0 -2
  522. package/dist/chunks/cli-0.5.9-ap6gvqkx.mjs +0 -67
  523. package/dist/chunks/cli-0.5.9-apc46v07.mjs +0 -15
  524. package/dist/chunks/cli-0.5.9-awa1dtdz.mjs +0 -2
  525. package/dist/chunks/cli-0.5.9-b4t4xfpb.mjs +0 -2
  526. package/dist/chunks/cli-0.5.9-b4xgpen1.mjs +0 -5
  527. package/dist/chunks/cli-0.5.9-bax4dxrj.mjs +0 -2
  528. package/dist/chunks/cli-0.5.9-bc0wvx5b.mjs +0 -2
  529. package/dist/chunks/cli-0.5.9-bfn7177j.mjs +0 -2
  530. package/dist/chunks/cli-0.5.9-bp09b2xm.mjs +0 -2
  531. package/dist/chunks/cli-0.5.9-bv3m0yb8.mjs +0 -2
  532. package/dist/chunks/cli-0.5.9-bwdsfdf6.mjs +0 -2
  533. package/dist/chunks/cli-0.5.9-c54d94sv.mjs +0 -2
  534. package/dist/chunks/cli-0.5.9-cbgfqb0x.mjs +0 -2
  535. package/dist/chunks/cli-0.5.9-cy4sm0c2.mjs +0 -2
  536. package/dist/chunks/cli-0.5.9-d5rn9c6v.mjs +0 -12
  537. package/dist/chunks/cli-0.5.9-d66wktpd.mjs +0 -2
  538. package/dist/chunks/cli-0.5.9-d89n2ccx.mjs +0 -2
  539. package/dist/chunks/cli-0.5.9-da0mspn4.mjs +0 -2
  540. package/dist/chunks/cli-0.5.9-dszssq6z.mjs +0 -2
  541. package/dist/chunks/cli-0.5.9-dtbcqw2e.mjs +0 -2
  542. package/dist/chunks/cli-0.5.9-e1gk7v9y.mjs +0 -2
  543. package/dist/chunks/cli-0.5.9-e4sr85eg.mjs +0 -2
  544. package/dist/chunks/cli-0.5.9-e5ex267m.mjs +0 -2
  545. package/dist/chunks/cli-0.5.9-e7gc5p54.mjs +0 -2
  546. package/dist/chunks/cli-0.5.9-eagw660r.mjs +0 -2
  547. package/dist/chunks/cli-0.5.9-ejmv1n9p.mjs +0 -3
  548. package/dist/chunks/cli-0.5.9-ek649arf.mjs +0 -6
  549. package/dist/chunks/cli-0.5.9-ezc11axw.mjs +0 -2
  550. package/dist/chunks/cli-0.5.9-ezpjdejw.mjs +0 -2
  551. package/dist/chunks/cli-0.5.9-f9jt7awn.mjs +0 -2
  552. package/dist/chunks/cli-0.5.9-fn6ees65.mjs +0 -2
  553. package/dist/chunks/cli-0.5.9-fv4jrdef.mjs +0 -2
  554. package/dist/chunks/cli-0.5.9-g6qpvmj4.mjs +0 -133
  555. package/dist/chunks/cli-0.5.9-g9kt9aw7.mjs +0 -2
  556. package/dist/chunks/cli-0.5.9-ga0kqnkz.mjs +0 -5
  557. package/dist/chunks/cli-0.5.9-gbq794tt.mjs +0 -2
  558. package/dist/chunks/cli-0.5.9-gcsba93g.mjs +0 -18
  559. package/dist/chunks/cli-0.5.9-ghbax09k.mjs +0 -2
  560. package/dist/chunks/cli-0.5.9-gk1vb8nn.mjs +0 -2
  561. package/dist/chunks/cli-0.5.9-gp0bq7wk.mjs +0 -2
  562. package/dist/chunks/cli-0.5.9-gr8zgxwx.mjs +0 -2
  563. package/dist/chunks/cli-0.5.9-grgf8g99.mjs +0 -2
  564. package/dist/chunks/cli-0.5.9-h5d0zxek.mjs +0 -3
  565. package/dist/chunks/cli-0.5.9-h6nmz5e3.mjs +0 -2
  566. package/dist/chunks/cli-0.5.9-h7gh7ym5.mjs +0 -24
  567. package/dist/chunks/cli-0.5.9-h836a3wa.mjs +0 -2
  568. package/dist/chunks/cli-0.5.9-hg2qm56h.mjs +0 -4
  569. package/dist/chunks/cli-0.5.9-hpq0xehd.mjs +0 -2
  570. package/dist/chunks/cli-0.5.9-hwet4kvx.mjs +0 -2
  571. package/dist/chunks/cli-0.5.9-j2d1jct8.mjs +0 -2
  572. package/dist/chunks/cli-0.5.9-j8629kcy.mjs +0 -2
  573. package/dist/chunks/cli-0.5.9-j9ns2awb.mjs +0 -8
  574. package/dist/chunks/cli-0.5.9-jd8be7cd.mjs +0 -6
  575. package/dist/chunks/cli-0.5.9-jdzavz2g.mjs +0 -2
  576. package/dist/chunks/cli-0.5.9-jjtdefqj.mjs +0 -2
  577. package/dist/chunks/cli-0.5.9-jk4rx6zt.mjs +0 -4
  578. package/dist/chunks/cli-0.5.9-jnhyr1zg.mjs +0 -2
  579. package/dist/chunks/cli-0.5.9-jsxqd90d.mjs +0 -3
  580. package/dist/chunks/cli-0.5.9-k3prcbg9.mjs +0 -2
  581. package/dist/chunks/cli-0.5.9-k47s77hf.mjs +0 -2
  582. package/dist/chunks/cli-0.5.9-k6qxbj0d.mjs +0 -42
  583. package/dist/chunks/cli-0.5.9-k9yedz53.mjs +0 -5262
  584. package/dist/chunks/cli-0.5.9-kfpgp09g.mjs +0 -6
  585. package/dist/chunks/cli-0.5.9-knc0w8sn.mjs +0 -2
  586. package/dist/chunks/cli-0.5.9-krvpcgvw.mjs +0 -2
  587. package/dist/chunks/cli-0.5.9-ktxeg6my.mjs +0 -2
  588. package/dist/chunks/cli-0.5.9-m1y4hmzs.mjs +0 -2
  589. package/dist/chunks/cli-0.5.9-mcezkpp8.mjs +0 -2
  590. package/dist/chunks/cli-0.5.9-mhz9wt6a.mjs +0 -2
  591. package/dist/chunks/cli-0.5.9-mmvtbr39.mjs +0 -2
  592. package/dist/chunks/cli-0.5.9-mpqmy7zw.mjs +0 -2
  593. package/dist/chunks/cli-0.5.9-n08gkgng.mjs +0 -21
  594. package/dist/chunks/cli-0.5.9-ncjg30aq.mjs +0 -3
  595. package/dist/chunks/cli-0.5.9-nct7sarc.mjs +0 -2
  596. package/dist/chunks/cli-0.5.9-nfhfsnw6.mjs +0 -2
  597. package/dist/chunks/cli-0.5.9-nk3pacrn.mjs +0 -5
  598. package/dist/chunks/cli-0.5.9-nvf5kfmq.mjs +0 -9
  599. package/dist/chunks/cli-0.5.9-ppr1420k.mjs +0 -2
  600. package/dist/chunks/cli-0.5.9-q3wvc7qb.mjs +0 -2
  601. package/dist/chunks/cli-0.5.9-q69vj08a.mjs +0 -2
  602. package/dist/chunks/cli-0.5.9-q7a4xcwy.mjs +0 -3
  603. package/dist/chunks/cli-0.5.9-q9ne4r9p.mjs +0 -50
  604. package/dist/chunks/cli-0.5.9-qddf6zq9.mjs +0 -2
  605. package/dist/chunks/cli-0.5.9-qexy3mqr.mjs +0 -59
  606. package/dist/chunks/cli-0.5.9-qvvxrm93.mjs +0 -3
  607. package/dist/chunks/cli-0.5.9-qy6qkzwb.mjs +0 -2
  608. package/dist/chunks/cli-0.5.9-r9d405kc.mjs +0 -2
  609. package/dist/chunks/cli-0.5.9-rbjjfytb.mjs +0 -2
  610. package/dist/chunks/cli-0.5.9-rh5280xq.mjs +0 -2
  611. package/dist/chunks/cli-0.5.9-rhycyvwn.mjs +0 -2
  612. package/dist/chunks/cli-0.5.9-rjdhjn49.mjs +0 -20
  613. package/dist/chunks/cli-0.5.9-rm62v7hr.mjs +0 -34
  614. package/dist/chunks/cli-0.5.9-rpgjj6qg.mjs +0 -2
  615. package/dist/chunks/cli-0.5.9-rv2328c4.mjs +0 -2
  616. package/dist/chunks/cli-0.5.9-s2jh3scf.mjs +0 -3
  617. package/dist/chunks/cli-0.5.9-sd34jmva.mjs +0 -2
  618. package/dist/chunks/cli-0.5.9-sjcz03eb.mjs +0 -2
  619. package/dist/chunks/cli-0.5.9-ss870bda.mjs +0 -2
  620. package/dist/chunks/cli-0.5.9-syr6nffj.mjs +0 -2
  621. package/dist/chunks/cli-0.5.9-t2fy8t5r.mjs +0 -45
  622. package/dist/chunks/cli-0.5.9-tav5jmz1.mjs +0 -2
  623. package/dist/chunks/cli-0.5.9-tbz9s4h3.mjs +0 -2
  624. package/dist/chunks/cli-0.5.9-tj6dt3d6.mjs +0 -2
  625. package/dist/chunks/cli-0.5.9-tke5evvm.mjs +0 -2
  626. package/dist/chunks/cli-0.5.9-v1srrn02.mjs +0 -2
  627. package/dist/chunks/cli-0.5.9-v5mkedy5.mjs +0 -16
  628. package/dist/chunks/cli-0.5.9-v69cq6f1.mjs +0 -2
  629. package/dist/chunks/cli-0.5.9-ve2b6kmp.mjs +0 -2
  630. package/dist/chunks/cli-0.5.9-vkt9t3z8.mjs +0 -133
  631. package/dist/chunks/cli-0.5.9-w1g3tgzh.mjs +0 -2
  632. package/dist/chunks/cli-0.5.9-wc5gt1zw.mjs +0 -2
  633. package/dist/chunks/cli-0.5.9-whf5zybr.mjs +0 -2
  634. package/dist/chunks/cli-0.5.9-wjvc994v.mjs +0 -2
  635. package/dist/chunks/cli-0.5.9-wkhmkyaq.mjs +0 -2
  636. package/dist/chunks/cli-0.5.9-wrndf987.mjs +0 -2
  637. package/dist/chunks/cli-0.5.9-xbvqph1k.mjs +0 -2
  638. package/dist/chunks/cli-0.5.9-xcexsk79.mjs +0 -2
  639. package/dist/chunks/cli-0.5.9-xge969yd.mjs +0 -2
  640. package/dist/chunks/cli-0.5.9-xn1qcye7.mjs +0 -2
  641. package/dist/chunks/cli-0.5.9-xn369es1.mjs +0 -2
  642. package/dist/chunks/cli-0.5.9-xz1pg47z.mjs +0 -10
  643. package/dist/chunks/cli-0.5.9-yazhwsgb.mjs +0 -4
  644. package/dist/chunks/cli-0.5.9-yh7f5m4w.mjs +0 -2
  645. package/dist/chunks/cli-0.5.9-yqn35x2d.mjs +0 -2
  646. package/dist/chunks/cli-0.5.9-ywc7arzn.mjs +0 -2
  647. package/dist/chunks/cli-0.5.9-z87j725g.mjs +0 -2
  648. package/dist/chunks/cli-0.5.9-zb26tq1c.mjs +0 -2
  649. package/dist/chunks/cli-0.5.9-zerpef2t.mjs +0 -1
  650. package/dist/chunks/cli-0.5.9-zeskcndd.mjs +0 -24
  651. package/dist/chunks/cli-0.5.9-zqgkcx3g.mjs +0 -2
  652. package/dist/chunks/cli-0.5.9-zrcz538q.mjs +0 -2
  653. package/dist/chunks/cli-0.5.9-zwpt90q9.mjs +0 -7
  654. package/dist/chunks/client-0.5.9-bhc7ghsr.mjs +0 -1
  655. package/dist/chunks/color-0.5.9-5722xdf4.mjs +0 -1
  656. package/dist/chunks/compact-0.5.9-4cf807hc.mjs +0 -3
  657. package/dist/chunks/config-0.5.9-936tss5g.mjs +0 -1
  658. package/dist/chunks/config-0.5.9-kk16cygb.mjs +0 -1
  659. package/dist/chunks/context-0.5.9-b0afgp2c.mjs +0 -1
  660. package/dist/chunks/context-noninteractive-0.5.9-wj6fxcsj.mjs +0 -1
  661. package/dist/chunks/conversation-0.5.9-rtntf81h.mjs +0 -1
  662. package/dist/chunks/copy-0.5.9-93t8z0wz.mjs +0 -9
  663. package/dist/chunks/cost-0.5.9-2csvd1ae.mjs +0 -1
  664. package/dist/chunks/createSSHSession-0.5.9-0aqkvqad.mjs +0 -1
  665. package/dist/chunks/createSession-0.5.9-j9xdpffh.mjs +0 -1
  666. package/dist/chunks/debug-0.5.9-kd9n32y2.mjs +0 -1
  667. package/dist/chunks/defaultActionDeps-0.5.9-1f7mkn9m.mjs +0 -1177
  668. package/dist/chunks/desktop-0.5.9-ce65mt7y.mjs +0 -1
  669. package/dist/chunks/detectRepository-0.5.9-4nd76hbs.mjs +0 -1
  670. package/dist/chunks/detection-0.5.9-mpgxg1d5.mjs +0 -1
  671. package/dist/chunks/diff-0.5.9-89ny0sp6.mjs +0 -1
  672. package/dist/chunks/doctor-0.5.9-e8bxsm2r.mjs +0 -1
  673. package/dist/chunks/doctorDiagnostic-0.5.9-kwncc3yh.mjs +0 -1
  674. package/dist/chunks/earlyInput-0.5.9-cxrgrx2e.mjs +0 -1
  675. package/dist/chunks/effort-0.5.9-dbgsjfep.mjs +0 -10
  676. package/dist/chunks/envUtils-0.5.9-59e9sq5q.mjs +0 -1
  677. package/dist/chunks/environmentSelection-0.5.9-5tjt9mkd.mjs +0 -1
  678. package/dist/chunks/environments-0.5.9-ebm4yp6e.mjs +0 -1
  679. package/dist/chunks/errors-0.5.9-xp1e5xqp.mjs +0 -1
  680. package/dist/chunks/exampleCommands-0.5.9-dxv2wpk4.mjs +0 -1
  681. package/dist/chunks/exit-0.5.9-q7cpk25k.mjs +0 -1
  682. package/dist/chunks/export-0.5.9-1dpbp185.mjs +0 -2
  683. package/dist/chunks/extra-usage-0.5.9-ctd5dnsr.mjs +0 -1
  684. package/dist/chunks/extra-usage-noninteractive-0.5.9-hbmbvzb5.mjs +0 -1
  685. package/dist/chunks/fast-0.5.9-wagaw91z.mjs +0 -1
  686. package/dist/chunks/feedback-0.5.9-x37szs13.mjs +0 -14
  687. package/dist/chunks/firstPartyEventLogger-0.5.9-g8st730b.mjs +0 -1
  688. package/dist/chunks/git-0.5.9-zxdvsyxq.mjs +0 -1
  689. package/dist/chunks/githubModelsCredentials-0.5.9-mp51r114.mjs +0 -1
  690. package/dist/chunks/grove-0.5.9-grafpqtx.mjs +0 -1
  691. package/dist/chunks/growthbook-0.5.9-mr1nyz65.mjs +0 -1
  692. package/dist/chunks/headless-0.5.9-pxnbg1dh.mjs +0 -2
  693. package/dist/chunks/heapdump-0.5.9-58bmar8y.mjs +0 -6
  694. package/dist/chunks/help-0.5.9-x6ds3za0.mjs +0 -1
  695. package/dist/chunks/hookChains-0.5.9-1sz7vw7t.mjs +0 -3
  696. package/dist/chunks/hooks-0.5.9-4mjp8k78.mjs +0 -1
  697. package/dist/chunks/hooks-0.5.9-n14e2a57.mjs +0 -79
  698. package/dist/chunks/ide-0.5.9-gk5tarwc.mjs +0 -3
  699. package/dist/chunks/image-processor-napi-0.5.9-eept9e9s.mjs +0 -1
  700. package/dist/chunks/index-0.5.9-0n7mpzrj.mjs +0 -17
  701. package/dist/chunks/index-0.5.9-3ng34e8n.mjs +0 -2
  702. package/dist/chunks/index-0.5.9-4b9dgj2z.mjs +0 -9
  703. package/dist/chunks/index-0.5.9-4fzd2pns.mjs +0 -1
  704. package/dist/chunks/index-0.5.9-6awv6fyn.mjs +0 -1
  705. package/dist/chunks/index-0.5.9-6cbrcdyh.mjs +0 -1
  706. package/dist/chunks/index-0.5.9-725p0eby.mjs +0 -1
  707. package/dist/chunks/index-0.5.9-85ep6547.mjs +0 -30
  708. package/dist/chunks/index-0.5.9-8h5ceajb.mjs +0 -1
  709. package/dist/chunks/index-0.5.9-8ws7n6wv.mjs +0 -5
  710. package/dist/chunks/index-0.5.9-b3jm65x4.mjs +0 -1
  711. package/dist/chunks/index-0.5.9-cjjbeyt8.mjs +0 -1
  712. package/dist/chunks/index-0.5.9-gnac3s48.mjs +0 -1
  713. package/dist/chunks/index-0.5.9-m68jcsx2.mjs +0 -1
  714. package/dist/chunks/index-0.5.9-n91crv8a.mjs +0 -1
  715. package/dist/chunks/index-0.5.9-npkfayxd.mjs +0 -1
  716. package/dist/chunks/index-0.5.9-pbzzad7t.mjs +0 -9
  717. package/dist/chunks/index-0.5.9-thp631gs.mjs +0 -1
  718. package/dist/chunks/index-0.5.9-xcy5t1fw.mjs +0 -1
  719. package/dist/chunks/index-0.5.9-y07jxja1.mjs +0 -1
  720. package/dist/chunks/index-0.5.9-yjkfcf2g.mjs +0 -2
  721. package/dist/chunks/index-0.5.9-zb346057.mjs +0 -1
  722. package/dist/chunks/init-0.5.9-cmszfh8j.mjs +0 -1
  723. package/dist/chunks/initReplBridge-0.5.9-y2j594wz.mjs +0 -1
  724. package/dist/chunks/ink-0.5.9-km3f0tv6.mjs +0 -1
  725. package/dist/chunks/insights-0.5.9-fevx72ve.mjs +0 -870
  726. package/dist/chunks/install-0.5.9-6m05dpsa.mjs +0 -1
  727. package/dist/chunks/install-github-app-0.5.9-91syqpey.mjs +0 -149
  728. package/dist/chunks/install-slack-app-0.5.9-9rqmjej1.mjs +0 -1
  729. package/dist/chunks/instrumentation-0.5.9-55dt6kkh.mjs +0 -1
  730. package/dist/chunks/interactiveHelpers-0.5.9-47bhz9at.mjs +0 -1
  731. package/dist/chunks/keybindings-0.5.9-y134m89v.mjs +0 -2
  732. package/dist/chunks/knowledge-0.5.9-d1m7e2b4.mjs +0 -2
  733. package/dist/chunks/latestVersionCache-0.5.9-69z169gq.mjs +0 -1
  734. package/dist/chunks/loadAgentsDir-0.5.9-vtemqv8c.mjs +0 -1
  735. package/dist/chunks/loadPluginHooks-0.5.9-xxp0pj2x.mjs +0 -1
  736. package/dist/chunks/loadPluginHooks-0.5.9-zgq2s8sm.mjs +0 -1
  737. package/dist/chunks/log-0.5.9-8aszszjb.mjs +0 -1
  738. package/dist/chunks/main-0.5.9-cjg2h8yb.mjs +0 -1
  739. package/dist/chunks/managedEnv-0.5.9-nq2mbery.mjs +0 -1
  740. package/dist/chunks/mcp-0.5.9-g39bj87f.mjs +0 -17
  741. package/dist/chunks/mcp-0.5.9-h1sdm6zb.mjs +0 -4
  742. package/dist/chunks/mcp-0.5.9-vpwsq0wd.mjs +0 -1
  743. package/dist/chunks/mcpb-0.5.9-pavmx8mm.mjs +0 -1
  744. package/dist/chunks/memory-0.5.9-se036fe4.mjs +0 -3
  745. package/dist/chunks/mobile-0.5.9-57ycqdp3.mjs +0 -2
  746. package/dist/chunks/model-0.5.9-4e6fc1m4.mjs +0 -1
  747. package/dist/chunks/model-0.5.9-k0m86zrn.mjs +0 -2
  748. package/dist/chunks/node-0.5.9-ftk6pxmx.mjs +0 -12
  749. package/dist/chunks/oauth-0.5.9-bytwte72.mjs +0 -1
  750. package/dist/chunks/openaiShim-0.5.9-f9gdeama.mjs +0 -14
  751. package/dist/chunks/output-style-0.5.9-1wbqsbc0.mjs +0 -1
  752. package/dist/chunks/package-D6422PQU-0.5.9-4gkr65dy.mjs +0 -1
  753. package/dist/chunks/parseConnectUrl-0.5.9-d0t88r4n.mjs +0 -1
  754. package/dist/chunks/parser-0.5.9-j1kdtn15.mjs +0 -1
  755. package/dist/chunks/passes-0.5.9-w08t80rc.mjs +0 -1
  756. package/dist/chunks/permissions-0.5.9-mzx7w14f.mjs +0 -3
  757. package/dist/chunks/plan-0.5.9-trs5gepx.mjs +0 -1
  758. package/dist/chunks/plist-0.5.9-rzpv4ecn.mjs +0 -1
  759. package/dist/chunks/plugin-0.5.9-x1xsznkk.mjs +0 -29
  760. package/dist/chunks/pluginStartupCheck-0.5.9-qwkp82xp.mjs +0 -1
  761. package/dist/chunks/plugins-0.5.9-8yj1w6bf.mjs +0 -9
  762. package/dist/chunks/preActionHook-0.5.9-130eb4bx.mjs +0 -2
  763. package/dist/chunks/print-0.5.9-fm0q92d1.mjs +0 -57
  764. package/dist/chunks/privacy-settings-0.5.9-vhjhbccg.mjs +0 -1
  765. package/dist/chunks/process-0.5.9-syp1y7ym.mjs +0 -1
  766. package/dist/chunks/processBashCommand-0.5.9-admb0s9z.mjs +0 -1
  767. package/dist/chunks/processSlashCommand-0.5.9-x5wmbzr0.mjs +0 -9
  768. package/dist/chunks/prompt-0.5.9-6s763n7m.mjs +0 -1
  769. package/dist/chunks/prompt-0.5.9-fg1exp0e.mjs +0 -1
  770. package/dist/chunks/prompts-0.5.9-a6jrpexy.mjs +0 -1
  771. package/dist/chunks/protocolHandler-0.5.9-5920qvb2.mjs +0 -13
  772. package/dist/chunks/provider-0.5.9-ew50s03j.mjs +0 -2
  773. package/dist/chunks/providerProfiles-0.5.9-ygv5pxbq.mjs +0 -1
  774. package/dist/chunks/providerValidation-0.5.9-pebvjkk0.mjs +0 -6
  775. package/dist/chunks/rate-limit-options-0.5.9-p39mhxr9.mjs +0 -1
  776. package/dist/chunks/registerSubcommands-0.5.9-5576rw9k.mjs +0 -34
  777. package/dist/chunks/registry-0.5.9-tkmx5qgm.mjs +0 -1
  778. package/dist/chunks/release-notes-0.5.9-cmf1033z.mjs +0 -5
  779. package/dist/chunks/reload-plugins-0.5.9-ynqb4wwm.mjs +0 -2
  780. package/dist/chunks/remote-env-0.5.9-ddnwx90m.mjs +0 -1
  781. package/dist/chunks/remoteBridgeCore-0.5.9-br32ecze.mjs +0 -1
  782. package/dist/chunks/remoteSession-0.5.9-9ee3jy2n.mjs +0 -1
  783. package/dist/chunks/rename-0.5.9-h0npjxhv.mjs +0 -1
  784. package/dist/chunks/replBridgeHandle-0.5.9-4tjg5rct.mjs +0 -1
  785. package/dist/chunks/replLauncher-0.5.9-y4zkk3hb.mjs +0 -1
  786. package/dist/chunks/resume-0.5.9-5n9z570h.mjs +0 -2
  787. package/dist/chunks/rewind-0.5.9-cawzh2f5.mjs +0 -1
  788. package/dist/chunks/rootOptions-0.5.9-z7hher7x.mjs +0 -1
  789. package/dist/chunks/sandbox-adapter-0.5.9-m8dy3vak.mjs +0 -1
  790. package/dist/chunks/sandbox-toggle-0.5.9-d7hfb9dw.mjs +0 -1
  791. package/dist/chunks/session-0.5.9-spjfzb60.mjs +0 -2
  792. package/dist/chunks/sessionDiscovery-0.5.9-k8tw4apd.mjs +0 -1
  793. package/dist/chunks/sessionFileAccessHooks-0.5.9-kzd77836.mjs +0 -1
  794. package/dist/chunks/sessionStorage-0.5.9-5eaxh9e1.mjs +0 -1
  795. package/dist/chunks/settings-0.5.9-9y9yx2ep.mjs +0 -1
  796. package/dist/chunks/setup-0.5.9-cbnsjaz6.mjs +0 -5
  797. package/dist/chunks/sinks-0.5.9-3kes56y2.mjs +0 -1
  798. package/dist/chunks/skills-0.5.9-816ec23f.mjs +0 -1
  799. package/dist/chunks/startupProfiler-0.5.9-j5rdws5r.mjs +0 -1
  800. package/dist/chunks/startupUpdateCheck-0.5.9-wgd2amqq.mjs +0 -1
  801. package/dist/chunks/state-0.5.9-ssv90pdf.mjs +0 -1
  802. package/dist/chunks/stats-0.5.9-09jq1eez.mjs +0 -6
  803. package/dist/chunks/status-0.5.9-zm23czy4.mjs +0 -1
  804. package/dist/chunks/stickers-0.5.9-df1ha62e.mjs +0 -1
  805. package/dist/chunks/subprocessEnv-0.5.9-4bh9v7rk.mjs +0 -1
  806. package/dist/chunks/tasks-0.5.9-75eaj64t.mjs +0 -1
  807. package/dist/chunks/teamHelpers-0.5.9-a239c7as.mjs +0 -1
  808. package/dist/chunks/teammateModeSnapshot-0.5.9-gpfpnhg1.mjs +0 -1
  809. package/dist/chunks/teleport-0.5.9-jq0cm2ce.mjs +0 -1
  810. package/dist/chunks/terminalSetup-0.5.9-zscy8b5b.mjs +0 -1
  811. package/dist/chunks/theme-0.5.9-crkb4a1t.mjs +0 -1
  812. package/dist/chunks/thinkback-0.5.9-bqzpccev.mjs +0 -1
  813. package/dist/chunks/thinkback-play-0.5.9-avsgpz11.mjs +0 -1
  814. package/dist/chunks/toolPool-0.5.9-9k94r61g.mjs +0 -1
  815. package/dist/chunks/toolSearch-0.5.9-qm8rqvys.mjs +0 -1
  816. package/dist/chunks/tools-0.5.9-e5fa6xh1.mjs +0 -1
  817. package/dist/chunks/trustedDevice-0.5.9-dhpwn40g.mjs +0 -1
  818. package/dist/chunks/turndown.cjs-0.5.9-bwat06c0.mjs +0 -69
  819. package/dist/chunks/ultrareviewCommand-0.5.9-qfz8shw1.mjs +0 -4
  820. package/dist/chunks/update-0.5.9-yv6acwy6.mjs +0 -86
  821. package/dist/chunks/upgrade-0.5.9-3xpmapbj.mjs +0 -1
  822. package/dist/chunks/upstreamproxy-0.5.9-ebc62ytm.mjs +0 -14
  823. package/dist/chunks/url-handler-napi-0.5.9-ejbmjrv9.mjs +0 -1
  824. package/dist/chunks/usage-0.5.9-ze5694v0.mjs +0 -1
  825. package/dist/chunks/util-0.5.9-8517xr6w.mjs +0 -1
  826. package/dist/chunks/utils-0.5.9-tq5p3g26.mjs +0 -1
  827. package/dist/chunks/vim-0.5.9-3pwhv6s4.mjs +0 -1
  828. package/dist/chunks/watcher-0.5.9-ft2b96h8.mjs +0 -1
  829. package/dist/chunks/wiki-0.5.9-f96c34xg.mjs +0 -132
  830. package/dist/chunks/worktree-0.5.9-p28ne51h.mjs +0 -1
  831. package/dist/chunks/worktreeModeEnabled-0.5.9-4tgvrvd2.mjs +0 -1
  832. package/dist/chunks/wrapper-0.5.9-asjtntyw.mjs +0 -7
  833. /package/dist/chunks/{cli-0.5.9-ysvsqcpa.mjs → cli-0.5.10-1sd567wn.mjs} +0 -0
  834. /package/dist/chunks/{cli-0.5.9-ehe0yr95.mjs → cli-0.5.10-57andxje.mjs} +0 -0
  835. /package/dist/chunks/{cli-0.5.9-x9tg4bxs.mjs → cli-0.5.10-5kz0qdsz.mjs} +0 -0
  836. /package/dist/chunks/{cli-0.5.9-c91t0fys.mjs → cli-0.5.10-a542fww1.mjs} +0 -0
  837. /package/dist/chunks/{cli-0.5.9-4yxntpxv.mjs → cli-0.5.10-n8pz2na8.mjs} +0 -0
  838. /package/dist/chunks/{cli-0.5.9-1y9n9z2h.mjs → cli-0.5.10-ra711jkk.mjs} +0 -0
  839. /package/dist/chunks/{cli-0.5.9-mk69z06z.mjs → cli-0.5.10-t2s1mxyn.mjs} +0 -0
  840. /package/dist/chunks/{cli-0.5.9-an1j3dqv.mjs → cli-0.5.10-vsgznv7p.mjs} +0 -0
@@ -0,0 +1,2 @@
1
+ import{Lna as P}from"./cli-0.5.10-1sd567wn.mjs";import{homedir as Q}from"os";import{join as F}from"path";function J(q){return{env:q?.env??process.env,home:q?.homedir??process.env.HOME??Q()}}function k(q){let{env:x,home:B}=J(q);return x.XDG_STATE_HOME??F(B,".local","state")}function w(q){let{env:x,home:B}=J(q);return x.XDG_CACHE_HOME??F(B,".cache")}function H(q){let{env:x,home:B}=J(q);return x.XDG_DATA_HOME??F(B,".local","share")}function g(q){let{home:x}=J(q);return F(x,".local","bin")}var V=()=>{};function W(q){let x=q,B="",C=0,K=10;while(x!==B&&C<K)B=x,x=x.normalize("NFKC"),x=x.replace(/[\p{Cf}\p{Co}\p{Cn}]/gu,""),x=x.replace(/[\u200B-\u200F]/g,"").replace(/[\u202A-\u202E]/g,"").replace(/[\u2066-\u2069]/g,"").replace(/[\uFEFF]/g,"").replace(/[\uE000-\uF8FF]/g,""),C++;if(C>=K)throw Error(`Unicode sanitization reached maximum iterations (${K}) for input: ${q.slice(0,100)}`);return x}function L(q){if(typeof q==="string")return W(q);if(Array.isArray(q))return q.map(L);if(q!==null&&typeof q==="object"){let x={};for(let[B,C]of Object.entries(q))x[L(B)]=L(C);return x}return q}var Y=()=>{};
2
+ export{k as US,w as VS,H as WS,g as XS,V as YS,W as ZS,L as _S,Y as $S};
@@ -0,0 +1,3 @@
1
+ import{I as G0}from"./cli-0.5.10-tr692cqd.mjs";import{ea as p0}from"./cli-0.5.10-8kpt6897.mjs";import{fa as k0}from"./cli-0.5.10-eh9hq9n3.mjs";import{Bb as E0}from"./cli-0.5.10-20x96vwq.mjs";import{ac as n0,bc as x0}from"./cli-0.5.10-ewcdy4pj.mjs";import{$c as P0,bd as Fc}from"./cli-0.5.10-kyt82zt5.mjs";import{ed as N,fd as uc}from"./cli-0.5.10-s8bv5q7m.mjs";import{hd as Q0,id as hc}from"./cli-0.5.10-9mt7ynrh.mjs";import{At as X,BD as Y,CD as M0,DD as Z0,ED as Mc,Et as l0,SI as _0,WP as O0,aJ as j0,cm as p,dm as K0,eQ as b0,em as f0,fO as d,fm as N0,gQ as B0,gm as i0,hO as W0,hm as d0,jO as Ic,jQ as ac,kE as y0,km as W,lE as _c,lm as j,mQ as D0,oJ as u0,oQ as Tc,pC as Y0,qJ as r0,sD as m0,tC as lc,tD as g0,uD as r,wD as A0}from"./cli-0.5.10-8jjacn05.mjs";import{DW as oc,JX as x,LV as G,cX as c0,eX as y,iX as g,zW as X0}from"./cli-0.5.10-9xc8zhxg.mjs";import{lZ as e,mZ as m,nZ as U,oZ as C}from"./cli-0.5.10-gs8dx67v.mjs";import{K0 as J0,L0 as nc,c0 as H0,g0 as mc}from"./cli-0.5.10-xyscak5q.mjs";import{B$ as w0,D$ as U0,H$ as k,Raa as I0,Xba as z0,_ba as ic,oaa as V0,u$ as V,uaa as s,xaa as t,y$ as J,zaa as q0}from"./cli-0.5.10-2fqes7gy.mjs";import{Uca as R,Zca as cc}from"./cli-0.5.10-6zwxmza2.mjs";import{Jda as C0,Rda as L0,Xda as fc}from"./cli-0.5.10-rk7at2tn.mjs";import{Oea as q,Qea as E}from"./cli-0.5.10-y9qd4psg.mjs";import{Tfa as $0}from"./cli-0.5.10-p4wmnjhz.mjs";import{Cga as R0,Fga as e0,vga as K}from"./cli-0.5.10-jsnrvena.mjs";import{Sia as a0,Vka as T0,ama as v0}from"./cli-0.5.10-atkghjt0.mjs";import{Hna as D,Mna as L}from"./cli-0.5.10-1sd567wn.mjs";E();Ic();v0();import{appendFileSync as Rc}from"fs";Tc();oc();M0();fc();ic();lc();E();k();A0();j();var $=D(G(),1);x();C();var S=D(G(),1);function P(){let f=S.c(1),c;if(f[0]===Symbol.for("react.memo_cache_sentinel"))c=U(y,{children:["MCP servers may execute code or access system resources. All tool calls require approval. Learn more in the"," ",m(g,{url:"https://code.claude.com/docs/en/mcp",children:"MCP documentation"}),"."]}),f[0]=c;else c=f[0];return c}C();function v(f){let c=$.c(13),{serverName:i,onDone:n}=f,_;if(c[0]!==n||c[1]!==i)_=function(T){q("tengu_mcp_dialog_choice",{choice:T});c:switch(T){case"yes":case"yes_all":{let H=(J()||{}).enabledMcpjsonServers||[];if(!H.includes(i))V("localSettings",{enabledMcpjsonServers:[...H,i]});if(T==="yes_all")V("localSettings",{enableAllProjectMcpServers:!0});n();break c}case"no":{let H=(J()||{}).disabledMcpjsonServers||[];if(!H.includes(i))V("localSettings",{disabledMcpjsonServers:[...H,i]});n()}}},c[0]=n,c[1]=i,c[2]=_;else _=c[2];let l=_,u=`New MCP server found in .mcp.json: ${i}`,M;if(c[3]!==l)M=()=>l("no"),c[3]=l,c[4]=M;else M=c[4];let I;if(c[5]===Symbol.for("react.memo_cache_sentinel"))I=m(P,{}),c[5]=I;else I=c[5];let o;if(c[6]===Symbol.for("react.memo_cache_sentinel"))o=[{label:"Use this and all future MCP servers in this project",value:"yes_all"},{label:"Use this MCP server",value:"yes"},{label:"Continue without using this MCP server",value:"no"}],c[6]=o;else o=c[6];let h;if(c[7]!==l)h=m(r,{options:o,onChange:(a)=>l(a),onCancel:()=>l("no")}),c[7]=l,c[8]=h;else h=c[8];let F;if(c[9]!==u||c[10]!==M||c[11]!==h)F=U(W,{title:u,color:"warning",onCancel:M,children:[I,h]}),c[9]=u,c[10]=M,c[11]=h,c[12]=F;else F=c[12];return F}x0();E();x();k();N0();g0();d0();j();K0();var h0=D(G(),1);C();function o0(f){let c=h0.c(21),{serverNames:i,onDone:n}=f,_;if(c[0]!==n||c[1]!==i)_=function(O){let Z=J()||{},s0=Z.enabledMcpjsonServers||[],t0=Z.disabledMcpjsonServers||[],[b,B]=n0(i,(Q)=>O.includes(Q));if(q("tengu_mcp_multidialog_choice",{approved:b.length,rejected:B.length}),b.length>0){let Q=[...new Set([...s0,...b])];V("localSettings",{enabledMcpjsonServers:Q})}if(B.length>0){let Q=[...new Set([...t0,...B])];V("localSettings",{disabledMcpjsonServers:Q})}n()},c[0]=n,c[1]=i,c[2]=_;else _=c[2];let l=_,u;if(c[3]!==n||c[4]!==i)u=()=>{let O=(J()||{}).disabledMcpjsonServers||[],Z=[...new Set([...O,...i])];V("localSettings",{disabledMcpjsonServers:Z}),n()},c[3]=n,c[4]=i,c[5]=u;else u=c[5];let M=u,I=`${i.length} new MCP servers found in .mcp.json`,o;if(c[6]===Symbol.for("react.memo_cache_sentinel"))o=m(P,{}),c[6]=o;else o=c[6];let h;if(c[7]!==i)h=i.map(S0),c[7]=i,c[8]=h;else h=c[8];let F;if(c[9]!==M||c[10]!==l||c[11]!==i||c[12]!==h)F=m(m0,{options:h,defaultValue:i,onSubmit:l,onCancel:M,hideIndexes:!0}),c[9]=M,c[10]=l,c[11]=i,c[12]=h,c[13]=F;else F=c[13];let a;if(c[14]!==M||c[15]!==I||c[16]!==F)a=U(W,{title:I,subtitle:"Select any you wish to enable.",color:"warning",onCancel:M,hideInputGuide:!0,children:[o,F]}),c[14]=M,c[15]=I,c[16]=F,c[17]=a;else a=c[17];let T;if(c[18]===Symbol.for("react.memo_cache_sentinel"))T=m(c0,{paddingX:1,children:m(y,{dimColor:!0,italic:!0,children:U(i0,{children:[m(p,{shortcut:"Space",action:"select"}),m(p,{shortcut:"Enter",action:"confirm"}),m(f0,{action:"confirm:no",context:"Confirmation",fallback:"Esc",description:"reject all"})]})})}),c[18]=T;else T=c[18];let w;if(c[19]!==a)w=U(e,{children:[a,T]}),c[19]=a,c[20]=w;else w=c[20];return w}function S0(f){return{label:f,value:f}}M0();l0();j0();r0();C();async function F0(f){let{servers:c}=_0("project"),i=Object.keys(c).filter((n)=>u0(n)==="pending");if(i.length===0)return;await new Promise((n)=>{let _=()=>void n();if(i.length===1&&i[0]!==void 0){let l=i[0];f.render(m(X,{children:m(Y,{children:m(v,{serverName:l,onDone:_})})}))}else f.render(m(X,{children:m(Y,{children:m(o0,{serverNames:i,onDone:_})})}))})}l0();uc();nc();ac();I0();Fc();I0();$0();e0();class A{frameDurations=[];firstRenderTime;lastRenderTime;record(f){let c=performance.now();if(this.firstRenderTime===void 0)this.firstRenderTime=c;this.lastRenderTime=c,this.frameDurations.push(f)}getMetrics(){if(this.frameDurations.length===0||this.firstRenderTime===void 0||this.lastRenderTime===void 0)return;let f=this.lastRenderTime-this.firstRenderTime;if(f<=0)return;let i=this.frameDurations.length/(f/1000),n=this.frameDurations.slice().sort((M,I)=>I-M),_=Math.max(0,Math.ceil(n.length*0.01)-1),l=n[_],u=l>0?1000/l:0;return{averageFps:Math.round(i*100)/100,low1PctFps:Math.round(u*100)/100}}}hc();mc();Mc();_c();k();cc();C();function Cc(){s((f)=>({...f,hasCompletedOnboarding:!0,lastOnboardingVersion:"99.0.0"}))}function Lc(f,c){return new Promise((i)=>{let n=(_)=>void i(_);f.render(c(n))})}async function Gf(f,c,i){return wc(f,c,{color:"error",beforeExit:i})}async function wc(f,c,i){let{Text:n}=await import("./ink-0.5.10-chpcjhk0.mjs"),_=i?.color,l=i?.exitCode??1;f.render(_?m(n,{color:_,children:c}):m(n,{children:c})),f.unmount(),await i?.beforeExit?.(),process.exit(l)}function z(f,c,i){return Lc(f,(n)=>m(X,{onChangeAppState:i?.onChangeAppState,children:m(Y,{children:c(n)})}))}async function Ef(f,c){f.render(c),G0(),await f.waitUntilExit(),await W0(0)}async function kf(f,c,i,n,_){if(K(!1)||process.env.IS_DEMO)return!1;R("setupScreens_start");let l=H0(),u=!1;if(P0()){let{MigrationDialog:o}=await import("./MigrationDialog-0.5.10-fxhfd566.mjs");await z(f,(h)=>m(o,{onDone:()=>void h()}))}let M=t();if(l&&(!M.theme||!M.hasCompletedOnboarding)){u=!0;let{Onboarding:o}=await import("./Onboarding-0.5.10-61c4a01v.mjs");await z(f,(h)=>m(o,{onDone:()=>{Cc(),h()}}),{onChangeAppState:N})}if(!K(process.env.CLAUBBIT)){if(l&&!V0()){let{TrustDialog:o}=await import("./TrustDialog-0.5.10-v09an4xe.mjs");await z(f,(h)=>m(o,{commands:n,onDone:h}))}if(T0(!0),R("setupScreens_after_trust_accepted"),L0(),C0(),D0(),R("setupScreens_after_growthbook_kick"),l){let{errors:o}=y0();if(o.length===0)await F0(f);R("setupScreens_after_mcp_approvals");let h=await B0();if(R("setupScreens_after_claudemd_check"),h){let F=b0(await O0(!0)),{ClaudeMdExternalIncludesDialog:a}=await import("./ClaudeMdExternalIncludesDialog-0.5.10-mwwqh2cz.mjs");await z(f,(T)=>m(a,{onDone:T,isStandaloneDialog:!0,externalIncludes:F}))}}}E0(),Q0(),R("setupScreens_after_env_applied"),setImmediate(()=>p0());let I=await Y0();if(R("setupScreens_after_grove_check"),I){R("setupScreens_grove_block_enter");let{GroveDialog:o}=await import("./Grove-0.5.10-f2m596r7.mjs");if(await z(f,(F)=>m(o,{showIfAlreadyViewed:!1,location:u?"onboarding":"policy_update_modal",onDone:F}))==="escape")return q("tengu_grove_policy_exited",{}),d(0),!1}{let o=z0();R("setupScreens_after_tryGetActiveProvider");let h=o?.transport==="anthropic"?o.apiKey?.trim():void 0;if(h&&!R0()){let F=J0(h),a=q0(F);if(R("setupScreens_after_keyStatus"),a==="new"){let{ApproveApiKey:T}=await import("./ApproveApiKey-0.5.10-mpm24aq5.mjs");await z(f,(w)=>m(T,{customApiKeyTruncated:F,onDone:w}),{onChangeAppState:N})}}}if(R("setupScreens_after_custom_api_key"),(c==="bypassPermissions"||i)&&!w0()){let{BypassPermissionsModeDialog:o}=await import("./BypassPermissionsModeDialog-0.5.10-2gqvp73t.mjs");await z(f,(h)=>m(o,{onAccept:h}))}if(c==="auto"&&!U0()){let{AutoModeOptInDialog:o}=await import("./AutoModeOptInDialog-0.5.10-tk2jpgdr.mjs");await z(f,(h)=>m(o,{onAccept:h,onDecline:()=>d(1),declineExits:!0}))}return R("setupScreens_end"),u}function pf(f){let c=0,i=Z0(f);if(i.stdin)q("tengu_stdin_interactive",{});let n=new A,_=k0();a0(_);let l=process.env.CLAUDE_CODE_FRAME_TIMING_LOG;return{getFpsMetrics:()=>n.getMetrics(),stats:_,renderOptions:{...i,onFrame:(u)=>{if(n.record(u.durationMs),_.observe("frame_duration_ms",u.durationMs),l&&u.phases){let M=JSON.stringify({total:u.durationMs,...u.phases,rss:process.memoryUsage.rss(),cpu:process.cpuUsage()})+`
2
+ `;Rc(l,M)}if(X0())return;for(let M of u.flickers){if(M.reason==="resize")continue;let I=Date.now();if(I-c<1000)q("tengu_flicker",{desiredHeight:M.desiredHeight,actualHeight:M.availableHeight,reason:M.reason});c=I}}}}}
3
+ export{Cc as A,Lc as B,Gf as C,wc as D,z as E,Ef as F,kf as G,pf as H};
@@ -0,0 +1,9 @@
1
+ import{p4 as S}from"./cli-0.5.10-p8hbe96w.mjs";import{Cfa as E,Gfa as o,Qfa as $,Tfa as d}from"./cli-0.5.10-p4wmnjhz.mjs";import{Fga as r,uga as u,vga as BG}from"./cli-0.5.10-jsnrvena.mjs";import{Ama as f,zma as q}from"./cli-0.5.10-c9z4tdw2.mjs";import{Wma as B,mna as LG}from"./cli-0.5.10-rwqvbtg3.mjs";import{qna as YG}from"./cli-0.5.10-dmmckmyf.mjs";import{Hna as QG,Lna as F,Mna as FG}from"./cli-0.5.10-1sd567wn.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.10-5fsxcv9a.mjs"),import("./index-0.5.10-8t5phmpa.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{Wg as e,Zg as fq}from"./cli-0.5.10-tkjtbv56.mjs";import{_g as t,ah as Hq}from"./cli-0.5.10-ax0fmeqk.mjs";import{YK as o,ZK as s,_K as Oq,cm as S,dm as Nq,em as g,fm as Vq,gm as $,hm as Wq,kD as r,km as i,lD as kq,lm as Yq,uD as n,vD as Mq}from"./cli-0.5.10-8jjacn05.mjs";import{fV as u,hV as Zq}from"./cli-0.5.10-dzr8kmx4.mjs";import{JX as Xq,LV as Qq,cX as M,eX as F,wX as c,xX as Uq}from"./cli-0.5.10-9xc8zhxg.mjs";import{mZ as L,nZ as R,oZ as l}from"./cli-0.5.10-gs8dx67v.mjs";import{pZ as Lq}from"./cli-0.5.10-9ek8f4vk.mjs";import{k6 as d,l6 as Jq}from"./cli-0.5.10-2fqes7gy.mjs";import{Hna as a,Lna as Gq}from"./cli-0.5.10-1sd567wn.mjs";function qq(){let Z=T.c(1),q;if(Z[0]===Symbol.for("react.memo_cache_sentinel"))q=L(F,{dimColor:!0,children:"Claude Code will be able to read files in this directory and make edits when auto-accept edits is on."}),Z[0]=q;else q=Z[0];return q}function wq(Z){let q=T.c(5),{path:X}=Z,Q;if(q[0]!==X)Q=L(F,{color:"permission",children:X}),q[0]=X,q[1]=Q;else Q=q[1];let N;if(q[2]===Symbol.for("react.memo_cache_sentinel"))N=L(qq,{}),q[2]=N;else N=q[2];let J;if(q[3]!==Q)J=R(M,{flexDirection:"column",paddingX:2,gap:1,children:[Q,N]}),q[3]=Q,q[4]=J;else J=q[4];return J}function Kq(Z){let q=T.c(14),{value:X,onChange:Q,onSubmit:N,error:J,suggestions:V,selectedSuggestion:w}=Z,k;if(q[0]===Symbol.for("react.memo_cache_sentinel"))k=L(F,{children:"Enter the path to the directory:"}),q[0]=k;else k=q[0];let Y;if(q[1]!==Q||q[2]!==N||q[3]!==X)Y=L(M,{borderDimColor:!0,borderStyle:"round",marginY:1,paddingLeft:1,children:L(r,{showCursor:!0,placeholder:`Directory path${d.ellipsis}`,value:X,onChange:Q,onSubmit:N,columns:80,cursorOffset:X.length,onChangeCursorOffset:Aq})}),q[1]=Q,q[2]=N,q[3]=X,q[4]=Y;else Y=q[4];let W;if(q[5]!==w||q[6]!==V)W=V.length>0&&L(M,{marginBottom:1,children:L(t,{suggestions:V,selectedSuggestion:w})}),q[5]=w,q[6]=V,q[7]=W;else W=q[7];let U;if(q[8]!==J)U=J&&L(F,{color:"error",children:J}),q[8]=J,q[9]=U;else U=q[9];let O;if(q[10]!==Y||q[11]!==W||q[12]!==U)O=R(M,{flexDirection:"column",children:[k,Y,W,U]}),q[10]=Y,q[11]=W,q[12]=U,q[13]=O;else O=q[13];return O}function Aq(){}function lq(Z){let q=T.c(34),{onAddDirectory:X,onCancel:Q,permissionContext:N,directoryPath:J}=Z,[V,w]=H.useState(""),[k,Y]=H.useState(null),W;if(q[0]===Symbol.for("react.memo_cache_sentinel"))W=[],q[0]=W;else W=q[0];let[U,O]=H.useState(W),[f,B]=H.useState(0),v;if(q[1]===Symbol.for("react.memo_cache_sentinel"))v=async(z)=>{if(!z){O([]),B(0);return}let G=await e(z);O(G),B(0)},q[1]=v;else v=q[1];let I=c(v,100),C,P;if(q[2]!==I||q[3]!==V)C=()=>{I(V)},P=[V,I],q[2]=I,q[3]=V,q[4]=C,q[5]=P;else C=q[4],P=q[5];H.useEffect(C,P);let m;if(q[6]===Symbol.for("react.memo_cache_sentinel"))m=(z)=>{let G=z.id+"/";w(G),Y(null)},q[6]=m;else m=q[6];let zq=m,_;if(q[7]!==X||q[8]!==N)_=async(z)=>{let G=await o(z,N);if(G.resultType==="success")X(G.absolutePath,!1);else Y(s(G))},q[7]=X,q[8]=N,q[9]=_;else _=q[9];let K=_,D;if(q[10]===Symbol.for("react.memo_cache_sentinel"))D={context:"Settings"},q[10]=D;else D=q[10];u("confirm:no",Q,D);let b;if(q[11]!==K||q[12]!==f||q[13]!==U)b=(z)=>{if(U.length>0){if(z.key==="tab"){z.preventDefault();let G=U[f];if(G)zq(G);return}if(z.key==="return"){z.preventDefault();let G=U[f];if(G)K(G.id+"/");return}if(z.key==="up"||z.ctrl&&z.key==="p"){z.preventDefault(),B((G)=>G<=0?U.length-1:G-1);return}if(z.key==="down"||z.ctrl&&z.key==="n"){z.preventDefault(),B((G)=>G>=U.length-1?0:G+1);return}}},q[11]=K,q[12]=f,q[13]=U,q[14]=b;else b=q[14];let x=b,j;if(q[15]!==J||q[16]!==X||q[17]!==Q)j=(z)=>{if(!J)return;let G=z;q:switch(G){case"yes-session":{X(J,!1);break q}case"yes-remember":{X(J,!0);break q}case"no":Q()}},q[15]=J,q[16]=X,q[17]=Q,q[18]=j;else j=q[18];let y=j,p=J?void 0:Eq,A;if(q[19]!==V||q[20]!==J||q[21]!==k||q[22]!==y||q[23]!==K||q[24]!==f||q[25]!==U)A=J?R(M,{flexDirection:"column",gap:1,children:[L(wq,{path:J}),L(n,{options:Rq,onChange:y,onCancel:()=>y("no")})]}):R(M,{flexDirection:"column",gap:1,marginX:2,children:[L(qq,{}),L(Kq,{value:V,onChange:w,onSubmit:K,error:k,suggestions:U,selectedSuggestion:f})]}),q[19]=V,q[20]=J,q[21]=k,q[22]=y,q[23]=K,q[24]=f,q[25]=U,q[26]=A;else A=q[26];let E;if(q[27]!==Q||q[28]!==p||q[29]!==A)E=L(i,{title:"Add directory to workspace",onCancel:Q,color:"permission",isCancelActive:!1,inputGuide:p,children:A}),q[27]=Q,q[28]=p,q[29]=A,q[30]=E;else E=q[30];let h;if(q[31]!==x||q[32]!==E)h=L(M,{flexDirection:"column",tabIndex:0,autoFocus:!0,onKeyDown:x,children:E}),q[31]=x,q[32]=E,q[33]=h;else h=q[33];return h}function Eq(Z){return Z.pending?R(F,{children:["Press ",Z.keyName," again to exit"]}):R($,{children:[L(S,{shortcut:"Tab",action:"complete"}),L(S,{shortcut:"Enter",action:"add"}),L(g,{action:"confirm:no",context:"Settings",fallback:"Esc",description:"cancel"})]})}var T,H,Rq;var Fq=Gq(()=>{Jq();Uq();Oq();kq();Xq();Zq();fq();Vq();Mq();Wq();Yq();Nq();Hq();l();T=a(Qq(),1),H=a(Lq(),1),Rq=[{value:"yes-session",label:"Yes, for this session"},{value:"yes-remember",label:"Yes, and remember this directory"},{value:"no",label:"No"}]});
2
+ export{lq as Ug,Fq as Vg};
@@ -0,0 +1,2 @@
1
+ import{Kn as W,Ln as n,mw as I,nw as P,qw as t}from"./cli-0.5.10-8jjacn05.mjs";import{uZ as H,vZ as p}from"./cli-0.5.10-tqpg21eq.mjs";import{wZ as C,yZ as i}from"./cli-0.5.10-p5j82v0t.mjs";import{T3 as l,U2 as v,b0 as S,g0 as c,t3 as R,z3 as V}from"./cli-0.5.10-xyscak5q.mjs";import{Nba as T,Oba as Y,Raa as O,T$ as q,U$ as u,Uba as y,Xba as k,_ba as g,kca as D,sca as m,uaa as E,xaa as X}from"./cli-0.5.10-2fqes7gy.mjs";import{Ada as $,Bda as h,xda as G,zda as f}from"./cli-0.5.10-xrwj7982.mjs";import{Hea as Z,Mea as _,Nea as M}from"./cli-0.5.10-jd7ff66n.mjs";import{Qfa as x,Tfa as b}from"./cli-0.5.10-p4wmnjhz.mjs";import{Wma as Q,mna as A}from"./cli-0.5.10-rwqvbtg3.mjs";import{Lna as U}from"./cli-0.5.10-1sd567wn.mjs";async function s(){if(q())return x("[Bootstrap] Skipped: Nonessential traffic disabled"),null;if(S()!=="firstParty")return x("[Bootstrap] Skipped: 3P provider"),null;let w=v();if(!(R()?.accessToken&&V())&&!w)return x("[Bootstrap] Skipped: no usable OAuth or API key"),null;let J=`${_().BASE_API_URL}/api/claude_cli/bootstrap`;try{return await H(async()=>{let j=R()?.accessToken,z;if(j&&V())z={Authorization:`Bearer ${j}`,"anthropic-beta":Z};else if(w)z={"x-api-key":w};else return x("[Bootstrap] No auth available on retry, aborting"),null;x("[Bootstrap] Fetching");let N=await Q.get(J,{headers:{"Content-Type":"application/json","User-Agent":C(),...z},timeout:5000}),B=d().safeParse(N.data);if(!B.success)return x(`[Bootstrap] Response failed validation: ${B.error.message}`),null;return x("[Bootstrap] Fetch ok"),B.data})}catch(j){if(Q.isAxiosError(j)){let z=j.response?.status??"no-response",N=j.code??"unknown-code",B=j.config?.method?.toUpperCase()??"UNKNOWN",K=j.config?.url??"unknown-url",L=j.message??"unknown axios error";x(`[Bootstrap] Fetch failed: status=${z} code=${N} method=${B} url=${K} message=${L}`)}else{let z=j instanceof Error?j.message:String(j);x(`[Bootstrap] Fetch failed: ${z}`)}throw j}}async function a(){let w=Y();if(!w?.startsWith("openai:"))return null;let{baseUrl:F}=T(),J=await P({baseUrl:F,apiKey:k()?.apiKey});if(J===null)return x("[Bootstrap] Local OpenAI model discovery failed"),null;let j=I(F);return{clientData:X().clientDataCache??null,additionalModelOptionsScope:w,additionalModelOptions:J.map((z)=>({value:z,label:z,description:`Detected from ${j}`}))}}async function Yj(){try{let w=Y(),F=null;if(w==="firstParty"){let B=await s();if(!B)return;F={clientData:B.client_data??null,additionalModelOptions:B.additional_model_options??[],additionalModelOptionsScope:w}}else if(w?.startsWith("openai:")){if(F=await a(),!F)return}else{x("[Bootstrap] Skipped: no additional model source");return}let{clientData:J,additionalModelOptions:j,additionalModelOptionsScope:z}=F,N=X();if(W(N.clientDataCache,J)&&W(N.additionalModelOptionsCache,j)&&N.additionalModelOptionsCacheScope===z){x("[Bootstrap] Cache unchanged, skipping write");return}x("[Bootstrap] Cache updated, persisting to disk"),E((B)=>({...B,clientDataCache:J,additionalModelOptionsCache:j,additionalModelOptionsCacheScope:z}))}catch(w){D(w)}}var d;var r=U(()=>{A();n();l();f();M();O();b();p();h();m();c();u();t();i();g();y();d=$(()=>G.object({client_data:G.record(G.string(),G.unknown()).nullish(),additional_model_options:G.array(G.object({model:G.string(),name:G.string(),description:G.string()}).transform(({model:w,name:F,description:J})=>({value:w,label:F,description:J}))).nullish()}))});
2
+ export{Yj as Kb,r as Lb};
@@ -0,0 +1,2 @@
1
+ import{MW as v,NW as Z,OW as D,rW as T,sW as X,tW as I,vW as Y,wW as p}from"./cli-0.5.10-9xc8zhxg.mjs";import{mZ as P,oZ as V}from"./cli-0.5.10-gs8dx67v.mjs";import{pZ as H}from"./cli-0.5.10-9ek8f4vk.mjs";import{ama as F,pja as W}from"./cli-0.5.10-atkghjt0.mjs";import{Hna as A,Lna as C}from"./cli-0.5.10-1sd567wn.mjs";function B({children:_,ref:$,stickyScroll:g,...K}){let E=J.useRef(null),[,w]=J.useState(0),L=J.useRef(new Set),N=J.useRef(!1),U=()=>{for(let q of L.current)q()};function O(q){if(W(),T(q),Y(),U(),N.current)return;N.current=!0,queueMicrotask(()=>{N.current=!1,X(q)})}return J.useImperativeHandle($,()=>({scrollTo(q){let z=E.current;if(!z)return;z.stickyScroll=!1,z.pendingScrollDelta=void 0,z.scrollAnchor=void 0,z.scrollTop=Math.max(0,Math.floor(q)),O(z)},scrollToElement(q,z=0){let G=E.current;if(!G)return;G.stickyScroll=!1,G.pendingScrollDelta=void 0,G.scrollAnchor={el:q,offset:z},O(G)},scrollBy(q){let z=E.current;if(!z)return;z.stickyScroll=!1,z.scrollAnchor=void 0,z.pendingScrollDelta=(z.pendingScrollDelta??0)+Math.floor(q),O(z)},scrollToBottom(){let q=E.current;if(!q)return;q.pendingScrollDelta=void 0,q.stickyScroll=!0,T(q),U(),w((z)=>z+1)},getScrollTop(){return E.current?.scrollTop??0},getPendingDelta(){return E.current?.pendingScrollDelta??0},getScrollHeight(){return E.current?.scrollHeight??0},getFreshScrollHeight(){return E.current?.childNodes[0]?.yogaNode?.getComputedHeight()??E.current?.scrollHeight??0},getViewportHeight(){return E.current?.scrollViewportHeight??0},getViewportTop(){return E.current?.scrollViewportTop??0},isSticky(){let q=E.current;if(!q)return!1;return q.stickyScroll??Boolean(q.attributes.stickyScroll)},subscribe(q){return L.current.add(q),()=>L.current.delete(q)},setClampBounds(q,z){let G=E.current;if(!G)return;G.scrollClampMin=q,G.scrollClampMax=z}}),[]),P("ink-box",{ref:(q)=>{if(E.current=q,q)q.scrollTop??=0},style:{flexWrap:"nowrap",flexDirection:K.flexDirection??"row",flexGrow:K.flexGrow??0,flexShrink:K.flexShrink??1,...K,overflowX:"scroll",overflowY:"scroll"},...g?{stickyScroll:!0}:{},children:P(Z,{flexDirection:"column",flexGrow:1,flexShrink:0,width:"100%",children:_})})}var J,u;var M=C(()=>{F();I();p();v();D();V();J=A(H(),1);u=B});
2
+ export{u as eh,M as fh};
@@ -0,0 +1,3 @@
1
+ import{q as j,r as v}from"./cli-0.5.10-srd78kpc.mjs";import{Lf as C}from"./cli-0.5.10-20w5v1ja.mjs";import{$Q as b,_Q as S}from"./cli-0.5.10-0ar26ct8.mjs";import{DY as R,FY as E}from"./cli-0.5.10-9h23hhgb.mjs";import{Ada as w,Bda as z,xda as Z,zda as U}from"./cli-0.5.10-xrwj7982.mjs";import{Kda as L,Xda as I}from"./cli-0.5.10-rk7at2tn.mjs";import{Qfa as M,Tfa as l,tfa as D,ufa as T,yfa as u}from"./cli-0.5.10-p4wmnjhz.mjs";import{iga as f,pga as p}from"./cli-0.5.10-8wqagr68.mjs";import{Wma as k,mna as h}from"./cli-0.5.10-rwqvbtg3.mjs";U();I();z();E();C();var F={init_retry_max_attempts:3,init_retry_base_delay_ms:500,init_retry_jitter_fraction:0.25,init_retry_max_delay_ms:4000,http_timeout_ms:1e4,uuid_dedup_buffer_size:2000,heartbeat_interval_ms:20000,heartbeat_jitter_fraction:0.1,token_refresh_buffer_ms:300000,teardown_archive_timeout_ms:1500,connect_timeout_ms:15000,min_version:"0.0.0",should_show_app_upgrade_message:!1},m=w(()=>Z.object({init_retry_max_attempts:Z.number().int().min(1).max(10).default(3),init_retry_base_delay_ms:Z.number().int().min(100).default(500),init_retry_jitter_fraction:Z.number().min(0).max(1).default(0.25),init_retry_max_delay_ms:Z.number().int().min(500).default(4000),http_timeout_ms:Z.number().int().min(2000).default(1e4),uuid_dedup_buffer_size:Z.number().int().min(100).max(50000).default(2000),heartbeat_interval_ms:Z.number().int().min(5000).max(30000).default(20000),heartbeat_jitter_fraction:Z.number().min(0).max(0.5).default(0.1),token_refresh_buffer_ms:Z.number().int().min(30000).max(1800000).default(300000),teardown_archive_timeout_ms:Z.number().int().min(500).max(2000).default(1500),connect_timeout_ms:Z.number().int().min(5000).max(60000).default(15000),min_version:Z.string().refine((J)=>{try{return R(J,"0.0.0"),!0}catch{return!1}}).default("0.0.0"),should_show_app_upgrade_message:Z.boolean().default(!1)}));async function y(){let J=await L("tengu_bridge_repl_v2_config",F),K=m().safeParse(J);return K.success?K.data:F}async function o(){let J=await y();if(J.min_version&&R("99.0.0",J.min_version))return`Your version of Claudin (99.0.0) is too old for Remote Control.
2
+ Version ${J.min_version} or higher is required. Run \`claudin update\` to update.`;return null}h();u();function JJ(J){let K=Buffer.from(J,"base64url").toString("utf-8"),X=T(K);if(!X||typeof X!=="object"||!("version"in X)||X.version!==1)throw Error(`Unsupported work secret version: ${X&&typeof X==="object"&&"version"in X?X.version:"unknown"}`);let Y=X;if(typeof Y.session_ingress_token!=="string"||Y.session_ingress_token.length===0)throw Error("Invalid work secret: missing or empty session_ingress_token");if(typeof Y.api_base_url!=="string")throw Error("Invalid work secret: missing api_base_url");return X}function KJ(J,K){let X=new URL(J).hostname,Y=X==="localhost"||X==="127.0.0.1",x=Y?"ws":"wss",H=Y?"v2":"v1",P=J.replace(/^https?:\/\//,"").replace(/\/+$/,"");return`${x}://${P}/${H}/session_ingress/ws/${K}`}function QJ(J,K){if(J===K)return!0;let X=J.slice(J.lastIndexOf("_")+1),Y=K.slice(K.lastIndexOf("_")+1);return X.length>=4&&X===Y}function XJ(J,K){return`${J.replace(/\/+$/,"")}/v1/code/sessions/${K}`}async function B(J,K){let X=await k.post(`${J}/worker/register`,{},{headers:{Authorization:`Bearer ${K}`,"Content-Type":"application/json","anthropic-version":"2023-06-01"},timeout:1e4}),Y=X.data?.worker_epoch,x=typeof Y==="string"?Number(Y):Y;if(typeof x!=="number"||!Number.isFinite(x)||!Number.isSafeInteger(x))throw Error(`registerWorker: invalid worker_epoch in response: ${D(X.data)}`);return x}l();p();b();function WJ(J){return{write:(K)=>J.write(K),writeBatch:(K)=>J.writeBatch(K),close:()=>J.close(),isConnectedStatus:()=>J.isConnectedStatus(),getStateLabel:()=>J.getStateLabel(),setOnData:(K)=>J.setOnData(K),setOnClose:(K)=>J.setOnClose(K),setOnConnect:(K)=>J.setOnConnect(K),connect:()=>void J.connect(),getLastSequenceNum:()=>0,get droppedBatchCount(){return J.droppedBatchCount},reportState:()=>{},reportMetadata:()=>{},reportDelivery:()=>{},flush:()=>Promise.resolve()}}async function HJ(J){let{sessionUrl:K,ingressToken:X,sessionId:Y,initialSequenceNum:x,getAuthToken:H}=J,P;if(H)P=()=>{let Q=H();if(!Q)return{};return{Authorization:`Bearer ${Q}`}};else S(X);let O=J.epoch??await B(K,X);M(`[bridge:repl] CCR v2: worker sessionId=${Y} epoch=${O}${J.epoch!==void 0?" (from /bridge)":" (via registerWorker)"}`);let V=new URL(K);V.pathname=V.pathname.replace(/\/$/,"")+"/worker/events/stream";let q=new v(V,{},Y,void 0,x,P),G,$=new j(q,new URL(K),{getAuthHeaders:P,heartbeatIntervalMs:J.heartbeatIntervalMs,heartbeatJitterFraction:J.heartbeatJitterFraction,onEpochMismatch:()=>{M("[bridge:repl] CCR v2: epoch superseded (409) — closing for poll-loop recovery");try{$.close(),q.close(),G?.(4090)}catch(Q){M(`[bridge:repl] CCR v2: error during epoch-mismatch cleanup: ${f(Q)}`,{level:"error"})}throw Error("epoch superseded")}});q.setOnEvent((Q)=>{$.reportDelivery(Q.event_id,"received"),$.reportDelivery(Q.event_id,"processed")});let _,N=!1,A=!1;return{write(Q){return $.writeEvent(Q)},async writeBatch(Q){for(let W of Q){if(A)break;await $.writeEvent(W)}},close(){A=!0,$.close(),q.close()},isConnectedStatus(){return N},getStateLabel(){if(q.isClosedStatus())return"closed";if(q.isConnectedStatus())return N?"connected":"init";return"connecting"},setOnData(Q){q.setOnData(Q)},setOnClose(Q){G=Q,q.setOnClose((W)=>{$.close(),Q(W??4092)})},setOnConnect(Q){_=Q},getLastSequenceNum(){return q.getLastSequenceNum()},droppedBatchCount:0,reportState(Q){$.reportState(Q)},reportMetadata(Q){$.reportMetadata(Q)},reportDelivery(Q,W){$.reportDelivery(Q,W)},flush(){return $.flush()},connect(){if(!J.outboundOnly)q.connect();$.initialize(O).then(()=>{N=!0,M(`[bridge:repl] v2 transport ready for writes (epoch=${O}, sse=${q.isConnectedStatus()?"open":"opening"})`),_?.()},(Q)=>{M(`[bridge:repl] CCR v2 initialize failed: ${f(Q)}`,{level:"error"}),$.close(),q.close(),G?.(4091)})}}}class g{_active=!1;_pending=[];get active(){return this._active}get pendingCount(){return this._pending.length}start(){this._active=!0}end(){return this._active=!1,this._pending.splice(0)}enqueue(...J){if(!this._active)return!1;return this._pending.push(...J),!0}drop(){this._active=!1;let J=this._pending.length;return this._pending.length=0,J}deactivate(){this._active=!1}}
3
+ export{y as e,o as f,JJ as g,KJ as h,QJ as i,XJ as j,WJ as k,HJ as l,g as m};
@@ -0,0 +1,2 @@
1
+ import{Kna as Q,Lna as U}from"./cli-0.5.10-1sd567wn.mjs";var w={};Q(w,{default:()=>x,createSupportsColor:()=>K});import M from"node:process";import V from"node:os";import O from"node:tty";function z(q,B=globalThis.Deno?globalThis.Deno.args:M.argv){let D=q.startsWith("-")?"":q.length===1?"-":"--",E=B.indexOf(D+q),G=B.indexOf("--");return E!==-1&&(G===-1||E<G)}function X(){if(!("FORCE_COLOR"in j))return;if(j.FORCE_COLOR==="true")return 1;if(j.FORCE_COLOR==="false")return 0;if(j.FORCE_COLOR.length===0)return 1;let q=Math.min(Number.parseInt(j.FORCE_COLOR,10),3);if(![0,1,2,3].includes(q))return;return q}function Z(q){if(q===0)return!1;return{level:q,hasBasic:!0,has256:q>=2,has16m:q>=3}}function $(q,{streamIsTTY:B,sniffFlags:D=!0}={}){let E=X();if(E!==void 0)H=E;let G=D?H:E;if(G===0)return 0;if(D){if(z("color=16m")||z("color=full")||z("color=truecolor"))return 3;if(z("color=256"))return 2}if("TF_BUILD"in j&&"AGENT_NAME"in j)return 1;if(q&&!B&&G===void 0)return 0;let J=G||0;if(j.TERM==="dumb")return J;if(M.platform==="win32"){let A=V.release().split(".");if(Number(A[0])>=10&&Number(A[2])>=10586)return Number(A[2])>=14931?3:2;return 1}if("CI"in j){if(["GITHUB_ACTIONS","GITEA_ACTIONS","CIRCLECI"].some((A)=>(A in j)))return 3;if(["TRAVIS","APPVEYOR","GITLAB_CI","BUILDKITE","DRONE"].some((A)=>(A in j))||j.CI_NAME==="codeship")return 1;return J}if("TEAMCITY_VERSION"in j)return/^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(j.TEAMCITY_VERSION)?1:0;if(j.COLORTERM==="truecolor")return 3;if(j.TERM==="xterm-kitty")return 3;if(j.TERM==="xterm-ghostty")return 3;if(j.TERM==="wezterm")return 3;if("TERM_PROGRAM"in j){let A=Number.parseInt((j.TERM_PROGRAM_VERSION||"").split(".")[0],10);switch(j.TERM_PROGRAM){case"iTerm.app":return A>=3?3:2;case"Apple_Terminal":return 2}}if(/-256(color)?$/i.test(j.TERM))return 2;if(/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(j.TERM))return 1;if("COLORTERM"in j)return 1;return J}function K(q,B={}){let D=$(q,{streamIsTTY:q&&q.isTTY,...B});return Z(D)}var j,H,b,x;var L=U(()=>{({env:j}=M);if(z("no-color")||z("no-colors")||z("color=false")||z("color=never"))H=0;else if(z("color")||z("colors")||z("color=true")||z("color=always"))H=1;b={stdout:K({isTTY:O.isatty(1)}),stderr:K({isTTY:O.isatty(2)})},x=b});
2
+ export{K as sna,w as tna,L as una};
@@ -0,0 +1,2 @@
1
+ import{B6 as A,D6 as _,Waa as M,Xba as D,_ba as v,cba as H,mba as b,pba as Y,qba as G}from"./cli-0.5.10-2fqes7gy.mjs";import{Fga as E,xga as K}from"./cli-0.5.10-jsnrvena.mjs";import{Lna as B}from"./cli-0.5.10-1sd567wn.mjs";function w(){return process.env.GITHUB_DEVICE_FLOW_CLIENT_ID?.trim()||f}function x(J){return new Promise((N)=>setTimeout(N,J))}async function n(J){let N=J?.clientId??w();if(!N)throw new j("No OAuth client ID: set GITHUB_DEVICE_FLOW_CLIENT_ID.");let V=J?.fetchImpl??fetch,$=J?.scope?.trim()||L,X=$===L?[$]:[$,L],y="Device code request failed.";for(let W of X){let Z=await V(k,{method:"POST",headers:{Accept:"application/json"},body:new URLSearchParams({client_id:N,scope:W})});if(!Z.ok){let R=await Z.text().catch(()=>"");y=`Device code request failed: ${Z.status} ${R}`;let F=/invalid_scope/i.test(R);if(W!==L&&F)continue;throw new j(y)}let Q=await Z.json(),z=Q.device_code,q=Q.user_code,O=Q.verification_uri;if(typeof z!=="string"||typeof q!=="string"||typeof O!=="string")throw new j("Malformed device code response from GitHub");return{device_code:z,user_code:q,verification_uri:O,expires_in:typeof Q.expires_in==="number"?Q.expires_in:900,interval:typeof Q.interval==="number"?Q.interval:5}}throw new j(y)}async function a(J,N){let V=N?.clientId??w();if(!V)throw new j("client_id required for polling");let $=Math.max(1,N?.initialInterval??5),X=N?.timeoutSeconds??900,y=N?.fetchImpl??fetch,W=Date.now();while((Date.now()-W)/1000<X){let Z=await y(g,{method:"POST",headers:{Accept:"application/json"},body:new URLSearchParams({client_id:V,device_code:J,grant_type:"urn:ietf:params:oauth:grant-type:device_code"})});if(!Z.ok){let q=await Z.text().catch(()=>"");throw new j(`Token request failed: ${Z.status} ${q}`)}let Q=await Z.json(),z=Q.error;if(z==null){let q=Q.access_token;if(typeof q==="string"&&q)return q;throw new j("No access_token in response")}if(z==="authorization_pending"){await x($*1000);continue}if(z==="slow_down"){$=typeof Q.interval==="number"?Q.interval:$+5,await x($*1000);continue}if(z==="expired_token")throw new j("Device code expired. Start the login flow again.");if(z==="access_denied")throw new j("Authorization was denied or cancelled.");throw new j(`GitHub OAuth error: ${z}`)}throw new j("Timed out waiting for authorization.")}async function s(J){try{if(process.platform==="darwin")await A("open",[J],{useCwd:!1,timeout:5000});else if(process.platform==="win32")await A("cmd",["/c","start","",J],{useCwd:!1,timeout:5000});else await A("xdg-open",[J],{useCwd:!1,timeout:5000})}catch{}}async function I(J,N){let $=await(N??fetch)(S,{method:"GET",headers:{Accept:"application/json",Authorization:`Bearer ${J}`,...T}});if(!$.ok){let z=await $.text().catch(()=>"");throw new j(`Copilot token exchange failed: ${$.status} ${z}`)}let X=await $.json(),y=X.token,W=X.expires_at,Z=X.refresh_in,Q=X.endpoints;if(typeof y!=="string"||typeof W!=="number"||typeof Z!=="number"||!Q||typeof Q!=="object"||typeof Q.api!=="string")throw new j("Malformed Copilot token response");return{token:y,expires_at:W,refresh_in:Z,endpoints:Q}}var f="Iv1.b507a08c87ecfe98",k="https://github.com/login/device/code",g="https://github.com/login/oauth/access_token",S="https://api.github.com/copilot_internal/v2/token",L="read:user",T,j;var P=B(()=>{_();T={"User-Agent":"GitHubCopilotChat/0.26.7","Editor-Version":"vscode/1.99.3","Editor-Plugin-Version":"copilot-chat/0.26.7","Copilot-Integration-Id":"vscode-chat"};j=class j extends Error{constructor(J){super(J);this.name="GitHubDeviceFlowError"}}});function m(){return D()?.transport==="github_copilot"}function h(J){let N=J.match(/exp=(\d+)/);if(N){let X=Number(N[1]);if(!Number.isNaN(X))return Date.now()>=X*1000?"expired":"valid"}let V=J.split(".");if(V.length===3&&V.every((X)=>/^[A-Za-z0-9_-]+$/.test(X)))try{let X=V[1].replace(/-/g,"+").replace(/_/g,"/"),y=X+"=".repeat((4-X.length%4)%4),W=Buffer.from(y,"base64").toString("utf8"),Z=JSON.parse(W);if(Z&&typeof Z==="object"&&Z.exp)return Date.now()>=Z.exp*1000?"expired":"valid"}catch{return"invalid_format"}return"invalid_format"}function u(){if(K())return;try{return Y().read()?.githubModels?.accessToken?.trim()||void 0}catch{return}}async function XJ(){if(K())return;try{return(await Y().readAsync())?.githubModels?.accessToken?.trim()||void 0}catch{return}}function ZJ(){if(!m())return;if(K())return;if(u())return}async function $J(){if(!m())return!1;if(K())return!1;if(U)return U;return U=(async()=>{try{let V=Y().read()?.githubModels,$=V?.accessToken?.trim()||"",X=V?.oauthAccessToken?.trim()||"";if(!$&&!X)return!1;if(($?h($):"expired")==="valid")return!1;if(!X)return!1;let W=await I(X);if(!p(W.token,X).success)return!1;let Q=M().find((z)=>z.provider==="openai"&&z.extras?.githubToken!==void 0);if(Q)H(Q.id,{provider:"openai",name:Q.name,baseUrl:Q.baseUrl,model:Q.model,apiKey:W.token,extras:{...Q.extras,githubToken:W.token}});return!0}catch{return!1}finally{U=null}})(),U}function p(J,N){if(K())return{success:!1,warning:"Bare mode: secure storage is disabled."};let V=J.trim();if(!V)return{success:!1,warning:"Token is empty."};let $=Y(),X=$.read()||{},y=X[C],W=N?.trim(),Z={accessToken:V};if(W)Z.oauthAccessToken=W;else if(y?.oauthAccessToken?.trim())Z.oauthAccessToken=y.oauthAccessToken.trim();let Q={...X,[C]:Z};return $.update(Q)}function NJ(){if(K())return{success:!0};let J=Y(),V={...J.read()||{}};return delete V[C],J.update(V)}var C="githubModels",QJ="CLAUDE_CODE_GITHUB_TOKEN_HYDRATED",U=null;var l=B(()=>{v();E();G();P();b()});
2
+ export{n as GY,a as HY,s as IY,I as JY,P as KY,C as LY,QJ as MY,u as NY,XJ as OY,ZJ as PY,$J as QY,p as RY,NJ as SY,l as TY};
@@ -0,0 +1,2 @@
1
+ import{mZ as v,oZ as D}from"./cli-0.5.10-gs8dx67v.mjs";import{Mna as B}from"./cli-0.5.10-1sd567wn.mjs";D();var w,z;function N(g,q){w=g,z=q}async function O(g,q,F,G){let H=w??import("./App-0.5.10-yzg0d70f.mjs"),J=z??import("./REPL-0.5.10-qag06ykw.mjs");w=void 0,z=void 0;let[{App:K},{REPL:M}]=await Promise.all([H,J]);await G(g,v(K,{...q,children:v(M,{...F})}))}
2
+ export{N as xb,O as yb};
@@ -0,0 +1,2 @@
1
+ import{Lm as E,Mm as m,Mn as l,Nm as Xq,Nn as Rq,On as i,Pn as Aq,gn as S,ln as Zq}from"./cli-0.5.10-8jjacn05.mjs";import{d_ as u,f_ as g,i_ as h,j_ as n,kca as D,o_ as vq,sca as Qq}from"./cli-0.5.10-2fqes7gy.mjs";import{xda as d,zda as Uq}from"./cli-0.5.10-xrwj7982.mjs";import{Cfa as M,Gfa as y,Qfa as V,Tfa as e,tfa as P,ufa as v,yfa as f}from"./cli-0.5.10-p4wmnjhz.mjs";import{iga as W,jga as O,kga as C,pga as _}from"./cli-0.5.10-8wqagr68.mjs";import{Wma as p,mna as qq}from"./cli-0.5.10-rwqvbtg3.mjs";import{Lna as N}from"./cli-0.5.10-1sd567wn.mjs";import{homedir as a}from"os";import{resolve as t}from"path";async function Fq(Z){let q=Z.trim(),$=M(),Q=q.match(/^([a-zA-Z0-9._-]+@[^:]+:.+?(?:\.git)?)(#(.+))?$/);if(Q?.[1]){let z=Q[1],G=Q[3];return G?{source:"git",url:z,ref:G}:{source:"git",url:z}}if(q.startsWith("http://")||q.startsWith("https://")){let z=q.match(/^([^#]+)(#(.+))?$/),G=z?.[1]||q,X=z?.[3];if(G.endsWith(".git")||G.includes("/_git/"))return X?{source:"git",url:G,ref:X}:{source:"git",url:G};let Y;try{Y=new URL(G)}catch(J){return{source:"url",url:G}}if(Y.hostname==="github.com"||Y.hostname==="www.github.com"){if(Y.pathname.match(/^\/([^/]+\/[^/]+?)(\/|\.git|$)/)?.[1]){let K=G.endsWith(".git")?G:`${G}.git`;return X?{source:"git",url:K,ref:X}:{source:"git",url:K}}}return{source:"url",url:G}}let x=process.platform==="win32"&&(q.startsWith(".\\")||q.startsWith("..\\")||/^[a-zA-Z]:[/\\]/.test(q));if(q.startsWith("./")||q.startsWith("../")||q.startsWith("/")||q.startsWith("~")||x){let z=t(q.startsWith("~")?q.replace(/^~/,a()):q),G;try{G=await $.stat(z)}catch(X){let Y=O(X);return{error:Y==="ENOENT"?`Path does not exist: ${z}`:`Cannot access path: ${z} (${Y??X})`}}if(G.isFile())if(z.endsWith(".json"))return{source:"file",path:z};else return{error:`File path must point to a .json file (marketplace.json), but got: ${z}`};else if(G.isDirectory())return{source:"directory",path:z};else return{error:`Path is neither a file nor a directory: ${z}`}}if(q.includes("/")&&!q.startsWith("@")){if(q.includes(":"))return null;let z=q.match(/^([^#@]+)(?:[#@](.+))?$/),G=z?.[1]||q,X=z?.[2];return X?{source:"github",repo:G,ref:X}:{source:"github",repo:G}}return null}var r=N(()=>{_();y()});import{randomBytes as $q}from"crypto";import{readFile as Bq,rename as Gq,unlink as Yq,writeFile as Jq}from"fs/promises";import{join as Kq}from"path";function c(){return Kq(S(),xq)}async function Hq(){let Z=c();try{let q=await Bq(Z,{encoding:"utf-8"}),$=v(q);if(typeof $!=="object"||$===null||!("version"in $)||!("fetchedAt"in $)||!("counts"in $))return V("Install counts cache has invalid structure"),null;let Q=$;if(Q.version!==L)return V(`Install counts cache version mismatch (got ${Q.version}, expected ${L})`),null;if(typeof Q.fetchedAt!=="string"||!Array.isArray(Q.counts))return V("Install counts cache has invalid structure"),null;let B=new Date(Q.fetchedAt).getTime();if(Number.isNaN(B))return V("Install counts cache has invalid fetchedAt timestamp"),null;if(!Q.counts.every((G)=>typeof G==="object"&&G!==null&&typeof G.plugin==="string"&&typeof G.unique_installs==="number"))return V("Install counts cache has malformed entries"),null;if(Date.now()-B>zq)return V("Install counts cache is stale (>24h old)"),null;return{version:Q.version,fetchedAt:Q.fetchedAt,counts:Q.counts}}catch(q){if(O(q)!=="ENOENT")V(`Failed to load install counts cache: ${W(q)}`);return null}}async function Vq(Z){let q=c(),$=`${q}.${$q(8).toString("hex")}.tmp`;try{let Q=S();await M().mkdir(Q);let B=P(Z,null,2);await Jq($,B,{encoding:"utf-8",mode:384}),await Gq($,q),V("Install counts cache saved successfully")}catch(Q){D(Q);try{await Yq($)}catch{}}}async function Wq(){V(`Fetching install counts from ${I}`);let Z=performance.now();try{let q=await p.get(I,{timeout:1e4});if(!q.data?.plugins||!Array.isArray(q.data.plugins))throw Error("Invalid response format from install counts API");return E("install_counts",I,"success",performance.now()-Z),q.data.plugins}catch(q){throw E("install_counts",I,"failure",performance.now()-Z,m(q)),q}}async function nq(){let Z=await Hq();if(Z){V("Using cached install counts"),E("install_counts",I,"cache_hit",0);let q=new Map;for(let $ of Z.counts)q.set($.plugin,$.unique_installs);return q}try{let q=await Wq(),$={version:L,fetchedAt:new Date().toISOString(),counts:q};await Vq($);let Q=new Map;for(let B of q)Q.set(B.plugin,B.unique_installs);return Q}catch(q){return D(q),V(`Failed to fetch install counts: ${W(q)}`),null}}function lq(Z){if(Z<1000)return String(Z);if(Z<1e6){let B=(Z/1000).toFixed(1);return B.endsWith(".0")?`${B.slice(0,-2)}K`:`${B}K`}let $=(Z/1e6).toFixed(1);return $.endsWith(".0")?`${$.slice(0,-2)}M`:`${$}M`}var L=1,xq="install-counts-cache.json",I="https://raw.githubusercontent.com/anthropics/claude-plugins-official/refs/heads/stats/stats/plugin-installs.json",zq=86400000;var Oq=N(()=>{qq();e();_();y();Qq();f();Xq();Zq()});import{readdir as Iq,readFile as A,stat as wq}from"fs/promises";import*as H from"path";function Eq(Z){let q=H.basename(Z),$=H.basename(H.dirname(Z));if(q==="plugin.json")return"plugin";if(q==="marketplace.json")return"marketplace";if($===".claude-plugin")return"plugin";return"unknown"}function F(Z){return Z.issues.map((q)=>({path:q.path.join(".")||"root",message:q.message,code:q.code}))}function w(Z,q,$,Q){if(Z.includes(".."))$.push({path:q,message:Q?`Path contains "..": ${Z}. ${Q}`:`Path contains ".." which could be a path traversal attempt: ${Z}`})}function Nq(Z){let q=Z.replace(/^(\.\.\/)+/,"");return`Plugin source paths are resolved relative to the marketplace root (the directory containing .claude-plugin/), not relative to marketplace.json. Use "${q!==Z?`./${q}`:"./plugins/my-plugin"}" instead of "${Z}".`}async function j(Z){let q=[],$=[],Q=H.resolve(Z),B;try{B=await A(Q,{encoding:"utf-8"})}catch(X){let Y=O(X),J;if(Y==="ENOENT")J=`File not found: ${Q}`;else if(Y==="EISDIR")J=`Path is not a file: ${Q}`;else J=`Failed to read file: ${W(X)}`;return{success:!1,errors:[{path:"file",message:J,code:Y}],warnings:[],filePath:Q,fileType:"plugin"}}let x;try{x=v(B)}catch(X){return{success:!1,errors:[{path:"json",message:`Invalid JSON syntax: ${W(X)}`}],warnings:[],filePath:Q,fileType:"plugin"}}if(x&&typeof x==="object"){let X=x;if(X.commands)(Array.isArray(X.commands)?X.commands:[X.commands]).forEach((J,K)=>{if(typeof J==="string")w(J,`commands[${K}]`,q)});if(X.agents)(Array.isArray(X.agents)?X.agents:[X.agents]).forEach((J,K)=>{if(typeof J==="string")w(J,`agents[${K}]`,q)});if(X.skills)(Array.isArray(X.skills)?X.skills:[X.skills]).forEach((J,K)=>{if(typeof J==="string")w(J,`skills[${K}]`,q)})}let z=x;if(typeof x==="object"&&x!==null){let X=x,Y=Object.keys(X).filter((J)=>Mq.has(J));if(Y.length>0){let J={...X};for(let K of Y)delete J[K],$.push({path:K,message:`Field '${K}' belongs in the marketplace entry (marketplace.json), `+"not plugin.json. It's harmless here but unused — Claude Code "+"ignores it at load time."});z=J}}let G=g().strict().safeParse(z);if(!G.success)q.push(...F(G.error));if(G.success){let X=G.data;if(!/^[a-z0-9]+(-[a-z0-9]+)*$/.test(X.name))$.push({path:"name",message:`Plugin name "${X.name}" is not kebab-case. Claude Code accepts it, but the Claude.ai marketplace sync requires kebab-case (lowercase letters, digits, and hyphens only, e.g., "my-plugin").`});if(!X.version)$.push({path:"version",message:'No version specified. Consider adding a version following semver (e.g., "1.0.0")'});if(!X.description)$.push({path:"description",message:"No description provided. Adding a description helps users understand what your plugin does"});if(!X.author)$.push({path:"author",message:"No author information provided. Consider adding author details for plugin attribution"})}return{success:q.length===0,errors:q,warnings:$,filePath:Q,fileType:"plugin"}}async function k(Z){let q=[],$=[],Q=H.resolve(Z),B;try{B=await A(Q,{encoding:"utf-8"})}catch(X){let Y=O(X),J;if(Y==="ENOENT")J=`File not found: ${Q}`;else if(Y==="EISDIR")J=`Path is not a file: ${Q}`;else J=`Failed to read file: ${W(X)}`;return{success:!1,errors:[{path:"file",message:J,code:Y}],warnings:[],filePath:Q,fileType:"marketplace"}}let x;try{x=v(B)}catch(X){return{success:!1,errors:[{path:"json",message:`Invalid JSON syntax: ${W(X)}`}],warnings:[],filePath:Q,fileType:"marketplace"}}if(x&&typeof x==="object"){let X=x;if(Array.isArray(X.plugins))X.plugins.forEach((Y,J)=>{if(Y&&typeof Y==="object"&&"source"in Y){let K=Y.source;if(typeof K==="string")w(K,`plugins[${J}].source`,q,Nq(K));if(K&&typeof K==="object"&&"path"in K&&typeof K.path==="string")w(K.path,`plugins[${J}].source.path`,q)}})}let G=n().extend({plugins:d.array(h().strict())}).strict().safeParse(x);if(!G.success)q.push(...F(G.error));if(G.success){let X=G.data;if(!X.plugins||X.plugins.length===0)$.push({path:"plugins",message:"Marketplace has no plugins defined"});if(X.plugins){X.plugins.forEach((K,U)=>{if(X.plugins.filter((R)=>R.name===K.name).length>1)q.push({path:`plugins[${U}].name`,message:`Duplicate plugin name "${K.name}" found in marketplace`})});let Y=H.dirname(Q),J=H.basename(Y)===".claude-plugin"?H.dirname(Y):Y;for(let[K,U]of X.plugins.entries()){if(!U.version||typeof U.source!=="string"||!U.source.startsWith("./"))continue;let T=H.join(J,U.source,".claude-plugin","plugin.json"),R;try{let s=await A(T,{encoding:"utf-8"}),b=v(s);if(typeof b.version==="string")R=b.version}catch{continue}if(R&&R!==U.version)$.push({path:`plugins[${K}].version`,message:`Entry declares version "${U.version}" but ${U.source}/.claude-plugin/plugin.json says "${R}". `+"At install time, plugin.json wins (calculatePluginVersion precedence) — the entry version is silently ignored. "+`Update this entry to "${R}" to match.`})}}if(!X.metadata?.description)$.push({path:"metadata.description",message:"No marketplace description provided. Adding a description helps users understand what this marketplace offers"})}return{success:q.length===0,errors:q,warnings:$,filePath:Q,fileType:"marketplace"}}function _q(Z,q,$){let Q=[],B=[],x=q.match(i);if(!x)return B.push({path:"frontmatter",message:"No frontmatter block found. Add YAML frontmatter between --- delimiters at the top of the file to set description and other metadata."}),{success:!0,errors:Q,warnings:B,filePath:Z,fileType:$};let z=x[1]||"",G;try{G=l(z)}catch(K){return Q.push({path:"frontmatter",message:`YAML frontmatter failed to parse: ${W(K)}. At runtime this ${$} loads with empty metadata (all frontmatter fields silently dropped).`}),{success:!1,errors:Q,warnings:B,filePath:Z,fileType:$}}if(G===null||typeof G!=="object"||Array.isArray(G))return Q.push({path:"frontmatter",message:`Frontmatter must be a YAML mapping (key: value pairs), got ${Array.isArray(G)?"an array":G===null?"null":typeof G}.`}),{success:!1,errors:Q,warnings:B,filePath:Z,fileType:$};let X=G;if(X.description!==void 0){let K=X.description;if(typeof K!=="string"&&typeof K!=="number"&&typeof K!=="boolean"&&K!==null)Q.push({path:"description",message:`description must be a string, got ${Array.isArray(K)?"array":typeof K}. At runtime this value is dropped.`})}else B.push({path:"description",message:`No description in frontmatter. A description helps users and Claude understand when to use this ${$}.`});if(X.name!==void 0&&X.name!==null&&typeof X.name!=="string")Q.push({path:"name",message:`name must be a string, got ${typeof X.name}.`});let Y=X["allowed-tools"];if(Y!==void 0&&Y!==null){if(typeof Y!=="string"&&!Array.isArray(Y))Q.push({path:"allowed-tools",message:`allowed-tools must be a string or array of strings, got ${typeof Y}.`});else if(Array.isArray(Y)&&Y.some((K)=>typeof K!=="string"))Q.push({path:"allowed-tools",message:"allowed-tools array must contain only strings."})}let J=X.shell;if(J!==void 0&&J!==null)if(typeof J!=="string")Q.push({path:"shell",message:`shell must be a string, got ${typeof J}.`});else{let K=J.trim().toLowerCase();if(K!=="bash"&&K!=="powershell")Q.push({path:"shell",message:`shell must be 'bash' or 'powershell', got '${J}'.`})}return{success:Q.length===0,errors:Q,warnings:B,filePath:Z,fileType:$}}async function Lq(Z){let q;try{q=await A(Z,{encoding:"utf-8"})}catch(B){if(O(B)==="ENOENT")return{success:!0,errors:[],warnings:[],filePath:Z,fileType:"hooks"};return{success:!1,errors:[{path:"file",message:`Failed to read file: ${W(B)}`}],warnings:[],filePath:Z,fileType:"hooks"}}let $;try{$=v(q)}catch(B){return{success:!1,errors:[{path:"json",message:`Invalid JSON syntax: ${W(B)}. At runtime this breaks the entire plugin load.`}],warnings:[],filePath:Z,fileType:"hooks"}}let Q=u().safeParse($);if(!Q.success)return{success:!1,errors:F(Q.error),warnings:[],filePath:Z,fileType:"hooks"};return{success:!0,errors:[],warnings:[],filePath:Z,fileType:"hooks"}}async function o(Z,q){let $;try{$=await Iq(Z,{withFileTypes:!0})}catch(B){let x=O(B);if(x==="ENOENT"||x==="ENOTDIR")return[];throw B}if(q)return $.filter((B)=>B.isDirectory()).map((B)=>H.join(Z,B.name,"SKILL.md"));let Q=[];for(let B of $){let x=H.join(Z,B.name);if(B.isDirectory())Q.push(...await o(x,!1));else if(B.isFile()&&B.name.toLowerCase().endsWith(".md"))Q.push(x)}return Q}async function QQ(Z){let q=[],$=[["skill",H.join(Z,"skills")],["agent",H.join(Z,"agents")],["command",H.join(Z,"commands")]];for(let[B,x]of $){let z=await o(x,B==="skill");for(let G of z){let X;try{X=await A(G,{encoding:"utf-8"})}catch(J){if(C(J))continue;q.push({success:!1,errors:[{path:"file",message:`Failed to read: ${W(J)}`}],warnings:[],filePath:G,fileType:B});continue}let Y=_q(G,X,B);if(Y.errors.length>0||Y.warnings.length>0)q.push(Y)}}let Q=await Lq(H.join(Z,"hooks","hooks.json"));if(Q.errors.length>0||Q.warnings.length>0)q.push(Q);return q}async function XQ(Z){let q=H.resolve(Z),$=null;try{$=await wq(q)}catch(B){if(!C(B))throw B}if($?.isDirectory()){let B=H.join(q,".claude-plugin","marketplace.json"),x=await k(B);if(x.errors[0]?.code!=="ENOENT")return x;let z=H.join(q,".claude-plugin","plugin.json"),G=await j(z);if(G.errors[0]?.code!=="ENOENT")return G;return{success:!1,errors:[{path:"directory",message:"No manifest found in directory. Expected .claude-plugin/marketplace.json or .claude-plugin/plugin.json"}],warnings:[],filePath:q,fileType:"plugin"}}switch(Eq(Z)){case"plugin":return j(Z);case"marketplace":return k(Z);case"unknown":{try{let B=await A(q,{encoding:"utf-8"}),x=v(B);if(Array.isArray(x.plugins))return k(Z)}catch(B){if(O(B)==="ENOENT")return{success:!1,errors:[{path:"file",message:`File not found: ${q}`}],warnings:[],filePath:q,fileType:"plugin"}}return j(Z)}}}var Mq;var Dq=N(()=>{Uq();_();Aq();f();Rq();vq();Mq=new Set(["category","source","tags","strict","id"])});
2
+ export{Fq as ec,r as fc,nq as gc,lq as hc,Oq as ic,QQ as jc,XQ as kc,Dq as lc};
@@ -0,0 +1,2 @@
1
+ import{$e as VP,Ye as N0,Ze as U0}from"./cli-0.5.10-j1aznw8b.mjs";import{Bt as J0,Ct as QP,Et as j0,NJ as ZP,OJ as m0,QJ as qP,TI as WP,VJ as CP,aJ as cP,bJ as fP,cm as h,dJ as M0,dm as c0,eJ as h0,em as p,fF as G0,fJ as T0,fm as w0,gF as YP,gJ as d0,gm as r,hm as W0,jJ as R0,kD as XP,kK as C0,km as O0,lD as mP,lm as EP,oK as pP,qJ as u0,uD as L0,wD as i0}from"./cli-0.5.10-8jjacn05.mjs";import{fU as D0,gU as LP}from"./cli-0.5.10-z5ysspq8.mjs";import{TU as JP,UU as hP,fV as z0,hV as TP}from"./cli-0.5.10-dzr8kmx4.mjs";import{FV as PP,JX as q0,KV as AP,LV as I0,UV as k0,aX as C,cX as X,eX as L,iX as F0,yX as GP}from"./cli-0.5.10-9xc8zhxg.mjs";import{lZ as n,mZ as J,nZ as Q,oZ as a}from"./cli-0.5.10-gs8dx67v.mjs";import{pZ as $0}from"./cli-0.5.10-9ek8f4vk.mjs";import{MZ as A0,NZ as dP}from"./cli-0.5.10-d1y749qy.mjs";import{B3 as e0,T3 as gP}from"./cli-0.5.10-xyscak5q.mjs";import{O_ as H0,P_ as zP,X_ as p0,k6 as _,l6 as r0,pca as s0,sca as SP,w_ as y0,x_ as B0,y_ as KP}from"./cli-0.5.10-2fqes7gy.mjs";import{Mea as g0,Nea as _P}from"./cli-0.5.10-jd7ff66n.mjs";import{Oea as m,Qea as IP}from"./cli-0.5.10-y9qd4psg.mjs";import{iga as f0,pga as t0}from"./cli-0.5.10-8wqagr68.mjs";import{Hna as e,Lna as P0}from"./cli-0.5.10-1sd567wn.mjs";function K0(G){let P=o0.c(9),{serverToolsCount:Y,serverPromptsCount:z,serverResourcesCount:Z}=G,f;if(P[0]!==z||P[1]!==Z||P[2]!==Y){if(f=[],Y>0)f.push("tools");if(Z>0)f.push("resources");if(z>0)f.push("prompts");P[0]=z,P[1]=Z,P[2]=Y,P[3]=f}else f=P[3];let H;if(P[4]===Symbol.for("react.memo_cache_sentinel"))H=J(L,{bold:!0,children:"Capabilities: "}),P[4]=H;else H=P[4];let W;if(P[5]!==f)W=f.length>0?J(r,{children:f}):"none",P[5]=f,P[6]=W;else W=P[6];let k;if(P[7]!==W)k=Q(X,{children:[H,J(L,{color:"text",children:W})]}),P[7]=W,P[8]=k;else k=P[8];return k}var o0;var _0=P0(()=>{q0();W0();a();o0=e(I0(),1)});function E0(G,P){switch(G.client.type){case"connected":return{message:`Reconnected to ${P}.`,success:!0};case"needs-auth":return{message:`${P} requires authentication. Use the 'Authenticate' option.`,success:!1};case"failed":return{message:`Failed to reconnect to ${P}.`,success:!1};default:return{message:`Unknown result when reconnecting to ${P}.`,success:!1}}}function V0(G,P){let Y=G instanceof Error?G.message:String(G);return`Error reconnecting to ${P}: ${Y}`}var S0=()=>{};function bG({server:G,serverToolsCount:P,onViewTools:Y,onCancel:z,onComplete:Z,borderless:f=!1}){let[H]=k0(),W=D0(),{columns:k}=JP(),[B,N]=E.default.useState(!1),[$,U]=E.default.useState(null),S=J0((q)=>q.mcp),M=QP(),[b,K]=E.default.useState(null),[V,D]=E.useState(!1),R=E.useRef(null),[g,c]=E.useState(!1),[j,T]=E.useState(null),[A,y]=E.useState(!1),[i,u]=E.useState(null),[l,v]=E.useState(!1),[o,s]=E.useState(!1),x=E.useRef(void 0),O=E.useRef(!1),[x0,Q0]=E.useState(""),[kP,DP]=E.useState(0),[a0,n0]=E.useState(null);E.useEffect(()=>()=>{if(O.current=!0,R.current?.abort(),x.current!==void 0)clearTimeout(x.current)},[]);let X0=G.isAuthenticated||G.client.type==="connected"&&P>0,Y0=N0(),wP=E.default.useCallback(async()=>{c(!1),T(null),D(!0);try{let q=await Y0(G.name),F=q.client.type==="connected";if(m("tengu_claudeai_mcp_auth_completed",{success:F}),F)Z?.(`Authentication successful. Connected to ${G.name}.`);else if(q.client.type==="needs-auth")Z?.("Authentication successful, but server still requires authentication. You may need to manually restart Claude Code.");else Z?.("Authentication successful, but server reconnection failed. You may need to manually restart Claude Code for the changes to take effect.")}catch(q){m("tengu_claudeai_mcp_auth_completed",{success:!1}),Z?.(V0(q,G.name))}finally{D(!1)}},[Y0,G.name,Z]),MP=E.default.useCallback(async()=>{await C0(G.name,{...G.config,scope:G.scope}),M((q)=>{let F=q.mcp.clients.map((t)=>t.name===G.name?{...t,type:"needs-auth"}:t),w=h0(q.mcp.tools,G.name),d=T0(q.mcp.commands,G.name),Z0=d0(q.mcp.resources,G.name);return{...q,mcp:{...q.mcp,clients:F,tools:w,commands:d,resources:Z0}}}),m("tengu_claudeai_mcp_clear_auth_completed",{}),Z?.(`Disconnected from ${G.name}.`),y(!1),u(null),v(!1)},[G.name,G.config,G.scope,M,Z]);z0("confirm:no",()=>{R.current?.abort(),R.current=null,N(!1),K(null)},{context:"Confirmation",isActive:B}),z0("confirm:no",()=>{c(!1),T(null)},{context:"Confirmation",isActive:g}),z0("confirm:no",()=>{y(!1),u(null),v(!1)},{context:"Confirmation",isActive:A}),GP((q,F)=>{if(F.return&&g)wP();if(F.return&&A)if(l)MP();else{let w=`${g0().CLAUDE_AI_ORIGIN}/settings/connectors`;u(w),v(!0),A0(w)}if(q==="c"&&!o){let w=b||j||i;if(w)PP(w).then((d)=>{if(O.current)return;if(d)process.stdout.write(d);if(s(!0),x.current!==void 0)clearTimeout(x.current);x.current=setTimeout(s,2000,!1)})}});let RP=H0(String(G.name)),NP=M0(S.commands,G.name).length,l0=U0(),UP=E.default.useCallback(async()=>{let q=g0().CLAUDE_AI_ORIGIN,w=e0()?.organizationUuid,d;if(w&&G.config.type==="claudeai-proxy"&&G.config.id){let Z0=G.config.id.startsWith("mcprs")?"mcpsrv"+G.config.id.slice(5):G.config.id,t=encodeURIComponent(process.env.CLAUDE_CODE_ENTRYPOINT||"cli");d=`${q}/api/organizations/${w}/mcp/start-auth/${Z0}?product_surface=${t}`}else d=`${q}/settings/connectors`;T(d),c(!0),m("tengu_claudeai_mcp_auth_started",{}),await A0(d)},[G.config]),bP=E.default.useCallback(()=>{y(!0),m("tengu_claudeai_mcp_clear_auth_started",{})},[]),yP=E.default.useCallback(async()=>{let q=G.client.type!=="disabled";try{if(await l0(G.name),G.config.type==="claudeai-proxy")m("tengu_claudeai_mcp_toggle",{new_state:q?"disabled":"enabled"});z()}catch(F){Z?.(`Failed to ${q?"disable":"enable"} MCP server '${G.name}': ${f0(F)}`)}},[G.client.type,G.config.type,G.name,l0,z,Z]),BP=E.default.useCallback(async()=>{if(G.config.type==="claudeai-proxy")return;N(!0),U(null);let q=new AbortController;R.current=q;try{if(G.isAuthenticated&&G.config)await m0(G.name,G.config,{preserveStepUpState:!0});if(G.config){await qP(G.name,G.config,K,q.signal,{onWaitingForCallback:(w)=>{n0(()=>w)}}),m("tengu_mcp_auth_config_authenticate",{wasAuthenticated:G.isAuthenticated});let F=await Y0(G.name);if(F.client.type==="connected"){let w=X0?`Authentication successful. Reconnected to ${G.name}.`:`Authentication successful. Connected to ${G.name}.`;Z?.(w)}else if(F.client.type==="needs-auth")Z?.("Authentication successful, but server still requires authentication. You may need to manually restart Claude Code.");else s0(G.name,"Reconnection failed after authentication"),Z?.("Authentication successful, but server reconnection failed. You may need to manually restart Claude Code for the changes to take effect.")}}catch(F){if(F instanceof Error&&!(F instanceof ZP))U(F.message)}finally{N(!1),R.current=null,n0(null),Q0("")}},[G.isAuthenticated,G.config,G.name,Z,Y0,X0]),OP=async()=>{if(G.config.type==="claudeai-proxy")return;if(G.config)await m0(G.name,G.config),m("tengu_mcp_auth_config_clear",{}),await C0(G.name,{...G.config,scope:G.scope}),M((q)=>{let F=q.mcp.clients.map((t)=>t.name===G.name?{...t,type:"failed"}:t),w=h0(q.mcp.tools,G.name),d=T0(q.mcp.commands,G.name),Z0=d0(q.mcp.resources,G.name);return{...q,mcp:{...q.mcp,clients:F,tools:w,commands:d,resources:Z0}}}),Z?.(`Authentication cleared for ${G.name}.`)};if(B){let q=G.config.type!=="claudeai-proxy"&&G.config.oauth?.xaa?" Authenticating via your identity provider":" A browser window will open for authentication";return Q(X,{flexDirection:"column",gap:1,padding:1,children:[Q(L,{color:"claude",children:["Authenticating with ",G.name,"…"]}),Q(X,{children:[J(G0,{}),J(L,{children:q})]}),b&&Q(X,{flexDirection:"column",children:[Q(X,{children:[Q(L,{dimColor:!0,children:["If your browser doesn't open automatically, copy this URL manually"," "]}),o?J(L,{color:"success",children:"(Copied!)"}):J(L,{dimColor:!0,children:J(h,{shortcut:"c",action:"copy",parens:!0})})]}),J(F0,{url:b})]}),B&&b&&a0&&Q(X,{flexDirection:"column",marginTop:1,children:[J(L,{dimColor:!0,children:"If the redirect page shows a connection error, paste the URL from your browser's address bar:"}),Q(X,{children:[Q(L,{dimColor:!0,children:["URL ",">"," "]}),J(XP,{value:x0,onChange:Q0,onSubmit:(F)=>{a0(F.trim()),Q0("")},cursorOffset:kP,onChangeCursorOffset:DP,columns:k-8})]})]}),J(X,{marginLeft:3,children:J(L,{dimColor:!0,children:"Return here after authenticating in your browser. Press Esc to go back."})})]})}if(g)return Q(X,{flexDirection:"column",gap:1,padding:1,children:[Q(L,{color:"claude",children:["Authenticating with ",G.name,"…"]}),Q(X,{children:[J(G0,{}),J(L,{children:" A browser window will open for authentication"})]}),j&&Q(X,{flexDirection:"column",children:[Q(X,{children:[Q(L,{dimColor:!0,children:["If your browser doesn't open automatically, copy this URL manually"," "]}),o?J(L,{color:"success",children:"(Copied!)"}):J(L,{dimColor:!0,children:J(h,{shortcut:"c",action:"copy",parens:!0})})]}),J(F0,{url:j})]}),Q(X,{marginLeft:3,flexDirection:"column",children:[Q(L,{color:"permission",children:["Press ",J(L,{bold:!0,children:"Enter"})," after authenticating in your browser."]}),J(L,{dimColor:!0,italic:!0,children:J(p,{action:"confirm:no",context:"Confirmation",fallback:"Esc",description:"back"})})]})]});if(A)return Q(X,{flexDirection:"column",gap:1,padding:1,children:[Q(L,{color:"claude",children:["Clear authentication for ",G.name]}),l?Q(n,{children:[J(L,{children:'Find the MCP server in the browser and click "Disconnect".'}),i&&Q(X,{flexDirection:"column",children:[Q(X,{children:[Q(L,{dimColor:!0,children:["If your browser didn't open automatically, copy this URL manually"," "]}),o?J(L,{color:"success",children:"(Copied!)"}):J(L,{dimColor:!0,children:J(h,{shortcut:"c",action:"copy",parens:!0})})]}),J(F0,{url:i})]}),Q(X,{marginLeft:3,flexDirection:"column",children:[Q(L,{color:"permission",children:["Press ",J(L,{bold:!0,children:"Enter"})," when done."]}),J(L,{dimColor:!0,italic:!0,children:J(p,{action:"confirm:no",context:"Confirmation",fallback:"Esc",description:"back"})})]})]}):Q(n,{children:[J(L,{children:'This will open claude.ai in the browser. Find the MCP server in the list and click "Disconnect".'}),Q(X,{marginLeft:3,flexDirection:"column",children:[Q(L,{color:"permission",children:["Press ",J(L,{bold:!0,children:"Enter"})," to open the browser."]}),J(L,{dimColor:!0,italic:!0,children:J(p,{action:"confirm:no",context:"Confirmation",fallback:"Esc",description:"back"})})]})]})]});if(V)return Q(X,{flexDirection:"column",gap:1,padding:1,children:[Q(L,{color:"text",children:["Connecting to ",J(L,{bold:!0,children:G.name}),"…"]}),Q(X,{children:[J(G0,{}),J(L,{children:" Establishing connection to MCP server"})]}),J(L,{dimColor:!0,children:"This may take a few moments."})]});let I=[];if(G.client.type==="disabled")I.push({label:"Enable",value:"toggle-enabled"});if(G.client.type==="connected"&&P>0)I.push({label:"View tools",value:"tools"});if(G.config.type==="claudeai-proxy"){if(G.client.type==="connected")I.push({label:"Clear authentication",value:"claudeai-clear-auth"});else if(G.client.type!=="disabled")I.push({label:"Authenticate",value:"claudeai-auth"})}else{if(X0)I.push({label:"Re-authenticate",value:"reauth"}),I.push({label:"Clear authentication",value:"clear-auth"});if(!X0)I.push({label:"Authenticate",value:"auth"})}if(G.client.type!=="disabled"){if(G.client.type!=="needs-auth")I.push({label:"Reconnect",value:"reconnectMcpServer"});I.push({label:"Disable",value:"toggle-enabled"})}if(I.length===0)I.push({label:"Back",value:"back"});return Q(X,{flexDirection:"column",children:[Q(X,{flexDirection:"column",paddingX:1,borderStyle:f?void 0:"round",children:[J(X,{marginBottom:1,children:Q(L,{bold:!0,children:[RP," MCP Server"]})}),Q(X,{flexDirection:"column",gap:0,children:[Q(X,{children:[J(L,{bold:!0,children:"Status: "}),G.client.type==="disabled"?Q(L,{children:[C("inactive",H)(_.radioOff)," disabled"]}):G.client.type==="connected"?Q(L,{children:[C("success",H)(_.tick)," connected"]}):G.client.type==="pending"?Q(n,{children:[J(L,{dimColor:!0,children:_.radioOff}),J(L,{children:" connecting…"})]}):G.client.type==="needs-auth"?Q(L,{children:[C("warning",H)(_.triangleUpOutline)," needs authentication"]}):Q(L,{children:[C("error",H)(_.cross)," failed"]})]}),G.transport!=="claudeai-proxy"&&Q(X,{children:[J(L,{bold:!0,children:"Auth: "}),X0?Q(L,{children:[C("success",H)(_.tick)," authenticated"]}):Q(L,{children:[C("error",H)(_.cross)," not authenticated"]})]}),Q(X,{children:[J(L,{bold:!0,children:"URL: "}),J(L,{dimColor:!0,children:G.config.url})]}),Q(X,{children:[J(L,{bold:!0,children:"Config location: "}),J(L,{dimColor:!0,children:R0(G.scope)})]}),G.client.type==="connected"&&J(K0,{serverToolsCount:P,serverPromptsCount:NP,serverResourcesCount:S.resources[G.name]?.length||0}),G.client.type==="connected"&&P>0&&Q(X,{children:[J(L,{bold:!0,children:"Tools: "}),Q(L,{dimColor:!0,children:[P," tools"]})]})]}),$&&J(X,{marginTop:1,children:Q(L,{color:"error",children:["Error: ",$]})}),I.length>0&&J(X,{marginTop:1,children:J(L0,{options:I,onChange:async(q)=>{switch(q){case"tools":Y();break;case"auth":case"reauth":await BP();break;case"clear-auth":await OP();break;case"claudeai-auth":await UP();break;case"claudeai-clear-auth":bP();break;case"reconnectMcpServer":D(!0);try{let F=await Y0(G.name);if(G.config.type==="claudeai-proxy")m("tengu_claudeai_mcp_reconnect",{success:F.client.type==="connected"});let{message:w}=E0(F,G.name);Z?.(w)}catch(F){if(G.config.type==="claudeai-proxy")m("tengu_claudeai_mcp_reconnect",{success:!1});Z?.(V0(F,G.name))}finally{D(!1)}break;case"toggle-enabled":await yP();break;case"back":z();break}},onCancel:z})})]}),J(X,{marginTop:1,children:J(L,{dimColor:!0,italic:!0,children:W.pending?Q(n,{children:["Press ",W.keyName," again to exit"]}):Q(r,{children:[J(h,{shortcut:"↑↓",action:"navigate"}),J(h,{shortcut:"Enter",action:"select"}),J(p,{action:"confirm:no",context:"Confirmation",fallback:"Esc",description:"back"})]})})})]})}var E;var $P=P0(()=>{r0();IP();_P();LP();hP();AP();q0();TP();CP();pP();VP();u0();j0();gP();dP();t0();SP();p0();w0();i0();W0();c0();YP();mP();_0();S0();a();E=e($0(),1)});function uG({server:G,serverToolsCount:P,onViewTools:Y,onCancel:z,onComplete:Z,borderless:f=!1}){let[H]=k0(),W=D0(),k=J0((V)=>V.mcp),B=N0(),N=U0(),[$,U]=b0.useState(!1),S=b0.default.useCallback(async()=>{let V=G.client.type!=="disabled";try{await N(G.name),z()}catch(D){Z(`Failed to ${V?"disable":"enable"} MCP server '${G.name}': ${f0(D)}`)}},[G.client.type,G.name,N,z,Z]),M=H0(String(G.name)),b=M0(k.commands,G.name).length,K=[];if(G.client.type!=="disabled"&&P>0)K.push({label:"View tools",value:"tools"});if(G.client.type!=="disabled")K.push({label:"Reconnect",value:"reconnectMcpServer"});if(K.push({label:G.client.type!=="disabled"?"Disable":"Enable",value:"toggle-enabled"}),K.length===0)K.push({label:"Back",value:"back"});if($)return Q(X,{flexDirection:"column",gap:1,padding:1,children:[Q(L,{color:"text",children:["Reconnecting to ",J(L,{bold:!0,children:G.name})]}),Q(X,{children:[J(G0,{}),J(L,{children:" Restarting MCP server process"})]}),J(L,{dimColor:!0,children:"This may take a few moments."})]});return Q(X,{flexDirection:"column",children:[Q(X,{flexDirection:"column",paddingX:1,borderStyle:f?void 0:"round",children:[J(X,{marginBottom:1,children:Q(L,{bold:!0,children:[M," MCP Server"]})}),Q(X,{flexDirection:"column",gap:0,children:[Q(X,{children:[J(L,{bold:!0,children:"Status: "}),G.client.type==="disabled"?Q(L,{children:[C("inactive",H)(_.radioOff)," disabled"]}):G.client.type==="connected"?Q(L,{children:[C("success",H)(_.tick)," connected"]}):G.client.type==="pending"?Q(n,{children:[J(L,{dimColor:!0,children:_.radioOff}),J(L,{children:" connecting…"})]}):Q(L,{children:[C("error",H)(_.cross)," failed"]})]}),Q(X,{children:[J(L,{bold:!0,children:"Command: "}),J(L,{dimColor:!0,children:G.config.command})]}),G.config.args&&G.config.args.length>0&&Q(X,{children:[J(L,{bold:!0,children:"Args: "}),J(L,{dimColor:!0,children:G.config.args.join(" ")})]}),Q(X,{children:[J(L,{bold:!0,children:"Config location: "}),J(L,{dimColor:!0,children:R0(WP(G.name)?.scope??"dynamic")})]}),G.client.type==="connected"&&J(K0,{serverToolsCount:P,serverPromptsCount:b,serverResourcesCount:k.resources[G.name]?.length||0}),G.client.type==="connected"&&P>0&&Q(X,{children:[J(L,{bold:!0,children:"Tools: "}),Q(L,{dimColor:!0,children:[P," tools"]})]})]}),K.length>0&&J(X,{marginTop:1,children:J(L0,{options:K,onChange:async(V)=>{if(V==="tools")Y();else if(V==="reconnectMcpServer"){U(!0);try{let D=await B(G.name),{message:R}=E0(D,G.name);Z?.(R)}catch(D){Z?.(V0(D,G.name))}finally{U(!1)}}else if(V==="toggle-enabled")await S();else if(V==="back")z()},onCancel:z})})]}),J(X,{marginTop:1,children:J(L,{dimColor:!0,italic:!0,children:W.pending?Q(n,{children:["Press ",W.keyName," again to exit"]}):Q(r,{children:[J(h,{shortcut:"↑↓",action:"navigate"}),J(h,{shortcut:"Enter",action:"select"}),J(p,{action:"confirm:no",context:"Confirmation",fallback:"Esc",description:"back"})]})})})]})}var b0;var jP=P0(()=>{r0();LP();q0();cP();VP();u0();j0();t0();p0();w0();i0();W0();c0();YP();_0();S0();a();b0=e($0(),1)});function tG(G){let P=FP.c(44),{tool:Y,server:z,onBack:Z}=G,[f,H]=v0.default.useState(""),W,k;if(P[0]!==z.name||P[1]!==Y){k=y0(Y.name,z.name);let s=Y.userFacingName?Y.userFacingName({}):k;W=B0(s),P[0]=z.name,P[1]=Y,P[2]=W,P[3]=k}else W=P[2],k=P[3];let B=W,N;if(P[4]!==Y)N=Y.isReadOnly?.({})??!1,P[4]=Y,P[5]=N;else N=P[5];let $=N,U;if(P[6]!==Y)U=Y.isDestructive?.({})??!1,P[6]=Y,P[7]=U;else U=P[7];let S=U,M;if(P[8]!==Y)M=Y.isOpenWorld?.({})??!1,P[8]=Y,P[9]=M;else M=P[9];let b=M,K,V;if(P[10]!==Y)K=()=>{(async function(){try{let O=await Y.description({},{isNonInteractiveSession:!1,toolPermissionContext:{mode:"default",additionalWorkingDirectories:new Map,alwaysAllowRules:{},alwaysDenyRules:{},alwaysAskRules:{},isBypassPermissionsModeAvailable:!1},tools:[]});H(O)}catch{H("Failed to load description")}})()},V=[Y],P[10]=Y,P[11]=K,P[12]=V;else K=P[11],V=P[12];v0.default.useEffect(K,V);let D;if(P[13]!==$)D=$&&J(L,{color:"success",children:" [read-only]"}),P[13]=$,P[14]=D;else D=P[14];let R;if(P[15]!==S)R=S&&J(L,{color:"error",children:" [destructive]"}),P[15]=S,P[16]=R;else R=P[16];let g;if(P[17]!==b)g=b&&J(L,{dimColor:!0,children:" [open-world]"}),P[17]=b,P[18]=g;else g=P[18];let c;if(P[19]!==B||P[20]!==D||P[21]!==R||P[22]!==g)c=Q(n,{children:[B,D,R,g]}),P[19]=B,P[20]=D,P[21]=R,P[22]=g,P[23]=c;else c=P[23];let j=c,T;if(P[24]===Symbol.for("react.memo_cache_sentinel"))T=J(L,{bold:!0,children:"Tool name: "}),P[24]=T;else T=P[24];let A;if(P[25]!==k)A=Q(X,{children:[T,J(L,{dimColor:!0,children:k})]}),P[25]=k,P[26]=A;else A=P[26];let y;if(P[27]===Symbol.for("react.memo_cache_sentinel"))y=J(L,{bold:!0,children:"Full name: "}),P[27]=y;else y=P[27];let i;if(P[28]!==Y.name)i=Q(X,{children:[y,J(L,{dimColor:!0,children:Y.name})]}),P[28]=Y.name,P[29]=i;else i=P[29];let u;if(P[30]!==f)u=f&&Q(X,{flexDirection:"column",marginTop:1,children:[J(L,{bold:!0,children:"Description:"}),J(L,{wrap:"wrap",children:f})]}),P[30]=f,P[31]=u;else u=P[31];let l;if(P[32]!==Y.inputJSONSchema)l=Y.inputJSONSchema&&Y.inputJSONSchema.properties&&Object.keys(Y.inputJSONSchema.properties).length>0&&Q(X,{flexDirection:"column",marginTop:1,children:[J(L,{bold:!0,children:"Parameters:"}),J(X,{marginLeft:2,flexDirection:"column",children:Object.entries(Y.inputJSONSchema.properties).map((s)=>{let[x,O]=s,Q0=Y.inputJSONSchema?.required?.includes(x);return Q(L,{children:["• ",x,Q0&&J(L,{dimColor:!0,children:" (required)"}),":"," ",J(L,{dimColor:!0,children:typeof O==="object"&&O&&"type"in O?String(O.type):"unknown"}),typeof O==="object"&&O&&"description"in O&&Q(L,{dimColor:!0,children:[" - ",String(O.description)]})]},x)})})]}),P[32]=Y.inputJSONSchema,P[33]=l;else l=P[33];let v;if(P[34]!==A||P[35]!==i||P[36]!==u||P[37]!==l)v=Q(X,{flexDirection:"column",children:[A,i,u,l]}),P[34]=A,P[35]=i,P[36]=u,P[37]=l,P[38]=v;else v=P[38];let o;if(P[39]!==Z||P[40]!==z.name||P[41]!==v||P[42]!==j)o=J(O0,{title:j,subtitle:z.name,onCancel:Z,inputGuide:iP,children:v}),P[39]=Z,P[40]=z.name,P[41]=v,P[42]=j,P[43]=o;else o=P[43];return o}function iP(G){return G.pending?Q(L,{children:["Press ",G.keyName," again to exit"]}):J(p,{action:"confirm:no",context:"Confirmation",fallback:"Esc",description:"go back"})}var FP,v0;var uP=P0(()=>{q0();KP();w0();EP();a();FP=e(I0(),1),v0=e($0(),1)});function VJ(G){let P=HP.c(21),{server:Y,onSelectTool:z,onBack:Z}=G,f=J0(xP),H;P:{if(Y.client.type!=="connected"){let V;if(P[0]===Symbol.for("react.memo_cache_sentinel"))V=[],P[0]=V;else V=P[0];H=V;break P}let K;if(P[1]!==f||P[2]!==Y.name)K=fP(f,Y.name),P[1]=f,P[2]=Y.name,P[3]=K;else K=P[3];H=K}let W=H,k;if(P[4]!==Y.name||P[5]!==W){let K;if(P[7]!==Y.name)K=(V,D)=>{let R=y0(V.name,Y.name),g=V.userFacingName?V.userFacingName({}):R,c=B0(g),j=V.isReadOnly?.({})??!1,T=V.isDestructive?.({})??!1,A=V.isOpenWorld?.({})??!1,y=[];if(j)y.push("read-only");if(T)y.push("destructive");if(A)y.push("open-world");return{label:c,value:D.toString(),description:y.length>0?y.join(", "):void 0,descriptionColor:T?"error":j?"success":void 0}},P[7]=Y.name,P[8]=K;else K=P[8];k=W.map(K),P[4]=Y.name,P[5]=W,P[6]=k}else k=P[6];let B=k,N=`Tools for ${Y.name}`,$=W.length,U;if(P[9]!==W.length)U=zP(W.length,"tool"),P[9]=W.length,P[10]=U;else U=P[10];let S=`${$} ${U}`,M;if(P[11]!==Z||P[12]!==z||P[13]!==W||P[14]!==B)M=W.length===0?J(L,{dimColor:!0,children:"No tools available"}):J(L0,{options:B,onChange:(K)=>{let V=parseInt(K),D=W[V];if(D)z(D,V)},onCancel:Z}),P[11]=Z,P[12]=z,P[13]=W,P[14]=B,P[15]=M;else M=P[15];let b;if(P[16]!==Z||P[17]!==N||P[18]!==S||P[19]!==M)b=J(O0,{title:N,subtitle:S,onCancel:Z,inputGuide:vP,children:M}),P[16]=Z,P[17]=N,P[18]=S,P[19]=M,P[20]=b;else b=P[20];return b}function vP(G){return G.pending?Q(L,{children:["Press ",G.keyName," again to exit"]}):Q(r,{children:[J(h,{shortcut:"↑↓",action:"navigate"}),J(h,{shortcut:"Enter",action:"select"}),J(p,{action:"confirm:no",context:"Confirmation",fallback:"Esc",description:"back"})]})}function xP(G){return G.mcp.tools}var HP;var aP=P0(()=>{q0();KP();u0();j0();p0();w0();i0();W0();EP();c0();a();HP=e(I0(),1)});
2
+ export{bG as Pe,$P as Qe,uG as Re,jP as Se,tG as Te,uP as Ue,VJ as Ve,aP as We};
@@ -0,0 +1,2 @@
1
+ import{T3 as D,t3 as q}from"./cli-0.5.10-xyscak5q.mjs";import{Mea as m,Nea as z}from"./cli-0.5.10-jd7ff66n.mjs";import{Lna as x}from"./cli-0.5.10-1sd567wn.mjs";function E(){return process.env.CLAUDE_BRIDGE_OAUTH_TOKEN||void 0}function F(){return process.env.CLAUDE_BRIDGE_BASE_URL||void 0}function K(){return E()??q()?.accessToken}function M(){return F()??m().BASE_API_URL}var G=x(()=>{z();D()});
2
+ export{E as qe,F as re,K as se,M as te,G as ue};