@claudiolabs/claudin 1.1.25 → 1.1.26

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 (910) hide show
  1. package/dist/chunks/AgentTool-1.1.26-pww3rzse.mjs +1 -0
  2. package/dist/chunks/App-1.1.26-4vaezrz4.mjs +1 -0
  3. package/dist/chunks/ApproveApiKey-1.1.26-rngrjmp0.mjs +1 -0
  4. package/dist/chunks/AssistantSessionChooser-1.1.26-n2977m3p.mjs +1 -0
  5. package/dist/chunks/AutoModeOptInDialog-1.1.26-9y3h164v.mjs +1 -0
  6. package/dist/chunks/BypassPermissionsModeDialog-1.1.26-qzf3wf2e.mjs +1 -0
  7. package/dist/chunks/ClaudeMdExternalIncludesDialog-1.1.26-4rsh36df.mjs +1 -0
  8. package/dist/chunks/ConsoleOAuthFlow-1.1.26-g1kknwq5.mjs +1 -0
  9. package/dist/chunks/DiffDialog-1.1.26-4bt5rf4c.mjs +6 -0
  10. package/dist/chunks/Doctor-1.1.26-jnzpfe2z.mjs +1 -0
  11. package/dist/chunks/ExplorerDialog-1.1.26-h4ha2k3s.mjs +6 -0
  12. package/dist/chunks/ITermBackend-1.1.26-6vq713nq.mjs +1 -0
  13. package/dist/chunks/InvalidConfigDialog-1.1.26-5mpbyw8j.mjs +1 -0
  14. package/dist/chunks/InvalidSettingsDialog-1.1.26-y240kr8g.mjs +1 -0
  15. package/dist/chunks/MigrationDialog-1.1.26-bhdbn3pv.mjs +1 -0
  16. package/dist/chunks/Onboarding-1.1.26-v8am83rd.mjs +1 -0
  17. package/dist/chunks/ProviderManager-1.1.26-22a8rbdy.mjs +1 -0
  18. package/dist/chunks/REPL-1.1.26-z72g0j0z.mjs +1 -0
  19. package/dist/chunks/ResumeConversation-1.1.26-gh9s3rjn.mjs +1 -0
  20. package/dist/chunks/SnapshotUpdateDialog-1.1.26-r40qtar2.mjs +1 -0
  21. package/dist/chunks/TeleportProgress-1.1.26-23se9f85.mjs +1 -0
  22. package/dist/chunks/TeleportRepoMismatchDialog-1.1.26-7r52d8rv.mjs +1 -0
  23. package/dist/chunks/TeleportResumeWrapper-1.1.26-k6atzshz.mjs +1 -0
  24. package/dist/chunks/TmuxBackend-1.1.26-ym3spr0b.mjs +9 -0
  25. package/dist/chunks/ToolSearchTool-1.1.26-c332beft.mjs +1 -0
  26. package/dist/chunks/TrustDialog-1.1.26-sqqx0vck.mjs +1 -0
  27. package/dist/chunks/activeProvider-1.1.26-maqce1gv.mjs +1 -0
  28. package/dist/chunks/add-dir-1.1.26-qcws8kjg.mjs +1 -0
  29. package/dist/chunks/agentTypes-1.1.26-fw01kwc9.mjs +1 -0
  30. package/dist/chunks/agents-1.1.26-dasaamxr.mjs +3 -0
  31. package/dist/chunks/agents-1.1.26-p33pq694.mjs +110 -0
  32. package/dist/chunks/api-1.1.26-msb1jnzq.mjs +1 -0
  33. package/dist/chunks/asciicast-1.1.26-vf9e0v5b.mjs +1 -0
  34. package/dist/chunks/assistant-1.1.26-h2aycjkn.mjs +1 -0
  35. package/dist/chunks/auth-1.1.26-dk7wnv7t.mjs +1 -0
  36. package/dist/chunks/auth-1.1.26-q8xgzm5r.mjs +1 -0
  37. package/dist/chunks/autoMode-1.1.26-zrzav382.mjs +52 -0
  38. package/dist/chunks/autoModeSetup-1.1.26-x7k5ammk.mjs +44 -0
  39. package/dist/chunks/autoUpdater-1.1.26-6hmytwm6.mjs +1 -0
  40. package/dist/chunks/backgroundHousekeeping-1.1.26-09grqe05.mjs +1 -0
  41. package/dist/chunks/branch-1.1.26-e1qfc78k.mjs +4 -0
  42. package/dist/chunks/bridge-1.1.26-h1bxacst.mjs +2 -0
  43. package/dist/chunks/bridgeConfig-1.1.26-vpz1r911.mjs +1 -0
  44. package/dist/chunks/bridgeEnabled-1.1.26-xkeegvk7.mjs +1 -0
  45. package/dist/chunks/bridgeMain-1.1.26-dnv31x02.mjs +88 -0
  46. package/dist/chunks/bridgePointer-1.1.26-d2zjebn5.mjs +1 -0
  47. package/dist/chunks/btw-1.1.26-9hcjg1vm.mjs +1 -0
  48. package/dist/chunks/buddy-1.1.26-20xpa564.mjs +3 -0
  49. package/dist/chunks/cache-probe-1.1.26-p18jjck5.mjs +21 -0
  50. package/dist/chunks/cacheStats-1.1.26-tndvbhbh.mjs +4 -0
  51. package/dist/chunks/caches-1.1.26-g9aneehb.mjs +1 -0
  52. package/dist/chunks/cd-1.1.26-1mhwbmvw.mjs +3 -0
  53. package/dist/chunks/claudeDesktop-1.1.26-8970gddx.mjs +1 -0
  54. package/dist/chunks/claudemd-1.1.26-a0wvdz6h.mjs +1 -0
  55. package/dist/chunks/clear-1.1.26-8f7hbzks.mjs +1 -0
  56. package/dist/chunks/clearTerminal-1.1.26-yxrgchg6.mjs +1 -0
  57. package/dist/chunks/cli-1.1.26-01erqdx7.mjs +6 -0
  58. package/dist/chunks/cli-1.1.26-0qa3rcd8.mjs +6 -0
  59. package/dist/chunks/cli-1.1.26-132vkvj1.mjs +2 -0
  60. package/dist/chunks/cli-1.1.26-14kc3afb.mjs +3 -0
  61. package/dist/chunks/cli-1.1.26-14n169e4.mjs +2 -0
  62. package/dist/chunks/cli-1.1.26-16s9pjdh.mjs +2 -0
  63. package/dist/chunks/cli-1.1.26-1mbz2mcm.mjs +2 -0
  64. package/dist/chunks/cli-1.1.26-1v8jg7nn.mjs +2 -0
  65. package/dist/chunks/cli-1.1.26-1vdqjs9c.mjs +21 -0
  66. package/dist/chunks/cli-1.1.26-1ze7r6x4.mjs +24 -0
  67. package/dist/chunks/cli-1.1.26-28qe790b.mjs +2 -0
  68. package/dist/chunks/cli-1.1.26-2dzytde4.mjs +2 -0
  69. package/dist/chunks/cli-1.1.26-2fbt2m4z.mjs +4 -0
  70. package/dist/chunks/cli-1.1.26-2j0g9z56.mjs +2 -0
  71. package/dist/chunks/cli-1.1.26-2k53vhr6.mjs +2 -0
  72. package/dist/chunks/cli-1.1.26-2msjf68r.mjs +2 -0
  73. package/dist/chunks/cli-1.1.26-2s2gpj0g.mjs +2 -0
  74. package/dist/chunks/cli-1.1.26-31negda3.mjs +2 -0
  75. package/dist/chunks/cli-1.1.26-32vewh62.mjs +6 -0
  76. package/dist/chunks/cli-1.1.26-38m8cha0.mjs +2 -0
  77. package/dist/chunks/cli-1.1.26-3c44vscp.mjs +2 -0
  78. package/dist/chunks/cli-1.1.26-3gepexgn.mjs +66 -0
  79. package/dist/chunks/cli-1.1.26-3hemew00.mjs +3 -0
  80. package/dist/chunks/cli-1.1.26-3htpgh4y.mjs +2 -0
  81. package/dist/chunks/cli-1.1.26-3k8e9a3k.mjs +2 -0
  82. package/dist/chunks/cli-1.1.26-3p2ch222.mjs +2 -0
  83. package/dist/chunks/cli-1.1.26-3z39qjr1.mjs +24 -0
  84. package/dist/chunks/cli-1.1.26-4aztw2ex.mjs +2 -0
  85. package/dist/chunks/cli-1.1.26-4cj6rr02.mjs +2 -0
  86. package/dist/chunks/cli-1.1.26-4jbtcb3c.mjs +17 -0
  87. package/dist/chunks/cli-1.1.26-4jn0r6an.mjs +2 -0
  88. package/dist/chunks/cli-1.1.26-516p6zzp.mjs +2 -0
  89. package/dist/chunks/cli-1.1.26-55ayan24.mjs +133 -0
  90. package/dist/chunks/cli-1.1.26-5fv3wdye.mjs +2 -0
  91. package/dist/chunks/cli-1.1.26-5p6865dd.mjs +2 -0
  92. package/dist/chunks/cli-1.1.26-6ac72fwz.mjs +5 -0
  93. package/dist/chunks/cli-1.1.26-6c5rgjbj.mjs +2 -0
  94. package/dist/chunks/cli-1.1.26-6p5bpbzy.mjs +2 -0
  95. package/dist/chunks/cli-1.1.26-6qzbf8mr.mjs +3 -0
  96. package/dist/chunks/cli-1.1.26-6v5e8fy8.mjs +2 -0
  97. package/dist/chunks/cli-1.1.26-73s95190.mjs +4 -0
  98. package/dist/chunks/cli-1.1.26-79g0hfrb.mjs +4 -0
  99. package/dist/chunks/cli-1.1.26-79j24jxp.mjs +2 -0
  100. package/dist/chunks/cli-1.1.26-7h1213xq.mjs +1 -0
  101. package/dist/chunks/cli-1.1.26-7pa47kxq.mjs +2 -0
  102. package/dist/chunks/cli-1.1.26-7ssnr221.mjs +4 -0
  103. package/dist/chunks/cli-1.1.26-851khk0n.mjs +2 -0
  104. package/dist/chunks/cli-1.1.26-89reg5gc.mjs +2 -0
  105. package/dist/chunks/cli-1.1.26-8h5tr358.mjs +2 -0
  106. package/dist/chunks/cli-1.1.26-8vq4pfa8.mjs +2 -0
  107. package/dist/chunks/cli-1.1.26-8wng8tbf.mjs +2 -0
  108. package/dist/chunks/cli-1.1.26-945rz3ns.mjs +2 -0
  109. package/dist/chunks/cli-1.1.26-97w71raz.mjs +2 -0
  110. package/dist/chunks/cli-1.1.26-9kzdvxzw.mjs +2 -0
  111. package/dist/chunks/cli-1.1.26-9mg6k159.mjs +2 -0
  112. package/dist/chunks/cli-1.1.26-9x90xrtz.mjs +2 -0
  113. package/dist/chunks/cli-1.1.26-ab2xbv4t.mjs +2 -0
  114. package/dist/chunks/cli-1.1.26-abp7zq8a.mjs +7 -0
  115. package/dist/chunks/cli-1.1.26-agrrdhst.mjs +12 -0
  116. package/dist/chunks/cli-1.1.26-aj61ygn7.mjs +2 -0
  117. package/dist/chunks/cli-1.1.26-arx4za97.mjs +2 -0
  118. package/dist/chunks/cli-1.1.26-avyt487s.mjs +4 -0
  119. package/dist/chunks/cli-1.1.26-b3m57q7j.mjs +24 -0
  120. package/dist/chunks/cli-1.1.26-b5xvjyj6.mjs +2 -0
  121. package/dist/chunks/cli-1.1.26-bc7nnmyt.mjs +4 -0
  122. package/dist/chunks/cli-1.1.26-bmzjvqhh.mjs +2 -0
  123. package/dist/chunks/cli-1.1.26-bs6j2409.mjs +2 -0
  124. package/dist/chunks/cli-1.1.26-bv6bd469.mjs +2 -0
  125. package/dist/chunks/cli-1.1.26-c1s0antn.mjs +2 -0
  126. package/dist/chunks/cli-1.1.26-c9m56qw1.mjs +4 -0
  127. package/dist/chunks/cli-1.1.26-cdkkrgj3.mjs +6 -0
  128. package/dist/chunks/cli-1.1.26-chwpygff.mjs +2 -0
  129. package/dist/chunks/cli-1.1.26-cmeam5fv.mjs +4 -0
  130. package/dist/chunks/cli-1.1.26-crwbhf2k.mjs +2 -0
  131. package/dist/chunks/cli-1.1.26-d6m0sag3.mjs +2 -0
  132. package/dist/chunks/cli-1.1.26-dq31hqw9.mjs +2 -0
  133. package/dist/chunks/cli-1.1.26-dyyg0r9f.mjs +2 -0
  134. package/dist/chunks/cli-1.1.26-e807ek7h.mjs +3 -0
  135. package/dist/chunks/cli-1.1.26-e8stbnjk.mjs +2 -0
  136. package/dist/chunks/cli-1.1.26-eb90p21t.mjs +10 -0
  137. package/dist/chunks/cli-1.1.26-edg965cj.mjs +2 -0
  138. package/dist/chunks/cli-1.1.26-etwfcg1g.mjs +2 -0
  139. package/dist/chunks/cli-1.1.26-exd0gw3b.mjs +3 -0
  140. package/dist/chunks/cli-1.1.26-f0cvk9rp.mjs +3 -0
  141. package/dist/chunks/cli-1.1.26-f624n21e.mjs +2 -0
  142. package/dist/chunks/cli-1.1.26-fcnssbje.mjs +2 -0
  143. package/dist/chunks/cli-1.1.26-ft1bty40.mjs +45 -0
  144. package/dist/chunks/cli-1.1.26-g0jbhnrw.mjs +3 -0
  145. package/dist/chunks/cli-1.1.26-g1a27741.mjs +3 -0
  146. package/dist/chunks/cli-1.1.26-g3eqp15d.mjs +2 -0
  147. package/dist/chunks/cli-1.1.26-g54bqv9d.mjs +2 -0
  148. package/dist/chunks/cli-1.1.26-g825efx8.mjs +3 -0
  149. package/dist/chunks/cli-1.1.26-grerq74y.mjs +4 -0
  150. package/dist/chunks/cli-1.1.26-gt65gs27.mjs +2 -0
  151. package/dist/chunks/cli-1.1.26-h2bzv8a9.mjs +2 -0
  152. package/dist/chunks/cli-1.1.26-h8pwf3e5.mjs +34 -0
  153. package/dist/chunks/cli-1.1.26-hc0z3th3.mjs +2 -0
  154. package/dist/chunks/cli-1.1.26-hgr89jmg.mjs +2 -0
  155. package/dist/chunks/cli-1.1.26-hk66nk4j.mjs +2 -0
  156. package/dist/chunks/cli-1.1.26-hkn2maax.mjs +12 -0
  157. package/dist/chunks/cli-1.1.26-hwb66n0d.mjs +20 -0
  158. package/dist/chunks/cli-1.1.26-hxty6b5t.mjs +24 -0
  159. package/dist/chunks/cli-1.1.26-j0ggtb42.mjs +2 -0
  160. package/dist/chunks/cli-1.1.26-j0pfn318.mjs +2 -0
  161. package/dist/chunks/cli-1.1.26-j3g54xq9.mjs +25 -0
  162. package/dist/chunks/cli-1.1.26-j522h2zj.mjs +2 -0
  163. package/dist/chunks/cli-1.1.26-j5jzf8nr.mjs +2 -0
  164. package/dist/chunks/cli-1.1.26-jaq75h39.mjs +2 -0
  165. package/dist/chunks/cli-1.1.26-jcshhf4v.mjs +2 -0
  166. package/dist/chunks/cli-1.1.26-jp74zrnt.mjs +2 -0
  167. package/dist/chunks/cli-1.1.26-jstehae2.mjs +25 -0
  168. package/dist/chunks/cli-1.1.26-jv1escq9.mjs +9 -0
  169. package/dist/chunks/cli-1.1.26-jz95bmqy.mjs +2 -0
  170. package/dist/chunks/cli-1.1.26-k287xjcs.mjs +2 -0
  171. package/dist/chunks/cli-1.1.26-k827q3s7.mjs +2 -0
  172. package/dist/chunks/cli-1.1.26-kb5qx4tp.mjs +15 -0
  173. package/dist/chunks/cli-1.1.26-kk4ymgvj.mjs +2 -0
  174. package/dist/chunks/cli-1.1.26-kmpjjneg.mjs +50 -0
  175. package/dist/chunks/cli-1.1.26-krj2sk8f.mjs +2 -0
  176. package/dist/chunks/cli-1.1.26-ktfnpsqn.mjs +2 -0
  177. package/dist/chunks/cli-1.1.26-kvt0v6vq.mjs +5459 -0
  178. package/dist/chunks/cli-1.1.26-kvy3vgrt.mjs +20 -0
  179. package/dist/chunks/cli-1.1.26-kz0et72d.mjs +2 -0
  180. package/dist/chunks/cli-1.1.26-m2ajjr1n.mjs +2 -0
  181. package/dist/chunks/cli-1.1.26-m3gpc1yq.mjs +6 -0
  182. package/dist/chunks/cli-1.1.26-m8mebydd.mjs +3 -0
  183. package/dist/chunks/cli-1.1.26-mb749hsh.mjs +2 -0
  184. package/dist/chunks/cli-1.1.26-mdtsa5pq.mjs +2 -0
  185. package/dist/chunks/cli-1.1.26-mvjefec1.mjs +206 -0
  186. package/dist/chunks/cli-1.1.26-n0thzakv.mjs +2 -0
  187. package/dist/chunks/cli-1.1.26-n43rh2dq.mjs +2 -0
  188. package/dist/chunks/cli-1.1.26-nbkw9wa7.mjs +2 -0
  189. package/dist/chunks/cli-1.1.26-nkp41vem.mjs +2 -0
  190. package/dist/chunks/cli-1.1.26-np0se5jr.mjs +2 -0
  191. package/dist/chunks/cli-1.1.26-nr4x1ay3.mjs +6 -0
  192. package/dist/chunks/cli-1.1.26-nv2mgz6h.mjs +60 -0
  193. package/dist/chunks/cli-1.1.26-p2gpyynf.mjs +2 -0
  194. package/dist/chunks/cli-1.1.26-pdpvbn6t.mjs +2 -0
  195. package/dist/chunks/cli-1.1.26-pejnbqtd.mjs +2 -0
  196. package/dist/chunks/cli-1.1.26-pf85an2q.mjs +2 -0
  197. package/dist/chunks/cli-1.1.26-phdsw9kw.mjs +2 -0
  198. package/dist/chunks/cli-1.1.26-pp0zr4bw.mjs +39 -0
  199. package/dist/chunks/cli-1.1.26-pttfqxxh.mjs +2 -0
  200. package/dist/chunks/cli-1.1.26-pttr45sa.mjs +2 -0
  201. package/dist/chunks/cli-1.1.26-pzpydjmr.mjs +2 -0
  202. package/dist/chunks/cli-1.1.26-q4vaz10d.mjs +2 -0
  203. package/dist/chunks/cli-1.1.26-q77fmxtz.mjs +2 -0
  204. package/dist/chunks/cli-1.1.26-q9msymy9.mjs +7 -0
  205. package/dist/chunks/cli-1.1.26-qf02kggq.mjs +2 -0
  206. package/dist/chunks/cli-1.1.26-qr2ee3t2.mjs +2 -0
  207. package/dist/chunks/cli-1.1.26-qw49rw3y.mjs +17 -0
  208. package/dist/chunks/cli-1.1.26-qymrzn5k.mjs +2 -0
  209. package/dist/chunks/cli-1.1.26-r4ewzysx.mjs +3 -0
  210. package/dist/chunks/cli-1.1.26-rbxsj403.mjs +8 -0
  211. package/dist/chunks/cli-1.1.26-rgz7nebj.mjs +2 -0
  212. package/dist/chunks/cli-1.1.26-rkdk0vdh.mjs +2 -0
  213. package/dist/chunks/cli-1.1.26-rpd6k1rg.mjs +2 -0
  214. package/dist/chunks/cli-1.1.26-rr47cs5n.mjs +2 -0
  215. package/dist/chunks/cli-1.1.26-rrq5hxxh.mjs +9 -0
  216. package/dist/chunks/cli-1.1.26-rtk9fw0k.mjs +2 -0
  217. package/dist/chunks/cli-1.1.26-rzrs3g9w.mjs +2 -0
  218. package/dist/chunks/cli-1.1.26-sfz2mk5a.mjs +15 -0
  219. package/dist/chunks/cli-1.1.26-snnmp5qx.mjs +2 -0
  220. package/dist/chunks/cli-1.1.26-ssxrwqk2.mjs +2 -0
  221. package/dist/chunks/cli-1.1.26-swdk2n55.mjs +2 -0
  222. package/dist/chunks/cli-1.1.26-sx40y42s.mjs +2 -0
  223. package/dist/chunks/cli-1.1.26-syjzv1v1.mjs +18 -0
  224. package/dist/chunks/cli-1.1.26-t05x8de5.mjs +2 -0
  225. package/dist/chunks/cli-1.1.26-ta82bxzt.mjs +3 -0
  226. package/dist/chunks/cli-1.1.26-tcbtd5f6.mjs +2 -0
  227. package/dist/chunks/cli-1.1.26-tgtv1jp3.mjs +16 -0
  228. package/dist/chunks/cli-1.1.26-thxyzhdj.mjs +42 -0
  229. package/dist/chunks/cli-1.1.26-txmxmpj4.mjs +2 -0
  230. package/dist/chunks/cli-1.1.26-tyvfnyw1.mjs +2 -0
  231. package/dist/chunks/cli-1.1.26-v0vv0v6c.mjs +58 -0
  232. package/dist/chunks/cli-1.1.26-v440gznh.mjs +3 -0
  233. package/dist/chunks/cli-1.1.26-v6fnwae1.mjs +2 -0
  234. package/dist/chunks/cli-1.1.26-v7k7gw6h.mjs +2 -0
  235. package/dist/chunks/cli-1.1.26-vb3pa5k9.mjs +2 -0
  236. package/dist/chunks/cli-1.1.26-vne421we.mjs +133 -0
  237. package/dist/chunks/cli-1.1.26-vpdrb404.mjs +2 -0
  238. package/dist/chunks/cli-1.1.26-vxzeagvf.mjs +2 -0
  239. package/dist/chunks/cli-1.1.26-vypd5zf6.mjs +5 -0
  240. package/dist/chunks/cli-1.1.26-w94mate8.mjs +2 -0
  241. package/dist/chunks/cli-1.1.26-w9hym0b4.mjs +2 -0
  242. package/dist/chunks/cli-1.1.26-wy5w6zkt.mjs +2 -0
  243. package/dist/chunks/cli-1.1.26-x64s4kth.mjs +2 -0
  244. package/dist/chunks/cli-1.1.26-x82tpywr.mjs +2 -0
  245. package/dist/chunks/cli-1.1.26-xdcmgkcr.mjs +15 -0
  246. package/dist/chunks/cli-1.1.26-xkj6kd3c.mjs +2 -0
  247. package/dist/chunks/cli-1.1.26-xnqas0g4.mjs +2 -0
  248. package/dist/chunks/cli-1.1.26-xrb5tnj3.mjs +2 -0
  249. package/dist/chunks/cli-1.1.26-xrqbcbv5.mjs +2 -0
  250. package/dist/chunks/cli-1.1.26-xspr3ymb.mjs +2 -0
  251. package/dist/chunks/cli-1.1.26-xwryqq86.mjs +2 -0
  252. package/dist/chunks/cli-1.1.26-xzbv3dzb.mjs +2 -0
  253. package/dist/chunks/cli-1.1.26-y82xxzhw.mjs +2 -0
  254. package/dist/chunks/cli-1.1.26-yz9ks5m0.mjs +2 -0
  255. package/dist/chunks/cli-1.1.26-z2cjynpf.mjs +2 -0
  256. package/dist/chunks/cli-1.1.26-z5qgpexv.mjs +3 -0
  257. package/dist/chunks/cli-1.1.26-zb5hq3ry.mjs +2 -0
  258. package/dist/chunks/cli-1.1.26-zsf06fnj.mjs +2 -0
  259. package/dist/chunks/cli-1.1.26-zy2fcj67.mjs +2 -0
  260. package/dist/chunks/cli-1.1.26-zyt75y9a.mjs +2 -0
  261. package/dist/chunks/client-1.1.26-5m13dtqt.mjs +1 -0
  262. package/dist/chunks/color-1.1.26-hc4gee57.mjs +1 -0
  263. package/dist/chunks/compact-1.1.26-k29q801r.mjs +3 -0
  264. package/dist/chunks/config-1.1.26-20jye461.mjs +1 -0
  265. package/dist/chunks/config-1.1.26-f3tsx9mm.mjs +1 -0
  266. package/dist/chunks/constants-1.1.26-vyt7y0vq.mjs +1 -0
  267. package/dist/chunks/context-1.1.26-xg3zeq1z.mjs +1 -0
  268. package/dist/chunks/context-noninteractive-1.1.26-n05p37yd.mjs +1 -0
  269. package/dist/chunks/conversation-1.1.26-g9vfc7p7.mjs +1 -0
  270. package/dist/chunks/copilotHeaders-1.1.26-gr7hc6j5.mjs +1 -0
  271. package/dist/chunks/copy-1.1.26-t50s90xg.mjs +9 -0
  272. package/dist/chunks/cost-1.1.26-9hp3110j.mjs +1 -0
  273. package/dist/chunks/createSSHSession-1.1.26-hpzpfpqk.mjs +1 -0
  274. package/dist/chunks/createSession-1.1.26-4mxab0d8.mjs +1 -0
  275. package/dist/chunks/debug-1.1.26-m7p7fchf.mjs +1 -0
  276. package/dist/chunks/defaultActionDeps-1.1.26-0fr1vrkt.mjs +1534 -0
  277. package/dist/chunks/desktop-1.1.26-1qjp6a2c.mjs +1 -0
  278. package/dist/chunks/detectRepository-1.1.26-pmahtt3f.mjs +1 -0
  279. package/dist/chunks/detection-1.1.26-1wrkcwrj.mjs +1 -0
  280. package/dist/chunks/diff-1.1.26-c4nqg8fb.mjs +1 -0
  281. package/dist/chunks/doctor-1.1.26-0jtnwy0r.mjs +1 -0
  282. package/dist/chunks/doctorDiagnostic-1.1.26-x38xj5dq.mjs +1 -0
  283. package/dist/chunks/earlyInput-1.1.26-gp0650zq.mjs +1 -0
  284. package/dist/chunks/effort-1.1.26-8w1e6q0y.mjs +13 -0
  285. package/dist/chunks/engine-1.1.26-jt09gh12.mjs +1 -0
  286. package/dist/chunks/envLessBridgeConfig-1.1.26-p0x7avh5.mjs +1 -0
  287. package/dist/chunks/envUtils-1.1.26-p89sr6v4.mjs +1 -0
  288. package/dist/chunks/environmentSelection-1.1.26-d8vnmed1.mjs +1 -0
  289. package/dist/chunks/environments-1.1.26-fz5c214j.mjs +1 -0
  290. package/dist/chunks/errors-1.1.26-6bzb64g6.mjs +1 -0
  291. package/dist/chunks/exampleCommands-1.1.26-s4bn18p7.mjs +1 -0
  292. package/dist/chunks/execFileNoThrow-1.1.26-xh0x0cbp.mjs +1 -0
  293. package/dist/chunks/exit-1.1.26-55716s6k.mjs +1 -0
  294. package/dist/chunks/explorer-1.1.26-969pqrwa.mjs +1 -0
  295. package/dist/chunks/export-1.1.26-mgccr0ea.mjs +2 -0
  296. package/dist/chunks/extra-usage-1.1.26-sbe56spy.mjs +1 -0
  297. package/dist/chunks/extra-usage-noninteractive-1.1.26-h08e3n8t.mjs +1 -0
  298. package/dist/chunks/fast-1.1.26-rbaqsfka.mjs +1 -0
  299. package/dist/chunks/feedback-1.1.26-2m81mwds.mjs +14 -0
  300. package/dist/chunks/firstPartyEventLogger-1.1.26-ckqh8nb4.mjs +1 -0
  301. package/dist/chunks/git-1.1.26-0he7ww02.mjs +1 -0
  302. package/dist/chunks/githubModelsCredentials-1.1.26-xj1mdstq.mjs +1 -0
  303. package/dist/chunks/goal-1.1.26-n5s850gv.mjs +4 -0
  304. package/dist/chunks/growthbook-1.1.26-ka05jsbm.mjs +1 -0
  305. package/dist/chunks/headless-1.1.26-q9en6pe9.mjs +2 -0
  306. package/dist/chunks/heapdump-1.1.26-7ewvqmvf.mjs +6 -0
  307. package/dist/chunks/help-1.1.26-brf53t1m.mjs +1 -0
  308. package/dist/chunks/hookChains-1.1.26-rkf6y8rc.mjs +3 -0
  309. package/dist/chunks/hooks-1.1.26-9pdav42n.mjs +1 -0
  310. package/dist/chunks/hooks-1.1.26-szkj02ez.mjs +79 -0
  311. package/dist/chunks/ide-1.1.26-m5p57hjq.mjs +3 -0
  312. package/dist/chunks/image-processor-napi-1.1.26-rekvc35q.mjs +1 -0
  313. package/dist/chunks/import-1.1.26-7gbx5jy9.mjs +261 -0
  314. package/dist/chunks/inboundAttachments-1.1.26-tzg5nege.mjs +1 -0
  315. package/dist/chunks/index-1.1.26-1xcc10z3.mjs +1 -0
  316. package/dist/chunks/index-1.1.26-46seym0e.mjs +1 -0
  317. package/dist/chunks/index-1.1.26-4qsakkwp.mjs +1 -0
  318. package/dist/chunks/index-1.1.26-62wb3t76.mjs +5 -0
  319. package/dist/chunks/index-1.1.26-7dq7zd2s.mjs +2 -0
  320. package/dist/chunks/index-1.1.26-924a690m.mjs +1 -0
  321. package/dist/chunks/index-1.1.26-9hqzzjph.mjs +1 -0
  322. package/dist/chunks/index-1.1.26-bmzaqft1.mjs +1 -0
  323. package/dist/chunks/index-1.1.26-cpb34jqj.mjs +9 -0
  324. package/dist/chunks/index-1.1.26-cpx6j4xt.mjs +1 -0
  325. package/dist/chunks/index-1.1.26-gyna59qe.mjs +1 -0
  326. package/dist/chunks/index-1.1.26-h45zww68.mjs +30 -0
  327. package/dist/chunks/index-1.1.26-matsx1ed.mjs +1 -0
  328. package/dist/chunks/index-1.1.26-pm334xks.mjs +1 -0
  329. package/dist/chunks/index-1.1.26-qrbfj1zz.mjs +1 -0
  330. package/dist/chunks/index-1.1.26-sh5v696c.mjs +1 -0
  331. package/dist/chunks/index-1.1.26-srjepzh3.mjs +2 -0
  332. package/dist/chunks/index-1.1.26-syyhrh9b.mjs +23 -0
  333. package/dist/chunks/index-1.1.26-te4885d9.mjs +1 -0
  334. package/dist/chunks/index-1.1.26-tyjd8na6.mjs +1 -0
  335. package/dist/chunks/index-1.1.26-vk1z10tp.mjs +1 -0
  336. package/dist/chunks/index-1.1.26-vpyv4546.mjs +9 -0
  337. package/dist/chunks/index-1.1.26-xc6bagza.mjs +1 -0
  338. package/dist/chunks/init-1.1.26-bnpznn1w.mjs +1 -0
  339. package/dist/chunks/initReplBridge-1.1.26-c4s4p9cb.mjs +1 -0
  340. package/dist/chunks/ink-1.1.26-vgbt5egw.mjs +1 -0
  341. package/dist/chunks/insights-1.1.26-vcx1pevy.mjs +870 -0
  342. package/dist/chunks/install-1.1.26-4y132asw.mjs +1 -0
  343. package/dist/chunks/install-github-app-1.1.26-93zf234q.mjs +149 -0
  344. package/dist/chunks/install-slack-app-1.1.26-mhrfx4re.mjs +1 -0
  345. package/dist/chunks/instrumentation-1.1.26-c4qjkj2f.mjs +1 -0
  346. package/dist/chunks/interactiveHelpers-1.1.26-d3arqch8.mjs +1 -0
  347. package/dist/chunks/keybindings-1.1.26-vn76vb0k.mjs +2 -0
  348. package/dist/chunks/knowledge-1.1.26-tqdt6kx8.mjs +2 -0
  349. package/dist/chunks/latestVersionCache-1.1.26-nefaqy0s.mjs +1 -0
  350. package/dist/chunks/loadAgentsDir-1.1.26-w9zj8h13.mjs +1 -0
  351. package/dist/chunks/loadPluginHooks-1.1.26-p32pd0zg.mjs +1 -0
  352. package/dist/chunks/log-1.1.26-esy3mc70.mjs +1 -0
  353. package/dist/chunks/main-1.1.26-mj3gcxpm.mjs +1 -0
  354. package/dist/chunks/managedEnv-1.1.26-z6q7c9s8.mjs +1 -0
  355. package/dist/chunks/mcp-1.1.26-4c7syme5.mjs +17 -0
  356. package/dist/chunks/mcp-1.1.26-fhs36m57.mjs +1 -0
  357. package/dist/chunks/mcp-1.1.26-nadsprjm.mjs +4 -0
  358. package/dist/chunks/mcpb-1.1.26-ek6r8msb.mjs +1 -0
  359. package/dist/chunks/memory-1.1.26-b3m4e86v.mjs +72 -0
  360. package/dist/chunks/model-1.1.26-fhssfrx1.mjs +1 -0
  361. package/dist/chunks/model-1.1.26-v4t85ag1.mjs +2 -0
  362. package/dist/chunks/node-1.1.26-y7ck63cv.mjs +15 -0
  363. package/dist/chunks/oauth-1.1.26-8bftajjg.mjs +1 -0
  364. package/dist/chunks/openaiShim-1.1.26-wvmheb4c.mjs +14 -0
  365. package/dist/chunks/output-style-1.1.26-rgrmrr2a.mjs +1 -0
  366. package/dist/chunks/package-SHMK2LJE-1.1.26-grxx0tgk.mjs +1 -0
  367. package/dist/chunks/parseConnectUrl-1.1.26-64n8w8aa.mjs +1 -0
  368. package/dist/chunks/parser-1.1.26-p8fcgcbm.mjs +1 -0
  369. package/dist/chunks/passes-1.1.26-65c9vjm7.mjs +1 -0
  370. package/dist/chunks/permissions-1.1.26-bvde1j7e.mjs +1 -0
  371. package/dist/chunks/permissions-1.1.26-xx4tbm19.mjs +3 -0
  372. package/dist/chunks/plan-1.1.26-0p7zmpya.mjs +1 -0
  373. package/dist/chunks/plist-1.1.26-emtpv6yq.mjs +1 -0
  374. package/dist/chunks/plugin-1.1.26-6mz4s6ce.mjs +29 -0
  375. package/dist/chunks/pluginStartupCheck-1.1.26-zsxa12d4.mjs +1 -0
  376. package/dist/chunks/plugins-1.1.26-z4gc0hj4.mjs +9 -0
  377. package/dist/chunks/preActionHook-1.1.26-zja64r0y.mjs +2 -0
  378. package/dist/chunks/print-1.1.26-4jbs3r8a.mjs +57 -0
  379. package/dist/chunks/process-1.1.26-nkvbv24g.mjs +1 -0
  380. package/dist/chunks/processBashCommand-1.1.26-881sdvc5.mjs +1 -0
  381. package/dist/chunks/processSlashCommand-1.1.26-watbp07x.mjs +9 -0
  382. package/dist/chunks/prompt-1.1.26-734yg5r7.mjs +1 -0
  383. package/dist/chunks/prompt-1.1.26-ta9d8xgm.mjs +1 -0
  384. package/dist/chunks/prompts-1.1.26-cacdrcnk.mjs +1 -0
  385. package/dist/chunks/protocolHandler-1.1.26-qfw93skn.mjs +13 -0
  386. package/dist/chunks/provider-1.1.26-yk3xh49r.mjs +2 -0
  387. package/dist/chunks/providerProfiles-1.1.26-srvwhkc8.mjs +1 -0
  388. package/dist/chunks/providerValidation-1.1.26-57a6s8yj.mjs +6 -0
  389. package/dist/chunks/rate-limit-options-1.1.26-14exf6fk.mjs +1 -0
  390. package/dist/chunks/registerSubcommands-1.1.26-1yddk8hw.mjs +26 -0
  391. package/dist/chunks/registry-1.1.26-z88679pc.mjs +1 -0
  392. package/dist/chunks/release-notes-1.1.26-e7dkgbnp.mjs +5 -0
  393. package/dist/chunks/reload-plugins-1.1.26-6r85z0m0.mjs +2 -0
  394. package/dist/chunks/remote-env-1.1.26-rg1652ey.mjs +1 -0
  395. package/dist/chunks/remoteBridgeCore-1.1.26-jmhet39g.mjs +1 -0
  396. package/dist/chunks/remoteSession-1.1.26-5rva0545.mjs +1 -0
  397. package/dist/chunks/rename-1.1.26-vp06xehr.mjs +1 -0
  398. package/dist/chunks/replBridgeHandle-1.1.26-cs214vs7.mjs +1 -0
  399. package/dist/chunks/replLauncher-1.1.26-j0wpsd4v.mjs +1 -0
  400. package/dist/chunks/resume-1.1.26-agfxxd17.mjs +2 -0
  401. package/dist/chunks/rewind-1.1.26-dr3rgj2z.mjs +1 -0
  402. package/dist/chunks/rootOptions-1.1.26-nc1jrtkg.mjs +1 -0
  403. package/dist/chunks/runWorkflowHeadless-1.1.26-4xq2d4x0.mjs +10 -0
  404. package/dist/chunks/sandbox-adapter-1.1.26-v5bmtrnt.mjs +1 -0
  405. package/dist/chunks/sandbox-toggle-1.1.26-5pxvxje1.mjs +1 -0
  406. package/dist/chunks/session-1.1.26-7ejzc2bx.mjs +2 -0
  407. package/dist/chunks/sessionDiscovery-1.1.26-n6vex16t.mjs +1 -0
  408. package/dist/chunks/sessionFileAccessHooks-1.1.26-q07mz5fe.mjs +1 -0
  409. package/dist/chunks/sessionStorage-1.1.26-3x2gtfk1.mjs +1 -0
  410. package/dist/chunks/settings-1.1.26-5hc0bpnb.mjs +1 -0
  411. package/dist/chunks/setup-1.1.26-2qatx87q.mjs +12 -0
  412. package/dist/chunks/sinks-1.1.26-0d001pg9.mjs +1 -0
  413. package/dist/chunks/skills-1.1.26-5q1xvy1e.mjs +1 -0
  414. package/dist/chunks/startupProfiler-1.1.26-76scq5n6.mjs +1 -0
  415. package/dist/chunks/startupUpdateCheck-1.1.26-jw39czgq.mjs +1 -0
  416. package/dist/chunks/state-1.1.26-zh2a5cb0.mjs +1 -0
  417. package/dist/chunks/stats-1.1.26-3yvhzgsr.mjs +1 -0
  418. package/dist/chunks/status-1.1.26-ey3zzjzf.mjs +1 -0
  419. package/dist/chunks/stickers-1.1.26-pnx0arwe.mjs +1 -0
  420. package/dist/chunks/subprocessEnv-1.1.26-93d936pm.mjs +1 -0
  421. package/dist/chunks/tasks-1.1.26-05xaegas.mjs +1 -0
  422. package/dist/chunks/teamHelpers-1.1.26-zn888hhw.mjs +1 -0
  423. package/dist/chunks/teammateModeSnapshot-1.1.26-bhkgw59h.mjs +1 -0
  424. package/dist/chunks/teleport-1.1.26-9m3eaa2j.mjs +1 -0
  425. package/dist/chunks/terminalSetup-1.1.26-p0bvd0b7.mjs +1 -0
  426. package/dist/chunks/theme-1.1.26-ys6mqfn7.mjs +1 -0
  427. package/dist/chunks/thinkback-1.1.26-v4qbcex4.mjs +1 -0
  428. package/dist/chunks/thinkback-play-1.1.26-6gg066vk.mjs +1 -0
  429. package/dist/chunks/toolPool-1.1.26-g4p6wj1v.mjs +1 -0
  430. package/dist/chunks/toolSearch-1.1.26-0whd6fnj.mjs +1 -0
  431. package/dist/chunks/tools-1.1.26-m8c4e11h.mjs +1 -0
  432. package/dist/chunks/trustedDevice-1.1.26-w86xceqp.mjs +1 -0
  433. package/dist/chunks/turndown.cjs-1.1.26-kk4sc8q3.mjs +69 -0
  434. package/dist/chunks/types-1.1.26-myrve966.mjs +1 -0
  435. package/dist/chunks/ultrareviewCommand-1.1.26-fyxh8eqb.mjs +4 -0
  436. package/dist/chunks/update-1.1.26-96yjt7je.mjs +72 -0
  437. package/dist/chunks/upgrade-1.1.26-x2geqcxm.mjs +1 -0
  438. package/dist/chunks/upload-1.1.26-vpwb30tf.mjs +7 -0
  439. package/dist/chunks/upstreamproxy-1.1.26-xe96amnx.mjs +14 -0
  440. package/dist/chunks/url-handler-napi-1.1.26-2v7h396d.mjs +1 -0
  441. package/dist/chunks/usage-1.1.26-pbyahcbc.mjs +1 -0
  442. package/dist/chunks/util-1.1.26-f55brgp6.mjs +1 -0
  443. package/dist/chunks/utils-1.1.26-ntj5p9c6.mjs +1 -0
  444. package/dist/chunks/vim-1.1.26-n3dckyqd.mjs +1 -0
  445. package/dist/chunks/watchLoop-1.1.26-shv6pr8d.mjs +13 -0
  446. package/dist/chunks/watcher-1.1.26-bdahcrvk.mjs +1 -0
  447. package/dist/chunks/wiki-1.1.26-9q9evb0p.mjs +132 -0
  448. package/dist/chunks/workflows-1.1.26-pv1pmcm0.mjs +1 -0
  449. package/dist/chunks/worktree-1.1.26-k3z8qg36.mjs +1 -0
  450. package/dist/chunks/worktreeModeEnabled-1.1.26-c966pdm7.mjs +1 -0
  451. package/dist/chunks/wrapper-1.1.26-smg8ftbk.mjs +7 -0
  452. package/dist/cli.mjs +2 -2
  453. package/package.json +9 -9
  454. package/dist/chunks/AgentTool-1.1.25-wemjscyz.mjs +0 -1
  455. package/dist/chunks/App-1.1.25-k5h3kma3.mjs +0 -1
  456. package/dist/chunks/ApproveApiKey-1.1.25-z8vqxm93.mjs +0 -1
  457. package/dist/chunks/AssistantSessionChooser-1.1.25-qmr6qf3r.mjs +0 -1
  458. package/dist/chunks/AutoModeOptInDialog-1.1.25-78m4mvsv.mjs +0 -1
  459. package/dist/chunks/BypassPermissionsModeDialog-1.1.25-htk8qebw.mjs +0 -1
  460. package/dist/chunks/ClaudeMdExternalIncludesDialog-1.1.25-8evt7epy.mjs +0 -1
  461. package/dist/chunks/ConsoleOAuthFlow-1.1.25-3nbcvm6d.mjs +0 -1
  462. package/dist/chunks/DiffDialog-1.1.25-7n5581yw.mjs +0 -6
  463. package/dist/chunks/Doctor-1.1.25-zvcm13vd.mjs +0 -1
  464. package/dist/chunks/ExplorerDialog-1.1.25-jazr0v5h.mjs +0 -6
  465. package/dist/chunks/ITermBackend-1.1.25-tb139x32.mjs +0 -1
  466. package/dist/chunks/InvalidConfigDialog-1.1.25-h27j1v12.mjs +0 -1
  467. package/dist/chunks/InvalidSettingsDialog-1.1.25-7gxkqb1q.mjs +0 -1
  468. package/dist/chunks/MigrationDialog-1.1.25-21kzry6a.mjs +0 -1
  469. package/dist/chunks/Onboarding-1.1.25-z4ps8td0.mjs +0 -1
  470. package/dist/chunks/ProviderManager-1.1.25-dekvcwna.mjs +0 -1
  471. package/dist/chunks/REPL-1.1.25-x77jymbq.mjs +0 -1
  472. package/dist/chunks/ResumeConversation-1.1.25-z1n7c0cp.mjs +0 -1
  473. package/dist/chunks/SnapshotUpdateDialog-1.1.25-ye8czpf8.mjs +0 -1
  474. package/dist/chunks/TeleportProgress-1.1.25-qy9dcwtf.mjs +0 -1
  475. package/dist/chunks/TeleportRepoMismatchDialog-1.1.25-se513tcw.mjs +0 -1
  476. package/dist/chunks/TeleportResumeWrapper-1.1.25-shafx13k.mjs +0 -1
  477. package/dist/chunks/TmuxBackend-1.1.25-q9jqjghn.mjs +0 -9
  478. package/dist/chunks/ToolSearchTool-1.1.25-c9b16qp6.mjs +0 -1
  479. package/dist/chunks/TrustDialog-1.1.25-4x0h3a7n.mjs +0 -1
  480. package/dist/chunks/activeProvider-1.1.25-9z82gazg.mjs +0 -1
  481. package/dist/chunks/add-dir-1.1.25-3eark7aj.mjs +0 -1
  482. package/dist/chunks/agentTypes-1.1.25-88qbcwen.mjs +0 -1
  483. package/dist/chunks/agents-1.1.25-58s95cy7.mjs +0 -110
  484. package/dist/chunks/agents-1.1.25-rprb9rf9.mjs +0 -3
  485. package/dist/chunks/api-1.1.25-ceedtxx2.mjs +0 -1
  486. package/dist/chunks/asciicast-1.1.25-dtyww79s.mjs +0 -1
  487. package/dist/chunks/assistant-1.1.25-12s5z3q2.mjs +0 -1
  488. package/dist/chunks/auth-1.1.25-cd9y34xe.mjs +0 -1
  489. package/dist/chunks/auth-1.1.25-gphkwwnp.mjs +0 -1
  490. package/dist/chunks/autoMode-1.1.25-zdd4g2rn.mjs +0 -52
  491. package/dist/chunks/autoModeSetup-1.1.25-17zj185q.mjs +0 -44
  492. package/dist/chunks/autoUpdater-1.1.25-tb3pf0cw.mjs +0 -1
  493. package/dist/chunks/backgroundHousekeeping-1.1.25-mtctkars.mjs +0 -1
  494. package/dist/chunks/branch-1.1.25-ytfahhwq.mjs +0 -4
  495. package/dist/chunks/bridge-1.1.25-kkjx4g4j.mjs +0 -2
  496. package/dist/chunks/bridgeConfig-1.1.25-9h63taqc.mjs +0 -1
  497. package/dist/chunks/bridgeEnabled-1.1.25-yq7hv80q.mjs +0 -1
  498. package/dist/chunks/bridgeMain-1.1.25-rmcdgp77.mjs +0 -88
  499. package/dist/chunks/bridgePointer-1.1.25-x3jjj2ek.mjs +0 -1
  500. package/dist/chunks/btw-1.1.25-xdh8rhdz.mjs +0 -1
  501. package/dist/chunks/buddy-1.1.25-aj90p6ww.mjs +0 -3
  502. package/dist/chunks/cache-probe-1.1.25-4wztx76s.mjs +0 -21
  503. package/dist/chunks/cacheStats-1.1.25-9bd12my6.mjs +0 -4
  504. package/dist/chunks/caches-1.1.25-2ewrwm5x.mjs +0 -1
  505. package/dist/chunks/cd-1.1.25-9yhaw8rp.mjs +0 -3
  506. package/dist/chunks/claudeDesktop-1.1.25-bw8arps4.mjs +0 -1
  507. package/dist/chunks/claudemd-1.1.25-f621m88g.mjs +0 -1
  508. package/dist/chunks/clear-1.1.25-jk3ztva0.mjs +0 -1
  509. package/dist/chunks/clearTerminal-1.1.25-7jtejen6.mjs +0 -1
  510. package/dist/chunks/cli-1.1.25-0m4pyzaf.mjs +0 -2
  511. package/dist/chunks/cli-1.1.25-0q6rqkec.mjs +0 -58
  512. package/dist/chunks/cli-1.1.25-12b1rzfj.mjs +0 -2
  513. package/dist/chunks/cli-1.1.25-14jerc0x.mjs +0 -2
  514. package/dist/chunks/cli-1.1.25-1c4t0f2p.mjs +0 -2
  515. package/dist/chunks/cli-1.1.25-1c633j9v.mjs +0 -2
  516. package/dist/chunks/cli-1.1.25-1gz0w81n.mjs +0 -2
  517. package/dist/chunks/cli-1.1.25-1hx796kk.mjs +0 -2
  518. package/dist/chunks/cli-1.1.25-1s7ketx0.mjs +0 -2
  519. package/dist/chunks/cli-1.1.25-1sf51thg.mjs +0 -3
  520. package/dist/chunks/cli-1.1.25-221zdn3h.mjs +0 -4
  521. package/dist/chunks/cli-1.1.25-24f6az0s.mjs +0 -2
  522. package/dist/chunks/cli-1.1.25-2gjxmbsj.mjs +0 -2
  523. package/dist/chunks/cli-1.1.25-2gtabky3.mjs +0 -60
  524. package/dist/chunks/cli-1.1.25-2wd0qj2d.mjs +0 -2
  525. package/dist/chunks/cli-1.1.25-2we0778z.mjs +0 -2
  526. package/dist/chunks/cli-1.1.25-2zepg15b.mjs +0 -2
  527. package/dist/chunks/cli-1.1.25-32br2csx.mjs +0 -2
  528. package/dist/chunks/cli-1.1.25-32qfxqyg.mjs +0 -2
  529. package/dist/chunks/cli-1.1.25-348yqf3d.mjs +0 -2
  530. package/dist/chunks/cli-1.1.25-37rs38eq.mjs +0 -2
  531. package/dist/chunks/cli-1.1.25-3dd0c7xd.mjs +0 -4
  532. package/dist/chunks/cli-1.1.25-3ev2q4bm.mjs +0 -4
  533. package/dist/chunks/cli-1.1.25-3hnrfkxc.mjs +0 -2
  534. package/dist/chunks/cli-1.1.25-3nhwpx0q.mjs +0 -3
  535. package/dist/chunks/cli-1.1.25-3nm4kgwz.mjs +0 -2
  536. package/dist/chunks/cli-1.1.25-3qj0n5y0.mjs +0 -21
  537. package/dist/chunks/cli-1.1.25-3tnd3xyt.mjs +0 -3
  538. package/dist/chunks/cli-1.1.25-3v5624jg.mjs +0 -2
  539. package/dist/chunks/cli-1.1.25-3vtsr7s2.mjs +0 -2
  540. package/dist/chunks/cli-1.1.25-45mx738r.mjs +0 -3
  541. package/dist/chunks/cli-1.1.25-4cgvw7e3.mjs +0 -2
  542. package/dist/chunks/cli-1.1.25-4d1zk1ar.mjs +0 -12
  543. package/dist/chunks/cli-1.1.25-4h4yaa4x.mjs +0 -2
  544. package/dist/chunks/cli-1.1.25-4yjtqfa0.mjs +0 -2
  545. package/dist/chunks/cli-1.1.25-54q2vnck.mjs +0 -2
  546. package/dist/chunks/cli-1.1.25-5f8d8bx1.mjs +0 -2
  547. package/dist/chunks/cli-1.1.25-5g78avtr.mjs +0 -2
  548. package/dist/chunks/cli-1.1.25-5n21xpvc.mjs +0 -16
  549. package/dist/chunks/cli-1.1.25-5qknjpxc.mjs +0 -2
  550. package/dist/chunks/cli-1.1.25-5r495hn7.mjs +0 -4
  551. package/dist/chunks/cli-1.1.25-5s22yhkx.mjs +0 -3
  552. package/dist/chunks/cli-1.1.25-5s65r14h.mjs +0 -2
  553. package/dist/chunks/cli-1.1.25-5ye3ascx.mjs +0 -2
  554. package/dist/chunks/cli-1.1.25-639mzh6g.mjs +0 -2
  555. package/dist/chunks/cli-1.1.25-63kkff0g.mjs +0 -2
  556. package/dist/chunks/cli-1.1.25-683ggh08.mjs +0 -2
  557. package/dist/chunks/cli-1.1.25-687hxtdb.mjs +0 -1
  558. package/dist/chunks/cli-1.1.25-69shxnnp.mjs +0 -2
  559. package/dist/chunks/cli-1.1.25-6bb29bw7.mjs +0 -2
  560. package/dist/chunks/cli-1.1.25-6panntay.mjs +0 -17
  561. package/dist/chunks/cli-1.1.25-6pthkv1w.mjs +0 -4
  562. package/dist/chunks/cli-1.1.25-6r6r7rep.mjs +0 -4
  563. package/dist/chunks/cli-1.1.25-6t9phfap.mjs +0 -2
  564. package/dist/chunks/cli-1.1.25-6vwz5vma.mjs +0 -2
  565. package/dist/chunks/cli-1.1.25-6wcggeyr.mjs +0 -25
  566. package/dist/chunks/cli-1.1.25-6wjrv08c.mjs +0 -6
  567. package/dist/chunks/cli-1.1.25-746dypse.mjs +0 -2
  568. package/dist/chunks/cli-1.1.25-74ys7518.mjs +0 -42
  569. package/dist/chunks/cli-1.1.25-7d3fdbq5.mjs +0 -17
  570. package/dist/chunks/cli-1.1.25-7d7cptk6.mjs +0 -10
  571. package/dist/chunks/cli-1.1.25-7qert3s4.mjs +0 -2
  572. package/dist/chunks/cli-1.1.25-7qxwpfwh.mjs +0 -2
  573. package/dist/chunks/cli-1.1.25-7wsdhgky.mjs +0 -2
  574. package/dist/chunks/cli-1.1.25-82ht7pxh.mjs +0 -2
  575. package/dist/chunks/cli-1.1.25-8byrahks.mjs +0 -2
  576. package/dist/chunks/cli-1.1.25-8eznzbsa.mjs +0 -5
  577. package/dist/chunks/cli-1.1.25-8hv1dfrb.mjs +0 -2
  578. package/dist/chunks/cli-1.1.25-8k2bszzr.mjs +0 -2
  579. package/dist/chunks/cli-1.1.25-8v1gw0tw.mjs +0 -9
  580. package/dist/chunks/cli-1.1.25-8vqmp6g5.mjs +0 -20
  581. package/dist/chunks/cli-1.1.25-9f27xm90.mjs +0 -25
  582. package/dist/chunks/cli-1.1.25-9grz07r4.mjs +0 -34
  583. package/dist/chunks/cli-1.1.25-9m237kwt.mjs +0 -2
  584. package/dist/chunks/cli-1.1.25-9xqq9dsw.mjs +0 -3
  585. package/dist/chunks/cli-1.1.25-9yhnadye.mjs +0 -24
  586. package/dist/chunks/cli-1.1.25-9z7tyxc4.mjs +0 -2
  587. package/dist/chunks/cli-1.1.25-a0zejb5c.mjs +0 -2
  588. package/dist/chunks/cli-1.1.25-am98khq7.mjs +0 -2
  589. package/dist/chunks/cli-1.1.25-anhj1nnt.mjs +0 -2
  590. package/dist/chunks/cli-1.1.25-anvsm1cs.mjs +0 -2
  591. package/dist/chunks/cli-1.1.25-b1hj5x42.mjs +0 -2
  592. package/dist/chunks/cli-1.1.25-ba3yrxg9.mjs +0 -2
  593. package/dist/chunks/cli-1.1.25-bmjvmtgk.mjs +0 -2
  594. package/dist/chunks/cli-1.1.25-bvg3kwg7.mjs +0 -4
  595. package/dist/chunks/cli-1.1.25-cc10r97z.mjs +0 -2
  596. package/dist/chunks/cli-1.1.25-cmsea0j8.mjs +0 -15
  597. package/dist/chunks/cli-1.1.25-csgmna38.mjs +0 -2
  598. package/dist/chunks/cli-1.1.25-d029ezbm.mjs +0 -2
  599. package/dist/chunks/cli-1.1.25-d15hk64v.mjs +0 -2
  600. package/dist/chunks/cli-1.1.25-d6ybhba5.mjs +0 -2
  601. package/dist/chunks/cli-1.1.25-dc92c5gy.mjs +0 -2
  602. package/dist/chunks/cli-1.1.25-df9x7s0j.mjs +0 -2
  603. package/dist/chunks/cli-1.1.25-dn7m24cg.mjs +0 -2
  604. package/dist/chunks/cli-1.1.25-drtfsgw8.mjs +0 -3
  605. package/dist/chunks/cli-1.1.25-dw0mshd5.mjs +0 -2
  606. package/dist/chunks/cli-1.1.25-e2ng6vcx.mjs +0 -2
  607. package/dist/chunks/cli-1.1.25-ed14rf9g.mjs +0 -2
  608. package/dist/chunks/cli-1.1.25-eqtpax1f.mjs +0 -6
  609. package/dist/chunks/cli-1.1.25-etb23y0w.mjs +0 -4
  610. package/dist/chunks/cli-1.1.25-ex6f69yn.mjs +0 -2
  611. package/dist/chunks/cli-1.1.25-f424x1de.mjs +0 -2
  612. package/dist/chunks/cli-1.1.25-f57233sm.mjs +0 -8
  613. package/dist/chunks/cli-1.1.25-f5ag59tm.mjs +0 -4
  614. package/dist/chunks/cli-1.1.25-f6w108cp.mjs +0 -6
  615. package/dist/chunks/cli-1.1.25-f9pk1asa.mjs +0 -7
  616. package/dist/chunks/cli-1.1.25-fr1nw6bz.mjs +0 -2
  617. package/dist/chunks/cli-1.1.25-fwh7d55c.mjs +0 -2
  618. package/dist/chunks/cli-1.1.25-g6y71why.mjs +0 -24
  619. package/dist/chunks/cli-1.1.25-gba9rrnp.mjs +0 -15
  620. package/dist/chunks/cli-1.1.25-gezpvyzq.mjs +0 -2
  621. package/dist/chunks/cli-1.1.25-gm5mfwmy.mjs +0 -2
  622. package/dist/chunks/cli-1.1.25-gmvcd8bm.mjs +0 -2
  623. package/dist/chunks/cli-1.1.25-gnsqbh0h.mjs +0 -2
  624. package/dist/chunks/cli-1.1.25-gsngwhfp.mjs +0 -2
  625. package/dist/chunks/cli-1.1.25-gz32rhhs.mjs +0 -2
  626. package/dist/chunks/cli-1.1.25-h164y8f5.mjs +0 -2
  627. package/dist/chunks/cli-1.1.25-h6ag26rc.mjs +0 -2
  628. package/dist/chunks/cli-1.1.25-hjvawqyb.mjs +0 -2
  629. package/dist/chunks/cli-1.1.25-hjwttff4.mjs +0 -2
  630. package/dist/chunks/cli-1.1.25-hpfkk20r.mjs +0 -2
  631. package/dist/chunks/cli-1.1.25-j6x483np.mjs +0 -2
  632. package/dist/chunks/cli-1.1.25-jaz67hdc.mjs +0 -2
  633. package/dist/chunks/cli-1.1.25-jk7skh2n.mjs +0 -2
  634. package/dist/chunks/cli-1.1.25-jmv6jw6b.mjs +0 -2
  635. package/dist/chunks/cli-1.1.25-jsn4we2f.mjs +0 -2
  636. package/dist/chunks/cli-1.1.25-k6kqfxnq.mjs +0 -2
  637. package/dist/chunks/cli-1.1.25-k6v3tvg9.mjs +0 -2
  638. package/dist/chunks/cli-1.1.25-kdamwjt1.mjs +0 -2
  639. package/dist/chunks/cli-1.1.25-kn1yv4f6.mjs +0 -2
  640. package/dist/chunks/cli-1.1.25-kpah4ttt.mjs +0 -2
  641. package/dist/chunks/cli-1.1.25-kpv8j6wf.mjs +0 -2
  642. package/dist/chunks/cli-1.1.25-kvwevqsc.mjs +0 -18
  643. package/dist/chunks/cli-1.1.25-m0h0ddew.mjs +0 -2
  644. package/dist/chunks/cli-1.1.25-m86a8tmc.mjs +0 -2
  645. package/dist/chunks/cli-1.1.25-n10jmzvk.mjs +0 -2
  646. package/dist/chunks/cli-1.1.25-n5gb4kx8.mjs +0 -2
  647. package/dist/chunks/cli-1.1.25-n6df4vnz.mjs +0 -2
  648. package/dist/chunks/cli-1.1.25-nh2xj15f.mjs +0 -2
  649. package/dist/chunks/cli-1.1.25-njrez2x5.mjs +0 -12
  650. package/dist/chunks/cli-1.1.25-nmw9agm4.mjs +0 -133
  651. package/dist/chunks/cli-1.1.25-nmxbk4dt.mjs +0 -2
  652. package/dist/chunks/cli-1.1.25-np8863pb.mjs +0 -3
  653. package/dist/chunks/cli-1.1.25-ntfm6tbg.mjs +0 -2
  654. package/dist/chunks/cli-1.1.25-nwdtve8h.mjs +0 -2
  655. package/dist/chunks/cli-1.1.25-nxvqf4sh.mjs +0 -2
  656. package/dist/chunks/cli-1.1.25-p2kmhxd3.mjs +0 -3
  657. package/dist/chunks/cli-1.1.25-p9j8prqh.mjs +0 -2
  658. package/dist/chunks/cli-1.1.25-pcamey8m.mjs +0 -2
  659. package/dist/chunks/cli-1.1.25-peepax79.mjs +0 -66
  660. package/dist/chunks/cli-1.1.25-pgs0x971.mjs +0 -50
  661. package/dist/chunks/cli-1.1.25-px1h2b7d.mjs +0 -2
  662. package/dist/chunks/cli-1.1.25-pxq7zyjb.mjs +0 -2
  663. package/dist/chunks/cli-1.1.25-pzp73p0x.mjs +0 -2
  664. package/dist/chunks/cli-1.1.25-q257pczz.mjs +0 -133
  665. package/dist/chunks/cli-1.1.25-q5qj0wfa.mjs +0 -18
  666. package/dist/chunks/cli-1.1.25-q5tqh3tz.mjs +0 -2
  667. package/dist/chunks/cli-1.1.25-q88hb4qg.mjs +0 -5459
  668. package/dist/chunks/cli-1.1.25-qd1b1zr7.mjs +0 -3
  669. package/dist/chunks/cli-1.1.25-qd1q5w85.mjs +0 -2
  670. package/dist/chunks/cli-1.1.25-qgnyys4j.mjs +0 -6
  671. package/dist/chunks/cli-1.1.25-qp9j9ma3.mjs +0 -24
  672. package/dist/chunks/cli-1.1.25-qpb14xj4.mjs +0 -2
  673. package/dist/chunks/cli-1.1.25-qtjt3cq9.mjs +0 -2
  674. package/dist/chunks/cli-1.1.25-r0dwt4a0.mjs +0 -2
  675. package/dist/chunks/cli-1.1.25-rbapdr02.mjs +0 -2
  676. package/dist/chunks/cli-1.1.25-rbnjv023.mjs +0 -2
  677. package/dist/chunks/cli-1.1.25-rf05pze2.mjs +0 -2
  678. package/dist/chunks/cli-1.1.25-rf0c9c9r.mjs +0 -3
  679. package/dist/chunks/cli-1.1.25-rg5rxmym.mjs +0 -9
  680. package/dist/chunks/cli-1.1.25-rkh9pz84.mjs +0 -2
  681. package/dist/chunks/cli-1.1.25-rqzwndms.mjs +0 -45
  682. package/dist/chunks/cli-1.1.25-rwg08ga2.mjs +0 -39
  683. package/dist/chunks/cli-1.1.25-s1ykc389.mjs +0 -2
  684. package/dist/chunks/cli-1.1.25-s54emewd.mjs +0 -206
  685. package/dist/chunks/cli-1.1.25-sjqg08ww.mjs +0 -2
  686. package/dist/chunks/cli-1.1.25-sm3q65hz.mjs +0 -2
  687. package/dist/chunks/cli-1.1.25-svtt1qhf.mjs +0 -5
  688. package/dist/chunks/cli-1.1.25-sz3dey5y.mjs +0 -2
  689. package/dist/chunks/cli-1.1.25-t6rdfhp9.mjs +0 -3
  690. package/dist/chunks/cli-1.1.25-t80ab9f0.mjs +0 -7
  691. package/dist/chunks/cli-1.1.25-tftyt531.mjs +0 -3
  692. package/dist/chunks/cli-1.1.25-tj3kqgbv.mjs +0 -2
  693. package/dist/chunks/cli-1.1.25-tz7k6gjy.mjs +0 -2
  694. package/dist/chunks/cli-1.1.25-vc7150xz.mjs +0 -2
  695. package/dist/chunks/cli-1.1.25-vkg5fb0z.mjs +0 -2
  696. package/dist/chunks/cli-1.1.25-vwe1fsde.mjs +0 -2
  697. package/dist/chunks/cli-1.1.25-wcw9vrkz.mjs +0 -2
  698. package/dist/chunks/cli-1.1.25-wd0p9nmj.mjs +0 -24
  699. package/dist/chunks/cli-1.1.25-wtrb99c9.mjs +0 -2
  700. package/dist/chunks/cli-1.1.25-wy18zt7a.mjs +0 -3
  701. package/dist/chunks/cli-1.1.25-x26vkphq.mjs +0 -6
  702. package/dist/chunks/cli-1.1.25-x4ww7pe7.mjs +0 -2
  703. package/dist/chunks/cli-1.1.25-xbxtyfje.mjs +0 -2
  704. package/dist/chunks/cli-1.1.25-y0f45gyf.mjs +0 -2
  705. package/dist/chunks/cli-1.1.25-y4xjnn7w.mjs +0 -2
  706. package/dist/chunks/cli-1.1.25-ybe971qx.mjs +0 -15
  707. package/dist/chunks/cli-1.1.25-yctc3qt8.mjs +0 -2
  708. package/dist/chunks/cli-1.1.25-yf3nnsg1.mjs +0 -2
  709. package/dist/chunks/cli-1.1.25-z31z20wf.mjs +0 -2
  710. package/dist/chunks/cli-1.1.25-zk74mh7n.mjs +0 -2
  711. package/dist/chunks/cli-1.1.25-zpzhf7zc.mjs +0 -2
  712. package/dist/chunks/cli-1.1.25-zqqpy89q.mjs +0 -6
  713. package/dist/chunks/cli-1.1.25-zrj2zpkp.mjs +0 -2
  714. package/dist/chunks/client-1.1.25-08n7ywgz.mjs +0 -1
  715. package/dist/chunks/color-1.1.25-n45p3cdv.mjs +0 -1
  716. package/dist/chunks/compact-1.1.25-qqv3fce7.mjs +0 -3
  717. package/dist/chunks/config-1.1.25-bvznkf41.mjs +0 -1
  718. package/dist/chunks/config-1.1.25-n6dtcns2.mjs +0 -1
  719. package/dist/chunks/constants-1.1.25-g61cz55f.mjs +0 -1
  720. package/dist/chunks/context-1.1.25-e3n1bdyd.mjs +0 -1
  721. package/dist/chunks/context-noninteractive-1.1.25-6drmca9m.mjs +0 -1
  722. package/dist/chunks/conversation-1.1.25-5xfam12e.mjs +0 -1
  723. package/dist/chunks/copilotHeaders-1.1.25-n3q0s4gz.mjs +0 -1
  724. package/dist/chunks/copy-1.1.25-wcjjc2td.mjs +0 -9
  725. package/dist/chunks/cost-1.1.25-czrc10qr.mjs +0 -1
  726. package/dist/chunks/createSSHSession-1.1.25-q7sr5mgy.mjs +0 -1
  727. package/dist/chunks/createSession-1.1.25-abgdr9mn.mjs +0 -1
  728. package/dist/chunks/debug-1.1.25-4284each.mjs +0 -1
  729. package/dist/chunks/defaultActionDeps-1.1.25-bh5e3czf.mjs +0 -1534
  730. package/dist/chunks/desktop-1.1.25-kb98q9vj.mjs +0 -1
  731. package/dist/chunks/detectRepository-1.1.25-a7pfgy12.mjs +0 -1
  732. package/dist/chunks/detection-1.1.25-8nzvw5jn.mjs +0 -1
  733. package/dist/chunks/diff-1.1.25-dhnj1tfb.mjs +0 -1
  734. package/dist/chunks/doctor-1.1.25-0x83n5n5.mjs +0 -1
  735. package/dist/chunks/doctorDiagnostic-1.1.25-qmg4yght.mjs +0 -1
  736. package/dist/chunks/earlyInput-1.1.25-jz9ewwc0.mjs +0 -1
  737. package/dist/chunks/effort-1.1.25-6gemkp3j.mjs +0 -13
  738. package/dist/chunks/engine-1.1.25-hb7ppn8y.mjs +0 -1
  739. package/dist/chunks/envLessBridgeConfig-1.1.25-32s3yykr.mjs +0 -1
  740. package/dist/chunks/envUtils-1.1.25-trphmt1z.mjs +0 -1
  741. package/dist/chunks/environmentSelection-1.1.25-jew2phex.mjs +0 -1
  742. package/dist/chunks/environments-1.1.25-nkh2j8kv.mjs +0 -1
  743. package/dist/chunks/errors-1.1.25-0t1vtdpj.mjs +0 -1
  744. package/dist/chunks/exampleCommands-1.1.25-n2ktzve3.mjs +0 -1
  745. package/dist/chunks/execFileNoThrow-1.1.25-2f72pb95.mjs +0 -1
  746. package/dist/chunks/exit-1.1.25-302bsne4.mjs +0 -1
  747. package/dist/chunks/explorer-1.1.25-f47vrcdd.mjs +0 -1
  748. package/dist/chunks/export-1.1.25-655jmasp.mjs +0 -2
  749. package/dist/chunks/extra-usage-1.1.25-9f3dc9de.mjs +0 -1
  750. package/dist/chunks/extra-usage-noninteractive-1.1.25-wjzcb1d3.mjs +0 -1
  751. package/dist/chunks/fast-1.1.25-k4a1t9tc.mjs +0 -1
  752. package/dist/chunks/feedback-1.1.25-crmhd8kn.mjs +0 -14
  753. package/dist/chunks/firstPartyEventLogger-1.1.25-pr01pvjg.mjs +0 -1
  754. package/dist/chunks/git-1.1.25-r40xnnqg.mjs +0 -1
  755. package/dist/chunks/githubModelsCredentials-1.1.25-8r84eppg.mjs +0 -1
  756. package/dist/chunks/goal-1.1.25-2fz16dne.mjs +0 -4
  757. package/dist/chunks/growthbook-1.1.25-vr1d3g20.mjs +0 -1
  758. package/dist/chunks/headless-1.1.25-b7ma19kx.mjs +0 -2
  759. package/dist/chunks/heapdump-1.1.25-s74fnvr9.mjs +0 -6
  760. package/dist/chunks/help-1.1.25-jphw3nwb.mjs +0 -1
  761. package/dist/chunks/hookChains-1.1.25-wad3j7ae.mjs +0 -3
  762. package/dist/chunks/hooks-1.1.25-5psxtbt2.mjs +0 -79
  763. package/dist/chunks/hooks-1.1.25-n6f1dkc7.mjs +0 -1
  764. package/dist/chunks/ide-1.1.25-21kw5qe1.mjs +0 -3
  765. package/dist/chunks/image-processor-napi-1.1.25-jymb540y.mjs +0 -1
  766. package/dist/chunks/import-1.1.25-71q60jx1.mjs +0 -261
  767. package/dist/chunks/inboundAttachments-1.1.25-qg5v4c4j.mjs +0 -1
  768. package/dist/chunks/index-1.1.25-0f94rjfd.mjs +0 -1
  769. package/dist/chunks/index-1.1.25-0n1ksx20.mjs +0 -2
  770. package/dist/chunks/index-1.1.25-1n597wy3.mjs +0 -1
  771. package/dist/chunks/index-1.1.25-1rwmhexf.mjs +0 -1
  772. package/dist/chunks/index-1.1.25-6160t93h.mjs +0 -30
  773. package/dist/chunks/index-1.1.25-645qcmbw.mjs +0 -9
  774. package/dist/chunks/index-1.1.25-70ggh135.mjs +0 -1
  775. package/dist/chunks/index-1.1.25-7nk5p28a.mjs +0 -1
  776. package/dist/chunks/index-1.1.25-7p7qd15b.mjs +0 -23
  777. package/dist/chunks/index-1.1.25-8z7y79bf.mjs +0 -1
  778. package/dist/chunks/index-1.1.25-affe6cxt.mjs +0 -9
  779. package/dist/chunks/index-1.1.25-bec2ajvp.mjs +0 -1
  780. package/dist/chunks/index-1.1.25-f64qrtc9.mjs +0 -5
  781. package/dist/chunks/index-1.1.25-g7v9zhk1.mjs +0 -1
  782. package/dist/chunks/index-1.1.25-g99896ns.mjs +0 -1
  783. package/dist/chunks/index-1.1.25-hcbmys9p.mjs +0 -1
  784. package/dist/chunks/index-1.1.25-j8rm4qgs.mjs +0 -2
  785. package/dist/chunks/index-1.1.25-kh02yd5c.mjs +0 -1
  786. package/dist/chunks/index-1.1.25-m6k2vy2a.mjs +0 -1
  787. package/dist/chunks/index-1.1.25-pmn6pnjv.mjs +0 -1
  788. package/dist/chunks/index-1.1.25-t0kaa1dy.mjs +0 -1
  789. package/dist/chunks/index-1.1.25-xfdfregs.mjs +0 -1
  790. package/dist/chunks/index-1.1.25-ychm6aj7.mjs +0 -1
  791. package/dist/chunks/init-1.1.25-x7cr3p65.mjs +0 -1
  792. package/dist/chunks/initReplBridge-1.1.25-zcgy02rq.mjs +0 -1
  793. package/dist/chunks/ink-1.1.25-evxr7syt.mjs +0 -1
  794. package/dist/chunks/insights-1.1.25-0zz5y2cs.mjs +0 -870
  795. package/dist/chunks/install-1.1.25-nghrpc4k.mjs +0 -1
  796. package/dist/chunks/install-github-app-1.1.25-1tb3cz5k.mjs +0 -149
  797. package/dist/chunks/install-slack-app-1.1.25-vsp3sc6d.mjs +0 -1
  798. package/dist/chunks/instrumentation-1.1.25-e9arjmhp.mjs +0 -1
  799. package/dist/chunks/interactiveHelpers-1.1.25-dvn7nkzf.mjs +0 -1
  800. package/dist/chunks/keybindings-1.1.25-7tf4nkft.mjs +0 -2
  801. package/dist/chunks/knowledge-1.1.25-gchxmcv2.mjs +0 -2
  802. package/dist/chunks/latestVersionCache-1.1.25-gzy09f8s.mjs +0 -1
  803. package/dist/chunks/loadAgentsDir-1.1.25-3fvea40c.mjs +0 -1
  804. package/dist/chunks/loadPluginHooks-1.1.25-1b1z5t2x.mjs +0 -1
  805. package/dist/chunks/log-1.1.25-rhpcv45j.mjs +0 -1
  806. package/dist/chunks/main-1.1.25-hpaj9gzw.mjs +0 -1
  807. package/dist/chunks/managedEnv-1.1.25-19sxqzbj.mjs +0 -1
  808. package/dist/chunks/mcp-1.1.25-bkgk2vye.mjs +0 -1
  809. package/dist/chunks/mcp-1.1.25-n5bde32b.mjs +0 -17
  810. package/dist/chunks/mcp-1.1.25-wsfk73n2.mjs +0 -4
  811. package/dist/chunks/mcpb-1.1.25-jwd1ff98.mjs +0 -1
  812. package/dist/chunks/memory-1.1.25-ae4515h6.mjs +0 -72
  813. package/dist/chunks/model-1.1.25-kdc32s97.mjs +0 -1
  814. package/dist/chunks/model-1.1.25-x3hpj8mx.mjs +0 -2
  815. package/dist/chunks/node-1.1.25-bmakbgcc.mjs +0 -15
  816. package/dist/chunks/oauth-1.1.25-dpw2v0gf.mjs +0 -1
  817. package/dist/chunks/openaiShim-1.1.25-frxz7cxz.mjs +0 -14
  818. package/dist/chunks/output-style-1.1.25-ja0xn44t.mjs +0 -1
  819. package/dist/chunks/package-SHMK2LJE-1.1.25-n5senjea.mjs +0 -1
  820. package/dist/chunks/parseConnectUrl-1.1.25-2w1mb832.mjs +0 -1
  821. package/dist/chunks/parser-1.1.25-226xm2zk.mjs +0 -1
  822. package/dist/chunks/passes-1.1.25-3pbcz45a.mjs +0 -1
  823. package/dist/chunks/permissions-1.1.25-3yb8c211.mjs +0 -1
  824. package/dist/chunks/permissions-1.1.25-g8395q9y.mjs +0 -3
  825. package/dist/chunks/plan-1.1.25-335rgqar.mjs +0 -1
  826. package/dist/chunks/plist-1.1.25-4gx9kzb9.mjs +0 -1
  827. package/dist/chunks/plugin-1.1.25-7twsr9qb.mjs +0 -29
  828. package/dist/chunks/pluginStartupCheck-1.1.25-h43rcveq.mjs +0 -1
  829. package/dist/chunks/plugins-1.1.25-36r120jp.mjs +0 -9
  830. package/dist/chunks/preActionHook-1.1.25-mq77hmkq.mjs +0 -2
  831. package/dist/chunks/print-1.1.25-nyqwpaw6.mjs +0 -57
  832. package/dist/chunks/process-1.1.25-40rkvfxz.mjs +0 -1
  833. package/dist/chunks/processBashCommand-1.1.25-4rt9wd52.mjs +0 -1
  834. package/dist/chunks/processSlashCommand-1.1.25-50jz8vq4.mjs +0 -9
  835. package/dist/chunks/prompt-1.1.25-ab2m25ry.mjs +0 -1
  836. package/dist/chunks/prompt-1.1.25-tsf93p18.mjs +0 -1
  837. package/dist/chunks/prompts-1.1.25-7asah358.mjs +0 -1
  838. package/dist/chunks/protocolHandler-1.1.25-fjma0898.mjs +0 -13
  839. package/dist/chunks/provider-1.1.25-jcm6xct3.mjs +0 -2
  840. package/dist/chunks/providerProfiles-1.1.25-86yene25.mjs +0 -1
  841. package/dist/chunks/providerValidation-1.1.25-gbve71cz.mjs +0 -6
  842. package/dist/chunks/rate-limit-options-1.1.25-n6v741p7.mjs +0 -1
  843. package/dist/chunks/registerSubcommands-1.1.25-d988tp7q.mjs +0 -26
  844. package/dist/chunks/registry-1.1.25-jda5me4n.mjs +0 -1
  845. package/dist/chunks/release-notes-1.1.25-depx979r.mjs +0 -5
  846. package/dist/chunks/reload-plugins-1.1.25-nc27sfgy.mjs +0 -2
  847. package/dist/chunks/remote-env-1.1.25-adtemst2.mjs +0 -1
  848. package/dist/chunks/remoteBridgeCore-1.1.25-vyw0r3a7.mjs +0 -1
  849. package/dist/chunks/remoteSession-1.1.25-f1hb7zcj.mjs +0 -1
  850. package/dist/chunks/rename-1.1.25-r9khtthn.mjs +0 -1
  851. package/dist/chunks/replBridgeHandle-1.1.25-5tbm27ae.mjs +0 -1
  852. package/dist/chunks/replLauncher-1.1.25-dy1jxrha.mjs +0 -1
  853. package/dist/chunks/resume-1.1.25-qcctpvst.mjs +0 -2
  854. package/dist/chunks/rewind-1.1.25-2tpvsdz2.mjs +0 -1
  855. package/dist/chunks/rootOptions-1.1.25-6gjd4t0k.mjs +0 -1
  856. package/dist/chunks/runWorkflowHeadless-1.1.25-1x11b1xy.mjs +0 -10
  857. package/dist/chunks/sandbox-adapter-1.1.25-2qsj3g4r.mjs +0 -1
  858. package/dist/chunks/sandbox-toggle-1.1.25-tn86q9kj.mjs +0 -1
  859. package/dist/chunks/session-1.1.25-tpnhf7nk.mjs +0 -2
  860. package/dist/chunks/sessionDiscovery-1.1.25-z48aepj2.mjs +0 -1
  861. package/dist/chunks/sessionFileAccessHooks-1.1.25-w9mqv7x2.mjs +0 -1
  862. package/dist/chunks/sessionStorage-1.1.25-f61wmxkh.mjs +0 -1
  863. package/dist/chunks/settings-1.1.25-5f0ye0zf.mjs +0 -1
  864. package/dist/chunks/setup-1.1.25-hq096wz8.mjs +0 -12
  865. package/dist/chunks/sinks-1.1.25-k89ee9jd.mjs +0 -1
  866. package/dist/chunks/skills-1.1.25-zny3acfm.mjs +0 -1
  867. package/dist/chunks/startupProfiler-1.1.25-jrb54jgv.mjs +0 -1
  868. package/dist/chunks/startupUpdateCheck-1.1.25-0e8arnxt.mjs +0 -1
  869. package/dist/chunks/state-1.1.25-2f0mn1s8.mjs +0 -1
  870. package/dist/chunks/stats-1.1.25-w4v85n4m.mjs +0 -1
  871. package/dist/chunks/status-1.1.25-vyxf29s0.mjs +0 -1
  872. package/dist/chunks/stickers-1.1.25-db9b5d86.mjs +0 -1
  873. package/dist/chunks/subprocessEnv-1.1.25-b06h7dn5.mjs +0 -1
  874. package/dist/chunks/tasks-1.1.25-d44s3czy.mjs +0 -1
  875. package/dist/chunks/teamHelpers-1.1.25-yy2zwqy3.mjs +0 -1
  876. package/dist/chunks/teammateModeSnapshot-1.1.25-45w75v4y.mjs +0 -1
  877. package/dist/chunks/teleport-1.1.25-5be1s310.mjs +0 -1
  878. package/dist/chunks/terminalSetup-1.1.25-b5a4adgd.mjs +0 -1
  879. package/dist/chunks/theme-1.1.25-wkyf9b5k.mjs +0 -1
  880. package/dist/chunks/thinkback-1.1.25-6575xnpn.mjs +0 -1
  881. package/dist/chunks/thinkback-play-1.1.25-amw47kg0.mjs +0 -1
  882. package/dist/chunks/toolPool-1.1.25-h7pp3y85.mjs +0 -1
  883. package/dist/chunks/toolSearch-1.1.25-brpn0e66.mjs +0 -1
  884. package/dist/chunks/tools-1.1.25-t4rr3y1m.mjs +0 -1
  885. package/dist/chunks/trustedDevice-1.1.25-dgx4z9gb.mjs +0 -1
  886. package/dist/chunks/turndown.cjs-1.1.25-9c24hgzw.mjs +0 -69
  887. package/dist/chunks/types-1.1.25-tj3y8ycy.mjs +0 -1
  888. package/dist/chunks/ultrareviewCommand-1.1.25-kj7js02p.mjs +0 -4
  889. package/dist/chunks/update-1.1.25-fn4tnxnw.mjs +0 -72
  890. package/dist/chunks/upgrade-1.1.25-zd805a6y.mjs +0 -1
  891. package/dist/chunks/upload-1.1.25-nhsynsbb.mjs +0 -7
  892. package/dist/chunks/upstreamproxy-1.1.25-bh4an4es.mjs +0 -14
  893. package/dist/chunks/url-handler-napi-1.1.25-z7v66h19.mjs +0 -1
  894. package/dist/chunks/usage-1.1.25-0frq9der.mjs +0 -1
  895. package/dist/chunks/util-1.1.25-hqbcvpk3.mjs +0 -1
  896. package/dist/chunks/utils-1.1.25-mqy166xe.mjs +0 -1
  897. package/dist/chunks/vim-1.1.25-0gnwfzcy.mjs +0 -1
  898. package/dist/chunks/watchLoop-1.1.25-dnpy6c6e.mjs +0 -13
  899. package/dist/chunks/watcher-1.1.25-43n00zw0.mjs +0 -1
  900. package/dist/chunks/wiki-1.1.25-mvay6amg.mjs +0 -132
  901. package/dist/chunks/workflows-1.1.25-a2drn8b3.mjs +0 -1
  902. package/dist/chunks/worktree-1.1.25-cghd8r64.mjs +0 -1
  903. package/dist/chunks/worktreeModeEnabled-1.1.25-a15vww7v.mjs +0 -1
  904. package/dist/chunks/wrapper-1.1.25-chacpj74.mjs +0 -7
  905. /package/dist/chunks/{cli-1.1.25-r2a8d0xg.mjs → cli-1.1.26-6g0bq6h6.mjs} +0 -0
  906. /package/dist/chunks/{cli-1.1.25-k9qcf2mf.mjs → cli-1.1.26-7q7jw0ck.mjs} +0 -0
  907. /package/dist/chunks/{cli-1.1.25-hdgk2770.mjs → cli-1.1.26-nqygxkhw.mjs} +0 -0
  908. /package/dist/chunks/{cli-1.1.25-cpt1h3j8.mjs → cli-1.1.26-rbz29dt9.mjs} +0 -0
  909. /package/dist/chunks/{cli-1.1.25-s9sv7xk9.mjs → cli-1.1.26-sgj6knz9.mjs} +0 -0
  910. /package/dist/chunks/{cli-1.1.25-ctfh8503.mjs → cli-1.1.26-t8fgt5kw.mjs} +0 -0
@@ -0,0 +1,2 @@
1
+ import{cua as V}from"./cli-1.1.26-zb5hq3ry.mjs";var k0,b;var T=V(()=>{k0=typeof global=="object"&&global&&global.Object===Object&&global,b=k0});var m0,y0,K;var z=V(()=>{T();m0=typeof self=="object"&&self&&self.Object===Object&&self,y0=b||m0||Function("return this")(),K=y0});var l0,B;var x=V(()=>{z();l0=K.Symbol,B=l0});function c0(q){var Z=v0.call(q,N),Q=q[N];try{q[N]=void 0;var Y=!0}catch(L){}var A=u0.call(q);if(Y)if(Z)q[N]=Q;else delete q[N];return A}var j,v0,u0,N,C;var f=V(()=>{x();j=Object.prototype,v0=j.hasOwnProperty,u0=j.toString,N=B?B.toStringTag:void 0;C=c0});function i0(q){return o0.call(q)}var h0,o0,g;var d=V(()=>{h0=Object.prototype,o0=h0.toString;g=i0});function s0(q){if(q==null)return q===void 0?r0:n0;return p&&p in Object(q)?C(q):g(q)}var n0="[object Null]",r0="[object Undefined]",p,k;var m=V(()=>{x();f();d();p=B?B.toStringTag:void 0;k=s0});function t0(q){var Z=typeof q;return q!=null&&(Z=="object"||Z=="function")}var G;var O=V(()=>{G=t0});function Qq(q){if(!G(q))return!1;var Z=k(q);return Z==e0||Z==qq||Z==a0||Z==Zq}var a0="[object AsyncFunction]",e0="[object Function]",qq="[object GeneratorFunction]",Zq="[object Proxy]",y;var l=V(()=>{m();O();y=Qq});var Vq,I;var v=V(()=>{z();Vq=K["__core-js_shared__"],I=Vq});function Yq(q){return!!u&&u in q}var u,c;var h=V(()=>{v();u=function(){var q=/[^.]+$/.exec(I&&I.keys&&I.keys.IE_PROTO||"");return q?"Symbol(src)_1."+q:""}();c=Yq});function Xq(q){if(q!=null){try{return Wq.call(q)}catch(Z){}try{return q+""}catch(Z){}}return""}var $q,Wq,o;var i=V(()=>{$q=Function.prototype,Wq=$q.toString;o=Xq});function Nq(q){if(!G(q)||c(q))return!1;var Z=y(q)?Lq:Bq;return Z.test(o(q))}var Kq,Bq,Jq,Uq,Eq,Aq,Lq,n;var r=V(()=>{l();h();O();i();Kq=/[\\^$.*+?()[\]{}|]/g,Bq=/^\[object .+?Constructor\]$/,Jq=Function.prototype,Uq=Object.prototype,Eq=Jq.toString,Aq=Uq.hasOwnProperty,Lq=RegExp("^"+Eq.call(Aq).replace(Kq,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");n=Nq});function wq(q,Z){return q==null?void 0:q[Z]}var s;var t=V(()=>{s=wq});function Fq(q,Z){var Q=s(q,Z);return n(Q)?Q:void 0}var D;var R=V(()=>{r();t();D=Fq});var Pq,$;var w=V(()=>{R();Pq=D(Object,"create"),$=Pq});function zq(){this.__data__=$?$(null):{},this.size=0}var a;var e=V(()=>{w();a=zq});function Gq(q){var Z=this.has(q)&&delete this.__data__[q];return this.size-=Z?1:0,Z}var q0;var Z0=V(()=>{q0=Gq});function Oq(q){var Z=this.__data__;if($){var Q=Z[q];return Q===Iq?void 0:Q}return xq.call(Z,q)?Z[q]:void 0}var Iq="__lodash_hash_undefined__",Dq,xq,Q0;var V0=V(()=>{w();Dq=Object.prototype,xq=Dq.hasOwnProperty;Q0=Oq});function Mq(q){var Z=this.__data__;return $?Z[q]!==void 0:Hq.call(Z,q)}var Rq,Hq,Y0;var $0=V(()=>{w();Rq=Object.prototype,Hq=Rq.hasOwnProperty;Y0=Mq});function Sq(q,Z){var Q=this.__data__;return this.size+=this.has(q)?0:1,Q[q]=$&&Z===void 0?_q:Z,this}var _q="__lodash_hash_undefined__",W0;var X0=V(()=>{w();W0=Sq});function J(q){var Z=-1,Q=q==null?0:q.length;this.clear();while(++Z<Q){var Y=q[Z];this.set(Y[0],Y[1])}}var H;var K0=V(()=>{e();Z0();V0();$0();X0();J.prototype.clear=a;J.prototype.delete=q0;J.prototype.get=Q0;J.prototype.has=Y0;J.prototype.set=W0;H=J});function bq(){this.__data__=[],this.size=0}var B0;var J0=V(()=>{B0=bq});function Tq(q,Z){return q===Z||q!==q&&Z!==Z}var U0;var E0=V(()=>{U0=Tq});function jq(q,Z){var Q=q.length;while(Q--)if(U0(q[Q][0],Z))return Q;return-1}var W;var F=V(()=>{E0();W=jq});function gq(q){var Z=this.__data__,Q=W(Z,q);if(Q<0)return!1;var Y=Z.length-1;if(Q==Y)Z.pop();else fq.call(Z,Q,1);return--this.size,!0}var Cq,fq,A0;var L0=V(()=>{F();Cq=Array.prototype,fq=Cq.splice;A0=gq});function dq(q){var Z=this.__data__,Q=W(Z,q);return Q<0?void 0:Z[Q][1]}var N0;var w0=V(()=>{F();N0=dq});function pq(q){return W(this.__data__,q)>-1}var F0;var P0=V(()=>{F();F0=pq});function kq(q,Z){var Q=this.__data__,Y=W(Q,q);if(Y<0)++this.size,Q.push([q,Z]);else Q[Y][1]=Z;return this}var z0;var G0=V(()=>{F();z0=kq});function U(q){var Z=-1,Q=q==null?0:q.length;this.clear();while(++Z<Q){var Y=q[Z];this.set(Y[0],Y[1])}}var I0;var D0=V(()=>{J0();L0();w0();P0();G0();U.prototype.clear=B0;U.prototype.delete=A0;U.prototype.get=N0;U.prototype.has=F0;U.prototype.set=z0;I0=U});var mq,x0;var O0=V(()=>{R();z();mq=D(K,"Map"),x0=mq});function yq(){this.size=0,this.__data__={hash:new H,map:new(x0||I0),string:new H}}var R0;var H0=V(()=>{K0();D0();O0();R0=yq});function lq(q){var Z=typeof q;return Z=="string"||Z=="number"||Z=="symbol"||Z=="boolean"?q!=="__proto__":q===null}var M0;var _0=V(()=>{M0=lq});function vq(q,Z){var Q=q.__data__;return M0(Z)?Q[typeof Z=="string"?"string":"hash"]:Q.map}var X;var P=V(()=>{_0();X=vq});function uq(q){var Z=X(this,q).delete(q);return this.size-=Z?1:0,Z}var S0;var b0=V(()=>{P();S0=uq});function cq(q){return X(this,q).get(q)}var T0;var j0=V(()=>{P();T0=cq});function hq(q){return X(this,q).has(q)}var C0;var f0=V(()=>{P();C0=hq});function oq(q,Z){var Q=X(this,q),Y=Q.size;return Q.set(q,Z),this.size+=Q.size==Y?0:1,this}var g0;var d0=V(()=>{P();g0=oq});function E(q){var Z=-1,Q=q==null?0:q.length;this.clear();while(++Z<Q){var Y=q[Z];this.set(Y[0],Y[1])}}var M;var p0=V(()=>{H0();b0();j0();f0();d0();E.prototype.clear=R0;E.prototype.delete=S0;E.prototype.get=T0;E.prototype.has=C0;E.prototype.set=g0;M=E});function _(q,Z){if(typeof q!="function"||Z!=null&&typeof Z!="function")throw TypeError(iq);var Q=function(){var Y=arguments,A=Z?Z.apply(this,Y):Y[0],L=Q.cache;if(L.has(A))return L.get(A);var S=q.apply(this,Y);return Q.cache=L.set(A,S)||L,S};return Q.cache=new(_.Cache||M),Q}var iq="Expected a function",j6;var nq=V(()=>{p0();_.Cache=M;j6=_});
2
+ export{U0 as isa,E0 as jsa,I0 as ksa,D0 as lsa,b as msa,T as nsa,K as osa,z as psa,B as qsa,x as rsa,k as ssa,m as tsa,G as usa,O as vsa,y as wsa,l as xsa,o as ysa,i as zsa,D as Asa,R as Bsa,x0 as Csa,O0 as Dsa,M as Esa,p0 as Fsa,j6 as Gsa,nq as Hsa};
@@ -0,0 +1,2 @@
1
+ import{w9 as v,x9 as C}from"./cli-1.1.26-tgtv1jp3.mjs";import{Gga as x,Hga as Y,ffa as Z,gfa as V}from"./cli-1.1.26-mvjefec1.mjs";import{Lia as R,Pia as W,Xia as O}from"./cli-1.1.26-chwpygff.mjs";import{Gka as Q,Hka as M}from"./cli-1.1.26-hk66nk4j.mjs";import{Lla as f,Ola as L,ola as P,tla as I}from"./cli-1.1.26-nr4x1ay3.mjs";import{jma as w,qma as H}from"./cli-1.1.26-7ssnr221.mjs";import{Gsa as N,Hsa as F}from"./cli-1.1.26-jz95bmqy.mjs";import{Cta as U,kta as X}from"./cli-1.1.26-hxty6b5t.mjs";import{$ta as h,cua as B}from"./cli-1.1.26-zb5hq3ry.mjs";import{hostname as E}from"os";function $(){return R(G,!1)}function u(){if(!$())return;return y()}function n(){y.cache?.clear?.()}function o(){if(!$())return;let i=x();try{let q=i.read();if(q?.trustedDeviceToken)delete q.trustedDeviceToken,i.update(q)}catch{}y.cache?.clear?.()}async function t(){try{if(!await W(G)){f(`[trusted-device] Gate ${G} is off, skipping enrollment`);return}if(process.env.CLAUDE_TRUSTED_DEVICE_TOKEN){f("[trusted-device] CLAUDE_TRUSTED_DEVICE_TOKEN env var is set, skipping enrollment (env var takes precedence)");return}let{getClaudeAIOAuthTokens:i}=(C(),h(v)),q=i()?.accessToken;if(!q){f("[trusted-device] No OAuth token, skipping enrollment");return}let J=x();if(Z()){f("[trusted-device] Essential traffic only, skipping enrollment");return}let b=Q().BASE_API_URL,m;try{m=await X.post(`${b}/api/auth/trusted_devices`,{display_name:`Claude Code on ${E()} · ${process.platform}`},{headers:{Authorization:`Bearer ${q}`,"Content-Type":"application/json"},timeout:1e4,validateStatus:(j)=>j<500})}catch(j){f(`[trusted-device] Enrollment request failed: ${w(j)}`);return}if(m.status!==200&&m.status!==201){f(`[trusted-device] Enrollment failed ${m.status}: ${P(m.data).slice(0,200)}`);return}let z=m.data?.device_token;if(!z||typeof z!=="string"){f("[trusted-device] Enrollment response missing device_token field");return}try{let j=J.read();if(!j){f("[trusted-device] Cannot read storage, skipping token persist");return}j.trustedDeviceToken=z;let K=J.update(j);if(!K.success){f(`[trusted-device] Failed to persist token: ${K.warning??"unknown"}`);return}y.cache?.clear?.(),f(`[trusted-device] Enrolled device_id=${m.data.device_id??"unknown"}`)}catch(j){f(`[trusted-device] Storage write failed: ${w(j)}`)}}catch(i){f(`[trusted-device] Enrollment error: ${w(i)}`)}}var G="tengu_sessions_elevated_auth_enforcement",y;var d=B(()=>{U();F();M();O();L();H();V();Y();I();y=N(()=>{let i=process.env.CLAUDE_TRUSTED_DEVICE_TOKEN;if(i)return i;return x().read()?.trustedDeviceToken})});
2
+ export{u as iX,n as jX,o as kX,t as lX,d as mX};
@@ -0,0 +1,2 @@
1
+ import{cua as s}from"./cli-1.1.26-zb5hq3ry.mjs";function c(){return"claude-code/99.0.0"}function i(){let e=process.env.CLAUDE_CODE_ENTRYPOINT??"cli",n=process.env.CLAUDE_AGENT_SDK_VERSION?`, agent-sdk/${process.env.CLAUDE_AGENT_SDK_VERSION}`:"",t=process.env.CLAUDE_AGENT_SDK_CLIENT_APP?`, client-app/${process.env.CLAUDE_AGENT_SDK_CLIENT_APP}`:"";return`claudin/1.1.26 (${e}${n}${t})`}var r=()=>{};
2
+ export{c as Z4,i as _4,r as $4};
@@ -0,0 +1,15 @@
1
+ import{g3 as qJ,j3 as VJ}from"./cli-1.1.26-g3eqp15d.mjs";import{Fha as q,Iea as $J,Jfa as w,Nha as u,Vea as AJ,fga as m,kca as U,mca as E,rca as ZJ,tca as TJ,vaa as YJ,w$ as W,waa as jJ,x$ as f}from"./cli-1.1.26-mvjefec1.mjs";import{Ika as F,Lka as xJ}from"./cli-1.1.26-n0thzakv.mjs";import{Bla as D,Lla as K,Ola as NJ,ola as b,pla as x,tla as P,xla as y}from"./cli-1.1.26-nr4x1ay3.mjs";import{Vla as QJ,kma as M,lma as B,oma as n,qma as T}from"./cli-1.1.26-7ssnr221.mjs";import{Ema as k,tma as O}from"./cli-1.1.26-dyyg0r9f.mjs";import{cua as j}from"./cli-1.1.26-zb5hq3ry.mjs";import{access as d,chmod as BJ,writeFile as GJ}from"fs/promises";import{homedir as h}from"os";import{join as v}from"path";function A(){return v(O(),"local")}function RJ(J=h()){return v(J,".claude","local")}function p(J){let Q=J?.homeDir??h(),Y=J?.configHomeDir??O();return Array.from(new Set([v(Y,"local"),RJ(Q)]))}function c(J){return[v(J,"node_modules",".bin","claudin"),v(J,"node_modules",".bin","claude")]}function _J(J){let Q=J.replace(/\\+/g,"/");return Q.includes("/.claudin/local/node_modules/")||Q.includes("/.claude/local/node_modules/")}function V(){return v(A(),"claudin")}function rJ(){return _J(U())}async function I(J,Q,Y){try{return await GJ(J,Q,{encoding:"utf8",flag:"wx",mode:Y}),!0}catch(Z){if(M(Z)==="EEXIST")return!1;throw Z}}async function OJ(){try{let J=A();await y().mkdir(J),await I(v(J,"package.json"),b({name:"claudin-local",version:"0.0.1",private:!0},null,2));let Q=V();if(await I(Q,`#!/bin/sh
2
+ exec "${J}/node_modules/.bin/claudin" "$@"`,493))await BJ(Q,493);return!0}catch(J){return q(J),!1}}async function JQ(J,Q){try{if(!await OJ())return"install_failed";let Z=await W("npm",["install",`@claudiolabs/claudin@${Q?Q:J==="stable"?"stable":"latest"}`],{cwd:A(),maxBuffer:1e6});if(Z.code!==0){let $=Error(`Failed to install Claude CLI package: ${Z.stderr}`);return q($),Z.code===190?"in_progress":"install_failed"}return w(($)=>({...$,installMethod:"local"})),"success"}catch(Y){return q(Y),"install_failed"}}async function QQ(){for(let J of p())for(let Q of c(J))try{return await d(Q),!0}catch{}return!1}async function YQ(){for(let J of p())for(let Q of c(J))try{return await d(Q),J}catch{}return null}function ZQ(){let J=process.env.SHELL||"";if(J.includes("zsh"))return"zsh";if(J.includes("bash"))return"bash";if(J.includes("fish"))return"fish";return"unknown"}var g=j(()=>{E();m();k();T();f();D();u();P()});import{open as MJ,readFile as yJ,stat as UJ}from"fs/promises";import{homedir as t}from"os";import{join as C}from"path";function S(J){let Q=J?.homedir??t(),Z=(J?.env??process.env).ZDOTDIR||Q;return{zsh:C(Z,".zshrc"),bash:C(Q,".bashrc"),fish:C(Q,".config/fish/config.fish")}}function a(J){let Q=!1;return{filtered:J.filter((Z)=>{if(s.test(Z)){let $=Z.match(/alias\s+claude\s*=\s*["']([^"']+)["']/);if(!$)$=Z.match(/alias\s+claude\s*=\s*([^#\n]+)/);if($&&$[1]){if($[1].trim()===V())return Q=!0,!1}}return!0}),hadAlias:Q}}async function L(J){try{return(await yJ(J,{encoding:"utf8"})).split(`
3
+ `)}catch(Q){if(n(Q))return null;throw Q}}async function l(J,Q){let Y=await MJ(J,"w");try{await Y.writeFile(Q.join(`
4
+ `),{encoding:"utf8"}),await Y.datasync()}finally{await Y.close()}}async function wJ(J){let Q=S(J);for(let Y of Object.values(Q)){let Z=await L(Y);if(!Z)continue;for(let $ of Z)if(s.test($)){let X=$.match(/alias\s+claude=["']?([^"'\s]+)/);if(X&&X[1])return X[1]}}return null}async function HQ(J){let Q=await wJ(J);if(!Q)return null;let Y=J?.homedir??t(),Z=Q.startsWith("~")?Q.replace("~",Y):Q;try{let $=await UJ(Z);if($.isFile()||$.isSymbolicLink())return Q}catch{}return null}var s;var o=j(()=>{T();g();s=/^\s*alias\s+claude\s*=/});import{constants as KJ}from"fs";import{access as WJ,readFile as CJ,stat as SJ,writeFile as i}from"fs/promises";import{homedir as z}from"os";import{join as H}from"path";function LJ(){let J=U();if(J.includes("/.bun/install/global/"))return!0;let Q=process.env.BUN_INSTALL;if(Q&&J.startsWith(Q))return!0;return!1}function XJ(){return LJ()?"bun":"npm"}function zJ(){let J=process.env.BUN_INSTALL||H(z(),".bun");return H(J,"install","global","node_modules","@claudiolabs/claudin")}async function kJ(){let J=await W("npm",["-g","config","get","prefix"],{cwd:z()});if(J.code!==0)return null;let Q=J.stdout.trim();if(!Q)return null;return YJ()==="windows"?H(Q,"node_modules","@claudiolabs/claudin"):H(Q,"lib","node_modules","@claudiolabs/claudin")}async function e(J){try{let Q=await CJ(H(J,"package.json"),"utf8"),Y=x(Q);return typeof Y.version==="string"?Y.version:null}catch(Q){if(!B(Q))q(Q);return null}}function r(J){return J==="bun"?Promise.resolve(zJ()):kJ()}async function bJ(J,Q,Y){let Z=J==="npm"?"bun":"npm",$=await r(Z);if(!$)return;let X=await e($);if(!X)return;let R=await r(J),_=R?await e(R):null;if(_&&X===_)return;K(`update: repairing stale ${Z} install ${X} at ${$}`);let N=await W(Z,Z==="npm"?["install","-g","--force",Q]:["install","-g",Q],{cwd:z()});if(N.code!==0){q(new G(`Failed to refresh the ${Z} global install at ${$}: ${N.stdout} ${N.stderr}`));return}if(Z==="bun")await HJ();Y?.(`Repaired old version ${X} at ${$}`)}async function PJ(J,Q){let Y=await W("node",[J],{cwd:Q});if(Y.code===0)return!0;if(!IJ.test(Y.error??""))return q(new G(`Skipped postinstall failed under node: ${Y.stdout} ${Y.stderr}`)),!1;let Z=await W("bun",[J],{cwd:Q});if(Z.code===0)return!0;return q(new G(`Skipped postinstall failed under bun: ${Z.stdout} ${Z.stderr}`)),!1}async function HJ(){let J=zJ(),Q=H(J,"install.cjs"),Y=H(J,"bin","claudin.exe");try{await WJ(Q,KJ.F_OK)}catch(Z){if(!B(Z))q(Z);return!1}try{if((await SJ(Y)).size>FJ)return!1}catch(Z){if(!B(Z))return q(Z),!1}if(!await PJ(Q,J))return!1;return K("update: repaired Bun global launcher via install.cjs"),!0}async function IQ(){}async function kQ(){return}async function bQ(){return}function PQ(J){let Y=$J()?.minimumVersion;if(!Y)return!1;let Z=!qJ(J,Y);if(Z)K(`Skipping update to ${J} - below minimumVersion ${Y}`);return Z}function vJ(){return H(O(),".update.lock")}async function DJ(){let J=y(),Q=vJ();try{let Y=await J.stat(Q);if(Date.now()-Y.mtimeMs<JJ)return!1;try{let $=await J.stat(Q);if(Date.now()-$.mtimeMs<JJ)return!1;await J.unlink(Q)}catch($){if(!B($))return q($),!1}}catch(Y){if(!B(Y))return q(Y),!1}try{return await i(Q,`${process.pid}`,{encoding:"utf8",flag:"wx"}),!0}catch(Y){let Z=M(Y);if(Z==="EEXIST")return!1;if(Z==="ENOENT")try{return await J.mkdir(O()),await i(Q,`${process.pid}`,{encoding:"utf8",flag:"wx"}),!0}catch($){if(M($)==="EEXIST")return!1;return q($),!1}return q(Y),!1}}async function fJ(){let J=y(),Q=vJ();try{if(await J.readFile(Q,{encoding:"utf8"})===`${process.pid}`)await J.unlink(Q)}catch(Y){if(B(Y))return;q(Y)}}async function EJ(){let J=XJ()==="bun",Q=null;if(J)Q=await W("bun",["pm","bin","-g"],{cwd:z()});else Q=await W("npm",["-g","config","get","prefix"],{cwd:z()});if(Q.code!==0)return q(Error(`Failed to check ${J?"bun":"npm"} permissions`)),null;return Q.stdout.trim()}async function mJ(){try{let J=await EJ();if(!J)return{hasPermissions:!1,npmPrefix:null};try{return await WJ(J,KJ.W_OK),{hasPermissions:!0,npmPrefix:J}}catch{return q(new G("Insufficient permissions for global npm install.")),{hasPermissions:!1,npmPrefix:J}}}catch(J){return q(J),{hasPermissions:!1,npmPrefix:null}}}async function DQ(J,Q={}){let Y=J==="stable"?"stable":"latest",Z=Q.timeoutMs??5000,$=await W("npm",["view",`@claudiolabs/claudin@${Y}`,"version","--prefer-online"],{abortSignal:AbortSignal.timeout(Z),cwd:z()});if($.code!==0){if(K(`npm view failed with code ${$.code}`),$.stderr)K(`npm stderr: ${$.stderr.trim()}`);else K("npm stderr: (empty)");if($.stdout)K(`npm stdout: ${$.stdout.trim()}`);return null}return $.stdout.trim()}async function fQ(){let J=await W("npm",["view","@claudiolabs/claudin","dist-tags","--json","--prefer-online"],{abortSignal:AbortSignal.timeout(5000),cwd:z()});if(J.code!==0)return K(`npm view dist-tags failed with code ${J.code}`),{latest:null,stable:null};try{let Q=x(J.stdout.trim());return{latest:typeof Q.latest==="string"?Q.latest:null,stable:typeof Q.stable==="string"?Q.stable:null}}catch(Q){return K(`Failed to parse dist-tags: ${Q}`),{latest:null,stable:null}}}async function EQ(J){return null}async function mQ(){return{latest:null,stable:null}}async function uQ(J){let Y=await W("npm",["view","@claudiolabs/claudin","versions","--json","--prefer-online"],{abortSignal:AbortSignal.timeout(30000),cwd:z()});if(Y.code!==0){if(K(`npm view versions failed with code ${Y.code}`),Y.stderr)K(`npm stderr: ${Y.stderr.trim()}`);return[]}try{return x(Y.stdout.trim()).slice(-J).reverse()}catch(Z){return K(`Failed to parse version history: ${Z}`),[]}}async function dQ(J,Q){if(!await DJ())return q(new G("Another process is currently installing an update")),F("",{pid:process.pid,currentVersion:"99.0.0"}),"in_progress";try{await uJ();let Y=XJ();if(Y==="npm"&&ZJ.isNpmFromWindowsPath())return q(Error("Windows NPM detected in WSL environment")),F("",{currentVersion:"99.0.0"}),console.error(`
5
+ Error: Windows NPM detected in WSL
6
+
7
+ You're running Claudin in WSL but using the Windows NPM installation from /mnt/c/.
8
+ This configuration is not supported for updates.
9
+
10
+ To fix this issue:
11
+ 1. Install Node.js within your Linux distribution: e.g. sudo apt install nodejs npm
12
+ 2. Make sure Linux NPM is in your PATH before the Windows version
13
+ 3. Try updating again with 'claudin update'
14
+ `),"install_failed";let{hasPermissions:Z}=await mJ();if(!Z)return"no_permissions";let $=J?`@claudiolabs/claudin@${J}`:"@claudiolabs/claudin",R=await W(Y,Y==="npm"?["install","-g","--force",$]:["install","-g",$],{cwd:z()});if(R.code!==0){let _=new G(`Failed to install new version of claude: ${R.stdout} ${R.stderr}`);return q(_),"install_failed"}return await HJ(),await bJ(Y,$,Q?.onProgress),w((_)=>({..._,installMethod:"global"})),"success"}finally{await fJ()}}async function uJ(){let J=S();for(let[,Q]of Object.entries(J))try{let Y=await L(Q);if(!Y)continue;let{filtered:Z,hadAlias:$}=a(Y);if($)await l(Q,Z),K(`Removed claude alias from ${Q}`)}catch(Y){K(`Failed to remove alias from ${Q}: ${Y}`,{level:"error"})}}var G,FJ=4096,IJ,JJ=300000;var dJ=j(()=>{xJ();E();m();NJ();TJ();k();T();f();D();u();jJ();VJ();AJ();o();P();G=class G extends QJ{};IJ=/ENOENT/i});
15
+ export{rJ as RU,JQ as SU,QQ as TU,YQ as UU,ZQ as VU,g as WU,S as XU,a as YU,L as ZU,l as _U,wJ as $U,HQ as aV,o as bV,zJ as cV,HJ as dV,IQ as eV,kQ as fV,bQ as gV,PQ as hV,vJ as iV,mJ as jV,DQ as kV,fQ as lV,EQ as mV,mQ as nV,uQ as oV,dQ as pV,dJ as qV};
@@ -0,0 +1,2 @@
1
+ import{Xh as e,_h as fq}from"./cli-1.1.26-yz9ks5m0.mjs";import{$h as t,bi as Hq}from"./cli-1.1.26-3k8e9a3k.mjs";import{IG as r,JG as kq,SG as n,TG as Mq,qo as S,rP as o,ro as Nq,sP as s,so as g,tP as Oq,to as Vq,uo as $,vo as Wq,yo as i,zo as Yq}from"./cli-1.1.26-kvt0v6vq.mjs";import{dZ as u,fZ as Zq}from"./cli-1.1.26-j0pfn318.mjs";import{E1 as M,G1 as F,Y1 as c,Z1 as Uq,f0 as Qq,j2 as Xq}from"./cli-1.1.26-nv2mgz6h.mjs";import{M4 as L,N4 as R,O4 as l}from"./cli-1.1.26-qf02kggq.mjs";import{P4 as Lq}from"./cli-1.1.26-kz0et72d.mjs";import{e$ as a,f$ as Jq}from"./cli-1.1.26-mvjefec1.mjs";import{_ta as d,cua as Gq}from"./cli-1.1.26-zb5hq3ry.mjs";function qq(){let Z=T.c(1),q;if(Z[0]===Symbol.for("react.memo_cache_sentinel"))q=L(F,{dimColor:!0,children:"Claudin 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${a.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 _;if(q[6]===Symbol.for("react.memo_cache_sentinel"))_=(z)=>{let G=z.id+"/";w(G),Y(null)},q[6]=_;else _=q[6];let zq=_,m;if(q[7]!==X||q[8]!==N)m=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]=m;else m=q[9];let K=m,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=d(Qq(),1),H=d(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 Vh,Fq as Wh};
@@ -0,0 +1,50 @@
1
+ import{$c as sq,_c as K2}from"./cli-1.1.26-28qe790b.mjs";import{ad as V2,bd as X2,cd as a0,dd as y2,fd as rq}from"./cli-1.1.26-5p6865dd.mjs";import{gd as _0,jd as tq}from"./cli-1.1.26-zy2fcj67.mjs";import{Hh as m2,Ih as iq}from"./cli-1.1.26-w94mate8.mjs";import{Bq as iz,Eq as wz,Fq as Lq,Gq as Bz,Hq as jz,IG as L0,Iq as Oz,JG as t4,Jq as Uz,KI as r4,Kq as J0,LI as r2,Lq as X4,Mq as Fq,NI as nq,Nq as O4,OI as aq,Pq as Ez,Qq as $2,SG as C,Sq as uz,Sr as J2,TG as t2,Tr as lq,YG as U4,ZG as dq,ly as W2,mH as Wz,mq as Cz,nH as mq,nq as fz,ny as vq,oH as mz,oq as gz,pH as Vz,pq as xz,qH as Xz,qq as R2,rH as Vq,rq as G0,sq as K4,sx as Z2,tq as cz,tx as N2,uq as lz,ux as G2,vq as Iq,vx as Y2,wq as j4,wx as pq,yq as az,zq as Q2}from"./cli-1.1.26-kvt0v6vq.mjs";import{dZ as a,fZ as xq,rZ as z2,sZ as cq}from"./cli-1.1.26-j0pfn318.mjs";import{E1 as w,G1 as N,j2 as x4}from"./cli-1.1.26-nv2mgz6h.mjs";import{k3 as c4,l3 as l4,m3 as p4,n3 as v4,o3 as d4,p3 as i2,s3 as n4,w3 as a4,x3 as q2,y3 as i4}from"./cli-1.1.26-c1s0antn.mjs";import{L4 as N0,M4 as $,N4 as y,O4 as g0}from"./cli-1.1.26-qf02kggq.mjs";import{P4 as U0}from"./cli-1.1.26-kz0et72d.mjs";import{m5 as l0,n5 as Hz}from"./cli-1.1.26-ta82bxzt.mjs";import{D5 as g4,F5 as a2,O7 as gq,v7 as n0}from"./cli-1.1.26-tgtv1jp3.mjs";import{Dga as f4,Iga as W4,Jga as Jz,Kga as Zz,Lga as x0,Mga as m4,Nga as Nz,Oga as Y4,Pga as Gz,Qga as Yz,Rga as Wq,Sga as w4,Tga as Kz,Uga as B4,Wga as bz,Yga as ez,Zga as t0,e$ as F0,f$ as Aq,gga as oz,hga as M0,iga as Cq,jga as i0,kga as n,mga as v,nga as d0,nha as fq,pga as P0,qga as F4,rga as R0,sga as Q0,wga as $0,xga as M4,zga as _4}from"./cli-1.1.26-mvjefec1.mjs";import{Ema as c0,yma as t}from"./cli-1.1.26-dyyg0r9f.mjs";import{$ta as kq,_ta as O0,cua as d}from"./cli-1.1.26-zb5hq3ry.mjs";function o2(z,q=J4,R){let J=n().find((W)=>W.provider==="openai"&&W.extras?.githubToken!==void 0);if(J){if(!Q0(J.id,{provider:"openai",name:J.name,baseUrl:R||J.baseUrl,model:J.model||q,apiKey:z,extras:{...J.extras,githubToken:z}}))return{mode:"failed"};return $0(J.id),{mode:"updated"}}if(!R0({provider:"openai",name:"GitHub Copilot",baseUrl:R||s2,model:q,apiKey:z,extras:{githubToken:z}},{makeActive:!0}))return{mode:"failed"};return{mode:"created"}}function s4({onDone:z,onBack:q,onChangeAPIKey:R}){let J=n4()?.trim()?"already-authed":"menu",[G,W]=i.useState(J),[_,b]=i.useState(null),[M,K]=i.useState(""),[L,P]=i.useState(0),[U,T]=i.useState(null),h=i.useCallback(async(f,D=J4,Z0,I)=>{let p=a4(f,Z0,I?.enterpriseDomain);if(!p.success){b(p.warning??"Could not save token to secure storage."),W("error");return}if(o2(f,D,I?.baseUrl).mode==="failed"){b("Could not save the GitHub Copilot provider profile."),W("error");return}g4(),R?.(),z("GitHub Copilot onboard complete. Copilot token stored in secure storage and as the active /provider profile.",{display:"user"})},[R,z]),X=i.useCallback(async(f)=>{W("device-busy"),b(null),T(null);try{let D=await l4({domain:f});T({user_code:D.user_code,verification_uri:D.verification_uri}),await v4(D.verification_uri);let Z0=await p4(D.device_code,{initialInterval:D.interval,timeoutSeconds:D.expires_in,domain:f}),I=await d4(Z0,{domain:f});await h(I.token,J4,Z0,{baseUrl:I.endpoints.api?.replace(/\/+$/,"")||void 0,enterpriseDomain:f})}catch(D){b(D instanceof Error?D.message:String(D)),W("error")}},[h]);if(G==="already-authed")return y(w,{flexDirection:"column",gap:1,children:[$(N,{bold:!0,children:"GitHub Copilot"}),$(N,{children:"You are already signed in to GitHub Copilot."}),$(N,{dimColor:!0,children:'Choose "Sign in again" to refresh your token, or go back to the provider menu.'}),$(C,{options:[{label:"Sign in again",value:"sign-in-again"},{label:"Sign in with GitHub Enterprise",value:"enterprise"},{label:q?"Back to /provider menu":"Cancel",value:"back"}],onChange:(D)=>{if(D==="sign-in-again"){X();return}if(D==="enterprise"){W("enterprise-domain");return}if(q){q();return}z("GitHub onboard cancelled",{display:"system"})}})]});if(G==="enterprise-domain")return y(w,{flexDirection:"column",gap:1,children:[$(N,{bold:!0,children:"GitHub Enterprise sign-in"}),$(N,{dimColor:!0,children:"Enter your GitHub Enterprise domain (e.g. github.acme.com). Leave empty for github.com."}),y(w,{flexDirection:"row",gap:1,children:[$(N,{children:">"}),$(L0,{value:M,onChange:K,onSubmit:()=>{let D=c4(M);if(!D){X();return}X(D)},onExit:()=>W(J),focus:!0,showCursor:!0,placeholder:"github.acme.com",columns:80,cursorOffset:L,onChangeCursorOffset:P})]}),$(N,{dimColor:!0,children:"Press Enter to continue. Press Esc to go back."})]});if(G==="error"&&_)return y(w,{flexDirection:"column",gap:1,children:[$(N,{color:"error",children:_}),$(C,{options:[{label:q?"Back to /provider menu":"Back to menu",value:"back"},{label:"Exit",value:"exit"}],onChange:(D)=>{if(D==="back"){if(q){q();return}W("menu"),b(null);return}z("GitHub onboard cancelled",{display:"system"})}})]});if(G==="device-busy")return y(w,{flexDirection:"column",gap:1,children:[$(N,{children:"GitHub Copilot sign-in"}),U?y(N0,{children:[y(N,{children:["Enter code ",$(N,{bold:!0,children:U.user_code})," at"," ",U.verification_uri]}),$(N,{dimColor:!0,children:"A browser window may have opened. Waiting for authorization..."})]}):$(N,{dimColor:!0,children:"Requesting device code from GitHub..."}),$(r4,{})]});return y(w,{flexDirection:"column",gap:1,children:[$(N,{bold:!0,children:"GitHub Copilot setup"}),$(N,{dimColor:!0,children:"Stores your token in the OS credential store (macOS Keychain when available) and creates a /provider profile so Copilot is the active provider — no manual env exports required."}),$(C,{options:[{label:"Sign in with browser",value:"device"},{label:"Sign in with GitHub Enterprise",value:"enterprise"},{label:q?"Back to /provider menu":"Cancel",value:"cancel"}],onChange:(f)=>{if(f==="cancel"){if(q){q();return}z("GitHub onboard cancelled",{display:"system"});return}if(f==="enterprise"){W("enterprise-domain");return}X()}})]})}var i,J4="github:copilot",s2="https://api.githubcopilot.com";var o4=d(()=>{t2();r2();t4();x4();i2();i4();a2();f4();g0();i=O0(U0(),1)});function zz(z){return[z.name,z.family??"",...z.families??[],z.parameterSize??"",z.quantizationLevel??""].join(" ").toLowerCase()}function I0(z,q){return q.some((R)=>z.includes(R))}function Rq(z){return!I0(zz(z),e4)}function Qq(z){return z.find(Rq)??null}function Z4(z){let R=`${z.parameterSize??""} ${z.name}`.toLowerCase().match(/(\d+(?:\.\d+)?)\s*b\b/);if(R?.[1])return Number(R[1]);if(typeof z.sizeBytes==="number"&&z.sizeBytes>0)return Number((z.sizeBytes/1e9).toFixed(1));return null}function $q(z){return(z.quantizationLevel??z.name).toLowerCase()}function Jq(z,q,R){if(z===null)return R.push("unknown size"),0;if(q==="latency"){if(z<=4)return R.push("tiny model for low latency"),32;if(z<=8)return R.push("small model for fast responses"),26;if(z<=14)return R.push("mid-sized model with acceptable latency"),16;if(z<=24)return R.push("larger model may be slower"),8;return R.push("large model likely slower locally"),z<=40?0:-8}if(q==="coding"){if(z>=7&&z<=14)return R.push("strong coding size tier"),24;if(z>14&&z<=34)return R.push("large coding-capable size tier"),28;if(z>34)return R.push("very large model with higher quality potential"),18;return R.push("compact model may trade off coding depth"),12}if(z>=7&&z<=14)return R.push("great balanced size tier"),26;if(z>=3&&z<7)return R.push("compact balanced size tier"),18;if(z>14&&z<=24)return R.push("high quality balanced size tier"),20;if(z>24)return R.push("large model for quality-first usage"),10;return R.push("very small model for general usage"),8}function Zq(z,q,R){let J=$q(z);if(J.includes("q4"))return R.push("efficient Q4 quantization"),q==="latency"?8:4;if(J.includes("q5"))return R.push("balanced Q5 quantization"),q==="latency"?6:5;if(J.includes("q8"))return R.push("higher quality Q8 quantization"),q==="latency"?2:5;return 0}function Nq(z,q,R){if(q.score!==z.score)return q.score-z.score;let J=Z4(z)??Number.POSITIVE_INFINITY,G=Z4(q)??Number.POSITIVE_INFINITY;if(R==="latency")return J-G;if(R==="coding")return G-J;let W=14;return Math.abs(J-W)-Math.abs(G-W)}function N4(z,q){return z.map((R)=>{let J=zz(R),G=[],W=0;if(I0(J,e4))W-=40,G.push("not a chat-first model");if(I0(J,e2))W+=q==="coding"?24:q==="balanced"?10:4,G.push("coding-oriented model family");if(I0(J,zq))W+=q==="latency"?4:q==="coding"?6:8,G.push("strong general-purpose model family");if(I0(J,qq))W+=q==="latency"?2:6,G.push("chat/instruct tuned");if(J.includes("vision")||J.includes("vl"))W-=2,G.push("vision model adds extra overhead");W+=Jq(Z4(R),q,G),W+=Zq(R,q,G);let _=G.slice(0,3).join(", ");return{...R,score:W,reasons:G,summary:_}}).sort((R,J)=>Nq(R,J,q))}function qz(z,q){return Qq(N4(z,q))}var e2,zq,qq,e4;var Rz=d(()=>{e2=["coder","codellama","codegemma","codestral","devstral","starcoder","deepseek-coder","qwen2.5-coder","qwen-coder"],zq=["llama","qwen","mistral","gemma","phi","deepseek"],qq=["instruct","chat","assistant"],e4=["embed","embedding","rerank","bge","whisper"]});function Yq(z){let q=z.toLowerCase();return Gq.some((R)=>q.includes(R))}function G4(z){try{let q=new URL(z);if(q.username)q.username="redacted";if(q.password)q.password="redacted";for(let R of q.searchParams.keys())if(Yq(R))q.searchParams.set(R,"redacted");return q.toString()}catch{return z.replace(/\/\/[^/@\s]+(?::[^/@\s]*)?@/g,"//redacted@").replace(/([?&](?:token|access_token|refresh_token|api_key|apikey|key|password|passwd|pwd|auth|authorization|signature|sig|secret)=)[^&#]*/gi,"$1redacted")}}var Gq;var Qz=d(()=>{Gq=["api_key","apikey","key","token","access_token","refresh_token","signature","sig","secret","password","passwd","pwd","auth","authorization"]});function Xq(z){let q=`http://localhost:${z.port}/auth/callback`,R=new URL(`${W4}/oauth/authorize`);return R.searchParams.append("response_type","code"),R.searchParams.append("client_id",m4()),R.searchParams.append("redirect_uri",q),R.searchParams.append("scope",Jz),R.searchParams.append("code_challenge",z.codeChallenge),R.searchParams.append("code_challenge_method","S256"),R.searchParams.append("id_token_add_organizations","true"),R.searchParams.append("codex_cli_simplified_flow","true"),R.searchParams.append("state",z.state),R.searchParams.append("originator",Zz),R.toString()}function yq(){return`<!doctype html>
2
+ <html lang="en">
3
+ <head>
4
+ <meta charset="utf-8" />
5
+ <title>Codex Login Complete</title>
6
+ <style>
7
+ body { font-family: sans-serif; padding: 32px; line-height: 1.5; color: #111827; }
8
+ h1 { margin: 0 0 12px; font-size: 22px; }
9
+ p { margin: 0 0 10px; }
10
+ </style>
11
+ </head>
12
+ <body>
13
+ <h1>Codex login complete</h1>
14
+ <p>You can return to Claudin now.</p>
15
+ <p>Claudin will finish activating your new Codex OAuth login.</p>
16
+ </body>
17
+ </html>`}function Kq(z){return`<!doctype html>
18
+ <html lang="en">
19
+ <head>
20
+ <meta charset="utf-8" />
21
+ <title>Codex Login Failed</title>
22
+ <style>
23
+ body { font-family: sans-serif; padding: 32px; line-height: 1.5; color: #111827; }
24
+ h1 { margin: 0 0 12px; font-size: 22px; color: #991b1b; }
25
+ p { margin: 0 0 10px; }
26
+ </style>
27
+ </head>
28
+ <body>
29
+ <h1>Codex login failed</h1>
30
+ <p>${Gz(z)}</p>
31
+ <p>You can close this window and try again in Claudin.</p>
32
+ </body>
33
+ </html>`}function $z(){return`<!doctype html>
34
+ <html lang="en">
35
+ <head>
36
+ <meta charset="utf-8" />
37
+ <title>Codex Login Cancelled</title>
38
+ <style>
39
+ body { font-family: sans-serif; padding: 32px; line-height: 1.5; color: #111827; }
40
+ h1 { margin: 0 0 12px; font-size: 22px; }
41
+ p { margin: 0 0 10px; }
42
+ </style>
43
+ </head>
44
+ <body>
45
+ <h1>Codex login cancelled</h1>
46
+ <p>You can close this window and retry in Claudin.</p>
47
+ </body>
48
+ </html>`}async function bq(z){let q=`http://localhost:${z.port}/auth/callback`,R=new URLSearchParams({grant_type:"authorization_code",code:z.authorizationCode,redirect_uri:q,client_id:m4(),code_verifier:z.codeVerifier}),J=await fetch(`${W4}/oauth/token`,{method:"POST",headers:{"Content-Type":"application/x-www-form-urlencoded"},body:R,signal:z.signal?AbortSignal.any([z.signal,AbortSignal.timeout(15000)]):AbortSignal.timeout(15000)});if(!J.ok){let K=await J.text().catch(()=>"");throw Error(K.trim()?`Codex OAuth token exchange failed (${J.status}): ${K.trim()}`:`Codex OAuth token exchange failed with status ${J.status}.`)}let G=await J.json(),W=x0(G.access_token),_=x0(G.refresh_token);if(!W||!_)throw Error("Codex OAuth completed, but the token response was missing credentials.");let b=x0(G.id_token);return{apiKey:b?await Yz(b).catch(()=>{return}):void 0,accessToken:W,refreshToken:_,idToken:b,accountId:Y4(b)??Y4(W)}}class V4{authCodeListener=null;port=null;tokenExchangeAbortController=null;buildCancellationError(){return Error("Codex OAuth flow was cancelled.")}async startOAuthFlow(z){let q=mz(),R=Nz(),J=new Wz("/auth/callback");this.authCodeListener=J,this.port=null;try{let G=await J.start(R);this.port=G;let W=Xz(),_=await Vz(q),b=Xq({port:G,codeChallenge:_,state:W});try{let M=await J.waitForAuthorization(W,async()=>{await z(b)}),K=new AbortController;this.tokenExchangeAbortController=K;let L;try{L=await bq({authorizationCode:M,codeVerifier:q,port:G,signal:K.signal})}finally{if(this.tokenExchangeAbortController===K)this.tokenExchangeAbortController=null}if(this.authCodeListener!==J)throw this.buildCancellationError();return J.handleSuccessRedirect([],(P)=>{P.writeHead(200,{"Content-Type":"text/html; charset=utf-8"}),P.end(yq())}),L}catch(M){let K=this.authCodeListener===J?M:this.buildCancellationError();if(J.hasPendingResponse()){let L=K instanceof Error&&K.message==="Codex OAuth flow was cancelled.";J.handleErrorRedirect((P)=>{P.writeHead(L?200:400,{"Content-Type":"text/html; charset=utf-8"}),P.end(L?$z():Kq(K instanceof Error?K.message:String(K)))})}throw K}finally{this.cleanup()}}catch(G){let W=G instanceof Error?G.message:String(G);if(W.includes("EADDRINUSE")||W.includes(String(R)))throw Error(`Codex OAuth needs localhost:${R} for its callback. Close any app already using that port and try again.`);throw G}}cleanup(){let z=this.buildCancellationError();if(this.tokenExchangeAbortController?.abort(z),this.tokenExchangeAbortController=null,this.authCodeListener?.hasPendingResponse())this.authCodeListener.handleErrorRedirect((q)=>{q.writeHead(200,{"Content-Type":"text/html; charset=utf-8"}),q.end($z())});this.authCodeListener?.cancelPendingAuthorization(z),this.authCodeListener=null,this.port=null}}var yz=d(()=>{mq();Vq();Wq()});function Hq(){return new V4}function Lz(z){let{onAuthenticated:q}=z,R=z.deps?.createOAuthService??Hq,J=z.deps?.openBrowser??l0,G=z.deps?.saveCodexCredentials??Kz,W=z.deps?.isBareMode??t,[_,b]=p0.useState({state:"starting"});return p0.useEffect(()=>{if(W()){b({state:"error",message:"Codex OAuth is unavailable in --bare because secure storage is disabled."});return}let M=!1,K=R();return K.startOAuthFlow(async(L)=>{if(M)return;b({state:"waiting",authUrl:L,browserOpened:null});let P=await J(L);if(M)return;b({state:"waiting",authUrl:L,browserOpened:P})}).then(async(L)=>{if(M)return;await q(L,(U)=>{let T=G({apiKey:L.apiKey,accessToken:L.accessToken,refreshToken:L.refreshToken,idToken:L.idToken,accountId:L.accountId,profileId:U?.profileId});if(!T.success)throw Error(T.warning??"Codex OAuth succeeded, but credentials could not be saved securely.")})}).catch((L)=>{if(M)return;b({state:"error",message:L instanceof Error?L.message:String(L)})}),()=>{M=!0,K.cleanup()}},[R,W,q,J,G]),_}var p0;var Fz=d(()=>{yz();Hz();bz();c0();p0=O0(U0(),1)});function hz(){return{"Content-Type":"application/x-www-form-urlencoded",Accept:"application/json","User-Agent":wz()}}function _z(z,q){let R=Number(z);return Number.isFinite(R)&&R>0?R*1000:q}function Bq(z,q){if(q?.aborted)return Promise.resolve();return new Promise((R)=>{let J=setTimeout(()=>{q?.removeEventListener("abort",G),R()},z),G=()=>{clearTimeout(J),R()};q?.addEventListener("abort",G,{once:!0})})}async function jq(z){let q=z?.fetchImpl??fetch,R=z?.signal?AbortSignal.any([z.signal,AbortSignal.timeout(15000)]):AbortSignal.timeout(15000),J=await q(jz,{method:"POST",headers:hz(),body:new URLSearchParams({client_id:X4(),scope:Uz}).toString(),signal:R});if(!J.ok){let M=await J.text().catch(()=>"");throw Error(`xAI device code request failed (${J.status})${M?`: ${M.trim()}`:""}`)}let G=await J.json(),W=J0(G.device_code),_=J0(G.user_code),b=J0(G.verification_uri);if(!W||!_||!b)throw Error("xAI device code response is missing device_code / user_code / verification_uri.");return{device_code:W,user_code:_,verification_uri:b,verification_uri_complete:J0(G.verification_uri_complete),expires_in:typeof G.expires_in==="number"&&G.expires_in>0?G.expires_in:Pz/1000,interval:typeof G.interval==="number"&&G.interval>0?G.interval:Iz/1000}}async function Oq(z,q){let R=q?.fetchImpl??fetch,J=q?.sleep??Bq,G=q?.now??(()=>Date.now()),W=_z(z.expires_in,Pz),_=G()+W,b=Math.max(_z(z.interval,Iz),Mq);while(G()<_){if(q?.signal?.aborted)throw Error("xAI device authorization was cancelled.");let M=await R(Bz,{method:"POST",headers:hz(),body:new URLSearchParams({grant_type:Oz,client_id:X4(),device_code:z.device_code}).toString(),signal:q?.signal});if(M.ok){let U=await M.json(),T=J0(U.access_token),h=J0(U.refresh_token);if(!T||!h)throw Error("xAI OAuth completed, but the token response was missing credentials.");let X=typeof U.expires_in==="number"&&Number.isFinite(U.expires_in)&&U.expires_in>0?U.expires_in:3600;return{accessToken:T,refreshToken:h,idToken:J0(U.id_token),expiresAt:G()+X*1000}}let K=await M.json().catch(()=>({})),L=Math.max(0,_-G());if(K.error==="authorization_pending"){await J(Math.min(b+Mz,L),q?.signal);continue}if(K.error==="slow_down"){b=Math.min(b+_q,wq),await J(Math.min(b+Mz,L),q?.signal);continue}if(K.error==="access_denied"||K.error==="authorization_denied")throw Error("xAI device authorization was denied.");if(K.error==="expired_token")throw Error("xAI device code expired - please re-run login.");let P=K.error_description??K.error??"";throw Error(`xAI device token exchange failed (${M.status})${P?`: ${P}`:""}`)}throw Error("xAI device authorization timed out.")}class y4{abortController=null;async startDeviceFlow(z){let q=new AbortController;this.abortController=q;try{let R=await jq({signal:q.signal});return await z(R),await Oq(R,{signal:q.signal})}finally{if(this.abortController===q)this.abortController=null}}cleanup(){this.abortController?.abort(Error("xAI device authorization was cancelled.")),this.abortController=null}}var Iz=5000,Mq=1000,_q=5000,wq=60000,Pz=300000,Mz=3000;var Dz=d(()=>{Lq();Fq()});function Uq(){return new y4}function Tz(z){let{onAuthenticated:q}=z,R=z.deps?.createOAuthService??Uq,J=z.deps?.saveXaiCredentials??Ez,G=z.deps?.isBareMode??t,[W,_]=v0.useState({state:"starting"});return v0.useEffect(()=>{if(G()){_({state:"error",message:"xAI OAuth is unavailable in --bare because secure storage is disabled."});return}let b=!1,M=R();return M.startDeviceFlow(async(K)=>{if(b)return;_({state:"waiting",userCode:K.user_code,verificationUri:K.verification_uri,verificationUriComplete:K.verification_uri_complete})}).then(async(K)=>{if(b)return;await q(K,(P)=>{let U=J({accessToken:K.accessToken,refreshToken:K.refreshToken,idToken:K.idToken,expiresAt:K.expiresAt,profileId:P?.profileId});if(!U.success)throw Error(U.warning??"xAI OAuth succeeded, but credentials could not be saved securely.")})}).catch((K)=>{if(b)return;_({state:"error",message:K instanceof Error?K.message:String(K)})}),()=>{b=!0,M.cleanup()}},[R,G,q,J]),W}var v0;var Sz=d(()=>{Dz();c0();uz();v0=O0(U0(),1)});async function dz(){return{"Content-Type":"application/x-www-form-urlencoded",Accept:"application/json","User-Agent":xz,...await lz()}}function Az(z,q){let R=Number(z);return Number.isFinite(R)&&R>0?R*1000:q}function Eq(z,q){if(q?.aborted)return Promise.resolve();return new Promise((R)=>{let J=setTimeout(()=>{q?.removeEventListener("abort",G),R()},z),G=()=>{clearTimeout(J),R()};q?.addEventListener("abort",G,{once:!0})})}async function uq(z){let q=z?.fetchImpl??fetch,R=z?.signal?AbortSignal.any([z.signal,AbortSignal.timeout(15000)]):AbortSignal.timeout(15000),J=await q(Cz,{method:"POST",headers:await dz(),body:new URLSearchParams({client_id:K4()}).toString(),signal:R});if(!J.ok){let M=await J.text().catch(()=>"");throw Error(`Kimi device code request failed (${J.status})${M?`: ${M.trim()}`:""}`)}let G=await J.json(),W=G0(G.device_code),_=G0(G.user_code),b=G0(G.verification_uri);if(!W||!_||!b)throw Error("Kimi device code response is missing device_code / user_code / verification_uri.");return{device_code:W,user_code:_,verification_uri:b,verification_uri_complete:G0(G.verification_uri_complete),expires_in:typeof G.expires_in==="number"&&G.expires_in>0?G.expires_in:vz/1000,interval:typeof G.interval==="number"&&G.interval>0?G.interval:pz/1000}}async function Tq(z,q){let R=q?.fetchImpl??fetch,J=q?.sleep??Eq,G=q?.now??(()=>Date.now()),W=Az(z.expires_in,vz),_=G()+W,b=Math.max(Az(z.interval,pz),Pq);while(G()<_){if(q?.signal?.aborted)throw Error("Kimi device authorization was cancelled.");let M=await R(fz,{method:"POST",headers:await dz(),body:new URLSearchParams({grant_type:gz,client_id:K4(),device_code:z.device_code}).toString(),signal:q?.signal});if(M.ok){let U=await M.json(),T=G0(U.access_token),h=G0(U.refresh_token);if(!T||!h)throw Error("Kimi OAuth completed, but the token response was missing credentials.");let X=typeof U.expires_in==="number"&&Number.isFinite(U.expires_in)&&U.expires_in>0?U.expires_in:900;return{accessToken:T,refreshToken:h,expiresAt:G()+X*1000}}let K=await M.json().catch(()=>({})),L=Math.max(0,_-G());if(K.error==="authorization_pending"){await J(Math.min(b+kz,L),q?.signal);continue}if(K.error==="slow_down"){b=Math.min(b+hq,Dq),await J(Math.min(b+kz,L),q?.signal);continue}if(K.error==="access_denied"||K.error==="authorization_denied")throw Error("Kimi device authorization was denied.");if(K.error==="expired_token")throw Error("Kimi device code expired - please re-run login.");let P=K.error_description??K.error??"";throw Error(`Kimi device token exchange failed (${M.status})${P?`: ${P}`:""}`)}throw Error("Kimi device authorization timed out.")}class b4{abortController=null;async startDeviceFlow(z){let q=new AbortController;this.abortController=q;try{let R=await uq({signal:q.signal});return await z(R),await Tq(R,{signal:q.signal})}finally{if(this.abortController===q)this.abortController=null}}cleanup(){this.abortController?.abort(Error("Kimi device authorization was cancelled.")),this.abortController=null}}var pz=5000,Pq=1000,hq=5000,Dq=60000,vz=1800000,kz=3000;var nz=d(()=>{Iq();cz()});function Sq(){return new b4}function tz(z){let{onAuthenticated:q}=z,R=z.deps?.createOAuthService??Sq,J=z.deps?.saveKimiCredentials??az,G=z.deps?.isBareMode??t,[W,_]=Y0.useState({state:"starting"}),b=Y0.useRef(!1);return Y0.useEffect(()=>{if(G()){_({state:"error",message:"Kimi Code OAuth is unavailable in --bare because secure storage is disabled."});return}let M=!1,K=R();return K.startDeviceFlow(async(L)=>{if(M)return;_({state:"waiting",userCode:L.user_code,verificationUri:L.verification_uri,verificationUriComplete:L.verification_uri_complete})}).then(async(L)=>{if(M)return;await q(L,(U)=>{let T=J({accessToken:L.accessToken,refreshToken:L.refreshToken,expiresAt:L.expiresAt,profileId:U?.profileId});if(!T.success)throw Error(T.warning??"Kimi Code OAuth succeeded, but credentials could not be saved securely.")})}).catch((L)=>{if(M)return;_({state:"error",message:L instanceof Error?L.message:String(L)})}),()=>{M=!0,K.cleanup()}},[R,G,q,J]),Y0.useEffect(()=>{if(W.state!=="waiting")return;if(b.current)return;let M=W.verificationUriComplete??W.verificationUri;if(!M)return;b.current=!0,l0(M).catch(()=>{})},[W]),W}var Y0;var rz=d(()=>{nz();Hz();c0();iz();Y0=O0(U0(),1)});function Z1(z){return{name:z.name,baseUrl:z.baseUrl,model:z.model,apiKey:z.apiKey??""}}function N1(z){let q=i0(z);return{name:q.name,baseUrl:q.baseUrl,model:q.model,apiKey:q.apiKey??""}}function G1(z){let q={};for(let R of z.split(/\r?\n/)){let J=R.trim();if(!J)continue;let G=J.indexOf(":");if(G<=0)continue;let W=J.slice(0,G).trim(),_=J.slice(G+1).trim();if(W&&_)q[W]=_}return q}function Y1(z){if(!z)return"";return Object.entries(z).map(([q,R])=>`${q}: ${R}`).join(`
49
+ `)}function W1(z,q){let R={},J=z.awsRegion?.trim();if(J)R.awsRegion=J;let G=z.gcpProject?.trim();if(G)R.gcpProject=G;let W=z.gcpRegion?.trim();if(W)R.gcpRegion=W;let _=z.azureResource?.trim();if(_)R.azureResource=_;let b=G1(q);if(Object.keys(b).length>0)R.customHeaders=b;return Object.keys(R).length>0?R:void 0}function V1(z,q){let R=q?" (active)":"",J=z.apiKey?"key set":"no key",G=z.provider==="anthropic"?"anthropic":"openai-compatible",W=oz(z.model),_=W.length<=3?W.join(", "):`${W[0]}, ${W[1]} + ${W.length-2} more`;return`${G} · ${z.baseUrl} · ${_} · ${J}${R}`}function X1(z,q){if(z.state==="unreachable")return`Could not reach Atomic Chat at ${G4(q)}. Start the Atomic Chat app first, or enter the endpoint manually.`;if(z.state==="no_models")return"Atomic Chat is running, but no models are loaded. Download and load a model inside the Atomic Chat app first, or enter details manually.";return""}function y1(z,q){if(z.state==="unreachable")return`Could not reach Ollama at ${G4(q)}. Start Ollama first, or enter the endpoint manually.`;if(z.state==="no_models")return"Ollama is running, but no installed models were found. Pull a chat model such as qwen2.5-coder:7b or llama3.1:8b first, or enter details manually.";if(z.state==="generation_failed"){let R=z.probeModel??"the selected model",J=z.detail?` Details: ${z.detail}.`:"";return`Ollama is reachable and models are installed, but a generation probe failed for ${R}.${J} Run "ollama run ${R}" once and retry, or enter details manually.`}return""}function L4(z,q){if(!q)return;return z.find((R)=>R.id===q)}function sz(z,q){return Boolean(z&&q&&z.id===q)}function K1(z,q){if(q){let R=z.find((J)=>J.id===q);if(R)return R}return z.find((R)=>R.provider==="openai"&&R.baseUrl===I4&&!R.apiKey)}function b1(z,q){if(q){let R=z.find((J)=>J.id===q);if(R)return R}return z.find((R)=>R.provider==="openai"&&R.baseUrl===t0&&!R.apiKey)}function H1(z,q){return z.find((R)=>R.provider==="anthropic"&&R.baseUrl===q&&!R.apiKey)}function L1({onBack:z,onConfigured:q}){let R=H.useCallback(async(G,W)=>{await q(G,W)},[q]);a("confirm:no",z);let J=Lz({onAuthenticated:R});if(J.state==="error")return y(w,{flexDirection:"column",gap:1,children:[$(N,{color:"error",bold:!0,children:"Codex OAuth failed"}),$(N,{children:J.message}),$(N,{dimColor:!0,children:"Press Enter or Esc to go back."}),$(C,{options:[{value:"back",label:"Back",description:"Return to provider presets"}],onChange:z,onCancel:z,visibleOptionCount:1})]});return y(w,{flexDirection:"column",gap:1,children:[$(N,{color:"remember",bold:!0,children:"Codex OAuth"}),$(N,{children:"Sign in with your ChatGPT account in the browser. Claudin will store the resulting Codex credentials securely and switch this session to the new Codex login when setup completes."}),J.state==="starting"?$(N,{dimColor:!0,children:"Starting local callback and preparing your browser..."}):J.browserOpened===!1?y(N0,{children:[$(N,{color:"warning",children:"Browser did not open automatically. Visit this URL to continue:"}),$(N,{children:J.authUrl})]}):J.browserOpened===!0?y(N0,{children:[$(N,{dimColor:!0,children:"Browser opened. Finish the ChatGPT sign-in there and this setup will complete automatically."}),$(N,{children:J.authUrl})]}):$(N,{dimColor:!0,children:"Opening your browser..."}),$(N,{dimColor:!0,children:"Press Esc to cancel and go back."})]})}function F1({onBack:z,onConfigured:q}){let R=H.useCallback(async(G,W)=>{await q(G,W)},[q]);a("confirm:no",z);let J=Tz({onAuthenticated:R});if(J.state==="error")return y(w,{flexDirection:"column",gap:1,children:[$(N,{color:"error",bold:!0,children:"xAI OAuth failed"}),$(N,{children:J.message}),$(N,{dimColor:!0,children:"Press Enter or Esc to go back."}),$(C,{options:[{value:"back",label:"Back",description:"Return to provider presets"}],onChange:z,onCancel:z,visibleOptionCount:1})]});return y(w,{flexDirection:"column",gap:1,children:[$(N,{color:"remember",bold:!0,children:"xAI / Grok OAuth"}),J.state==="starting"?$(N,{dimColor:!0,children:"Requesting a device code from xAI..."}):y(N0,{children:[y(N,{children:["Open this URL on any device:"," ",$(N,{bold:!0,children:J.verificationUri})]}),y(N,{children:["Enter code ",$(N,{bold:!0,children:J.userCode})]}),J.verificationUriComplete&&J.verificationUriComplete!==J.verificationUri?y(N,{dimColor:!0,children:["Or open this prefilled URL: ",J.verificationUriComplete]}):null,$(N,{dimColor:!0,children:"Waiting for you to authorize in the browser..."})]}),$(N,{dimColor:!0,children:"Press Esc to cancel and go back."})]})}function M1({onBack:z,onConfigured:q}){let R=H.useCallback(async(G,W)=>{await q(G,W)},[q]);a("confirm:no",z);let J=tz({onAuthenticated:R});if(J.state==="error")return y(w,{flexDirection:"column",gap:1,children:[$(N,{color:"error",bold:!0,children:"Kimi Code OAuth failed"}),$(N,{children:J.message}),$(N,{dimColor:!0,children:"Press Enter or Esc to go back."}),$(C,{options:[{value:"back",label:"Back",description:"Return to Moonshot AI authentication choices"}],onChange:z,onCancel:z,visibleOptionCount:1})]});return y(w,{flexDirection:"column",gap:1,children:[$(N,{color:"remember",bold:!0,children:"Moonshot AI · Kimi Code"}),J.state==="starting"?$(N,{dimColor:!0,children:"Requesting a device code from Kimi..."}):y(N0,{children:[y(N,{children:["Open this URL on any device:"," ",$(N,{bold:!0,children:J.verificationUri})]}),y(N,{children:["Enter code ",$(N,{bold:!0,children:J.userCode})]}),J.verificationUriComplete&&J.verificationUriComplete!==J.verificationUri?y(N,{dimColor:!0,children:["Or open this prefilled URL: ",J.verificationUriComplete]}):null,$(N,{dimColor:!0,children:"Waiting for you to authorize in the browser..."})]}),$(N,{dimColor:!0,children:"Press Esc to cancel and go back."})]})}function T8({mode:z,onDone:q}){let R=W2(),[J,G]=H.useState([]),[W,_]=H.useState(),[b,M]=H.useState(),[K,L]=H.useState(!1),[P,U]=H.useState(),T=H.useRef(0),[h,X]=H.useState(z==="first-run"?"select-preset":"menu"),[m0,f]=H.useState(null),[D,Z0]=H.useState("openai"),[I,p]=H.useState(()=>N1("ollama")),[h0,D0]=H.useState({}),[P4,r0]=H.useState(""),[b2,H2]=H.useState(0),[L2,F2]=H.useState(0),[s0,h4]=H.useState(null),[V0,w0]=H.useState(0),[X0,r]=H.useState(0),[M2,s]=H.useState(0),[D4,S]=H.useState(),[y0,B]=H.useState(),[_2,w2]=H.useState(),[E4,E0]=H.useState(!1),[B0,j0]=H.useState(),[o,u0]=H.useState({state:"idle"}),[e,T0]=H.useState({state:"idle"}),[z0,o0]=H.useState({state:"idle"}),[B2,j2]=H.useState(!0),[O2,l]=H.useState(!1),e0=H.useRef(!1),[U2,u4]=H.useState(()=>a0()),[T4,I2]=H.useState(()=>y2());H.useEffect(()=>{queueMicrotask(()=>{let Q=n(),Z=v()?.id;G(Q),_(Z),M(d0()),U(F4()),L(P0()),j2(!1)})},[]);let K0=W0[X0]??W0[0],S0=K0.key,P2=I[S0],z4=J.length>0,k0=z4,S4=H.useMemo(()=>[{value:"add",label:"Add provider",description:"Create a new provider profile"},{value:"activate",label:"Set active provider (Global)",description:P?`Currently: ${J.find((Q)=>Q.id===P)?.name??"unknown"}`:"Default profile for projects without an override",disabled:!k0},{value:"activate-project",label:"Set active provider (Project)",description:b?`Currently: ${J.find((Q)=>Q.id===b)?.name??"unknown"} (this project)`:"Override the global default for this project only",disabled:!k0},...K?[{value:"clear-project-override",label:"Clear project provider override",description:b?"Stop overriding for this project; fall back to global":"Project override points to a missing profile; clear it"}]:[],{value:"edit",label:"Edit provider",description:"Update URL, model, or key",disabled:!z4},{value:"delete",label:"Delete provider",description:"Remove a provider profile",disabled:!k0},...E4?[{value:"logout-codex-oauth",label:"Log out Codex OAuth",description:"Clear securely stored Codex OAuth credentials"}]:[],{value:"done",label:"Done",description:"Return to chat"}],[k0,z4,E4,P,b,J]),q4=H.useCallback(()=>{if(t()){T.current+=1,E0(!1),j0(void 0);return}let Q=++T.current;(async()=>{let Z=await w4();if(Q!==T.current)return;E0(Boolean(Z?.apiKey||Z?.accessToken||Z?.refreshToken||Z?.idToken)),j0(Z?.profileId)})()},[]);H.useEffect(()=>{return q4(),()=>{T.current+=1}},[q4]),H.useEffect(()=>{if(h!=="select-ollama-model")return;let Q=!1;return u0({state:"loading"}),(async()=>{let Z=await Y2({baseUrl:I.baseUrl});if(Z.state!=="ready"){if(!Q)u0({state:"unavailable",message:y1(Z,I.baseUrl)});return}let Y=N4(Z.models,"balanced"),m=qz(Z.models,"balanced");if(!Q)u0({state:"ready",defaultValue:m?.name??Y[0]?.name,options:Y.map((V)=>({label:V.name,value:V.name,description:V.summary}))})})(),()=>{Q=!0}},[I.baseUrl,h]),H.useEffect(()=>{if(h!=="select-atomic-chat-model")return;let Q=!1;return T0({state:"loading"}),(async()=>{let Z=await G2({baseUrl:I.baseUrl});if(Z.state!=="ready"){if(!Q)T0({state:"unavailable",message:X1(Z,I.baseUrl)});return}if(!Q)T0({state:"ready",defaultValue:Z.models[0],options:Z.models.map((Y)=>({label:Y,value:Y}))})})(),()=>{Q=!0}},[I.baseUrl,h]),H.useEffect(()=>{if(h!=="select-openai-model")return;let Q=!1;return o0({state:"loading"}),(async()=>{let Z=await Z2({baseUrl:I.baseUrl,apiKey:I.apiKey||void 0});if(Q)return;if(!Z||Z.length===0){o0({state:"unavailable",message:"Couldn't list models from this provider. Enter the model id manually, or go back to check the base URL and API key."});return}let{options:Y,defaultValue:m}=N2(Z,I.model);o0({state:"ready",options:Y,defaultValue:m})})(),()=>{Q=!0}},[I.baseUrl,I.apiKey,h]);function A(){if(e0.current)return;e0.current=!0,queueMicrotask(()=>{let Q=n();G(Q),_(v()?.id),M(d0()),U(F4()),L(P0()),q4(),e0.current=!1})}function b0(){return null}function R4(Q){if(Q.activationWarning)return`${Q.prefix}. Saved for next startup. Warning: ${Q.warnings.join("; ")}.`;if(Q.warnings.length>0)return`${Q.prefix}. Claudin switched to it for this session with warnings: ${Q.warnings.join("; ")}.`;return`${Q.prefix}. Claudin switched to it for this session.`}async function Q4(Q){if(Q?.accessToken&&Q.accountId)return null;let Z=await w4();if(!Z)return"stored Codex OAuth credentials could not be loaded";if(!Z.accountId)return"stored Codex OAuth credentials are missing a ChatGPT account id";return null}function k4(){J2()}async function h2(Q){let Z="provider";l(!0),S("Activating provider...");try{await new Promise((q0)=>queueMicrotask(q0));let Y=P0(),m=$0(Q);if(!m){B("Could not change active provider."),l(!1),O();return}let V=Y?v()??m:m,F=M0(V.model)||n0();if(!Y)R((q0)=>({...q0,mainLoopModel:F,mainLoopModelForSession:null}));Z=m.name;let j=b0(),E=sz(m,B0),x=E?await Q4():null;A();let c=Y&&V.id!==m.id?` (project override still active — this project keeps using ${V.name}; use "Clear project provider override" to apply the new default here)`:"",k=E?R4({prefix:`Active provider: ${m.name}${c}`,activationWarning:x,warnings:[x,j?`could not clear startup provider override (${j})`:null].filter((q0)=>Boolean(q0))}):j?`Active provider: ${m.name}${c}. Warning: could not clear startup provider override (${j}).`:`Active provider: ${m.name}${c}`;S(k),l(!1),q({action:"activated",activeProfileId:m.id,activeProviderName:m.name,activeProviderModel:F,message:`Provider switched to ${m.name} (${F})`}),O()}catch(Y){A(),S(void 0),l(!1);let m=Y instanceof Error?Y.message:String(Y);B(`Could not finish activating ${Z}: ${m}`),O()}}async function D2(){l(!0),S("Clearing project provider override...");try{await new Promise((Z)=>queueMicrotask(Z)),M4(null),A();let Q=v();if(Q){let Z=M0(Q.model)||n0();_0(),R((Y)=>({...Y,mainLoopModel:Z,mainLoopModelForSession:null})),S(`Project override cleared. Using global default: ${Q.name}.`),l(!1),q({action:"activated",activeProfileId:Q.id,activeProviderName:Q.name,activeProviderModel:Z,message:`Project override cleared — using ${Q.name} (${Z})`}),O()}else S("Project provider override cleared. No global default set."),l(!1),q({action:"saved",message:"Project provider override cleared. No global default set."}),O()}catch(Q){A(),S(void 0),l(!1);let Z=Q instanceof Error?Q.message:String(Q);B(`Could not clear project provider override: ${Z}`),O()}}async function E2(Q){let Z="provider";l(!0),S("Setting provider for this project...");try{await new Promise((k)=>queueMicrotask(k));let Y=d0(),m=M4(Q);if(!m){B("Could not set project provider override."),l(!1),O();return}let V=M0(m.model)||n0();if(Y===m.id)_0();R((k)=>({...k,mainLoopModel:V,mainLoopModelForSession:null})),Z=m.name;let F=b0(),j=sz(m,B0),E=j?await Q4():null;A();let x=`Active provider for this project: ${m.name}. Other projects keep the global default.`,c=j?R4({prefix:x,activationWarning:E,warnings:[E,F?`could not clear startup provider override (${F})`:null].filter((k)=>Boolean(k))}):F?`${x} Warning: could not clear startup provider override (${F}).`:x;S(c),l(!1),q({action:"activated",activeProfileId:m.id,activeProviderName:m.name,activeProviderModel:V,message:`Provider switched to ${m.name} (${V}) for this project`}),O()}catch(Y){A(),S(void 0),l(!1);let m=Y instanceof Error?Y.message:String(Y);B(`Could not finish setting ${Z} for this project: ${m}`),O()}}function O(){w2("done"),X("menu")}function A0(Q){q({action:"cancelled",message:Q})}function A4(Q){let Z=i0(Q),Y={name:Z.name,baseUrl:Z.baseUrl,model:Z.model,apiKey:Z.apiKey??""};if(f(null),Z0(Z.provider??"openai"),p(Y),D0({}),r0(""),h4(Q),r(0),w0(0),s(Y.name.length),B(void 0),Q==="ollama"){u0({state:"loading"}),X("select-ollama-model");return}if(Q==="atomic-chat"){T0({state:"loading"}),X("select-atomic-chat-model");return}if(Q==="anthropic"){X("anthropic-auth-choice");return}if(Q==="bedrock"||Q==="vertex"||Q==="foundry"){X("cloud-extras");return}X("form")}function u2(Q){let Z=J.find((m)=>m.id===Q);if(!Z)return;let Y=Z1(Z);f(Q),Z0(Z.provider??"openai"),p(Y),D0({awsRegion:Z.extras?.awsRegion,gcpProject:Z.extras?.gcpProject,gcpRegion:Z.extras?.gcpRegion,azureResource:Z.extras?.azureResource}),r0(Y1(Z.extras?.customHeaders)),h4(null),r(0),w0(0),s(Y.name.length),B(void 0),X("form")}function C0(Q=I){let Z=W1(h0,P4),Y={provider:D,name:Q.name,baseUrl:Q.baseUrl,model:Q.model,apiKey:Q.apiKey,extras:Z},m=m0?Q0(m0,Y):R0(Y,{makeActive:!0});if(!m){B("Could not save provider. Fill all required fields.");return}let V=v()?.id===m.id;if(V)_0(),R((c)=>({...c,mainLoopModel:M0(m.model),mainLoopModelForSession:null}));let F=V?b0():null;A();let j=!m0&&P0()&&!V,E=j?v()?.name??"override target":null,x=m0?`Updated provider: ${m.name}`:j?`Added provider: ${m.name} (now global default — project keeps using ${E}; use "Clear project provider override" to apply here)`:`Added provider: ${m.name} (now active)`;if(S(F?`${x}. Warning: could not clear startup provider override (${F}).`:x),z==="first-run"){q({action:"saved",activeProfileId:m.id,message:`Provider configured: ${m.name}`});return}f(null),r(0),B(void 0),O()}function T2(){if(e.state==="loading"||e.state==="idle")return y(w,{flexDirection:"column",gap:1,children:[$(N,{color:"remember",bold:!0,children:"Checking Atomic Chat"}),$(N,{dimColor:!0,children:"Looking for loaded Atomic Chat models..."})]});if(e.state==="unavailable")return y(w,{flexDirection:"column",gap:1,children:[$(N,{color:"remember",bold:!0,children:"Atomic Chat setup"}),$(N,{dimColor:!0,children:e.message}),$(C,{options:[{value:"manual",label:"Enter manually",description:"Fill in the base URL and model yourself"},{value:"back",label:"Back",description:"Choose another provider preset"}],onChange:(Q)=>{if(Q==="manual"){r(0),s(I.name.length),X("form");return}X("select-preset")},onCancel:()=>X("select-preset"),visibleOptionCount:2})]});return y(w,{flexDirection:"column",gap:1,children:[$(N,{color:"remember",bold:!0,children:"Choose an Atomic Chat model"}),$(N,{dimColor:!0,children:"Pick one of the models loaded in Atomic Chat to save into a local provider profile."}),$(C,{options:e.options,defaultValue:e.defaultValue,defaultFocusValue:e.defaultValue,inlineDescriptions:!0,visibleOptionCount:Math.min(8,e.options.length),onChange:(Q)=>{let Z={...I,model:Q};p(Z),C0(Z)},onCancel:()=>X("select-preset")})]})}function S2(){if(o.state==="loading"||o.state==="idle")return y(w,{flexDirection:"column",gap:1,children:[$(N,{color:"remember",bold:!0,children:"Checking Ollama"}),$(N,{dimColor:!0,children:"Looking for installed Ollama models..."})]});if(o.state==="unavailable")return y(w,{flexDirection:"column",gap:1,children:[$(N,{color:"remember",bold:!0,children:"Ollama setup"}),$(N,{dimColor:!0,children:o.message}),$(C,{options:[{value:"manual",label:"Enter manually",description:"Fill in the base URL and model yourself"},{value:"back",label:"Back",description:"Choose another provider preset"}],onChange:(Q)=>{if(Q==="manual"){r(0),s(I.name.length),X("form");return}X("select-preset")},onCancel:()=>X("select-preset"),visibleOptionCount:2})]});return y(w,{flexDirection:"column",gap:1,children:[$(N,{color:"remember",bold:!0,children:"Choose an Ollama model"}),$(N,{dimColor:!0,children:"Pick one of the installed Ollama models to save into a local provider profile."}),$(C,{options:o.options,defaultValue:o.defaultValue,defaultFocusValue:o.defaultValue,inlineDescriptions:!0,visibleOptionCount:Math.min(8,o.options.length),onChange:(Q)=>{let Z={...I,model:Q};p(Z),C0(Z)},onCancel:()=>X("select-preset")})]})}function H0(Q){let Z=W0.findIndex((Y)=>Y.key===Q);r(Z<0?0:Z),s(I[Q].length),B(void 0),X("form")}function k2(){if(z0.state==="loading"||z0.state==="idle")return y(w,{flexDirection:"column",gap:1,children:[$(N,{color:"remember",bold:!0,children:"Fetching models"}),$(N,{dimColor:!0,children:"Looking for models on your OpenAI-compatible provider…"}),$(N,{dimColor:!0,children:"Press Esc to enter the model manually."})]});if(z0.state==="unavailable")return y(w,{flexDirection:"column",gap:1,children:[$(N,{color:"remember",bold:!0,children:"Choose a model"}),$(N,{dimColor:!0,children:z0.message}),$(C,{options:[{value:"manual",label:"Enter manually",description:"Type the model id yourself"},{value:"back",label:"Back",description:"Return to the API key step"}],onChange:(Y)=>{if(Y==="manual"){H0("model");return}H0("apiKey")},onCancel:()=>H0("apiKey"),visibleOptionCount:2})]});let Q=[...z0.options,{value:H4,label:"Enter a model id manually",description:"Type an id the provider did not list"}],Z=z0.defaultValue??H4;return y(w,{flexDirection:"column",gap:1,children:[$(N,{color:"remember",bold:!0,children:"Choose a model"}),$(N,{dimColor:!0,children:"Models from your OpenAI-compatible provider."}),$(C,{options:Q,defaultValue:Z,defaultFocusValue:Z,inlineDescriptions:!0,visibleOptionCount:Math.min(8,Q.length),onChange:(Y)=>{if(Y===H4){H0("model");return}let m={...I,model:Y};p(m),C4(m)},onCancel:()=>H0("apiKey")}),$(N,{dimColor:!0,children:"Enter to select · Esc to go back"})]})}function C4(Q){if(s0==="anthropic"||s0==="custom"){p(Q),X("custom-headers");return}C0(Q)}function A2(Q){let Z=Q.trim();if(!K0.optional&&Z.length===0){B(`${K0.label} is required.`);return}let Y={...I,[S0]:Z};if(p(Y),B(void 0),X0<W0.length-1){let m=X0+1,V=W0[m]?.key??"name";if(V==="model"&&!oq.has(D)&&Y.baseUrl.trim().length>0){X("select-openai-model");return}r(m),s(Y[V].length);return}C4(Y)}function C2(){if(B(void 0),X0>0){let Q=X0-1,Z=W0[Q]?.key??"name";r(Q),s(I[Z].length);return}if(z==="first-run"){X("select-preset");return}O()}a("confirm:no",C2,{context:"Settings",isActive:h==="form"}),a("confirm:no",()=>H0("model"),{context:"Settings",isActive:h==="select-openai-model"&&(z0.state==="loading"||z0.state==="idle")});function f2(){if(B(void 0),V0>0){w0(V0-1);return}X("select-preset")}a("confirm:no",f2,{context:"Settings",isActive:h==="cloud-extras"}),a("confirm:no",()=>X("form"),{context:"Settings",isActive:h==="custom-headers"}),a("confirm:no",()=>X("select-preset"),{context:"Settings",isActive:h==="anthropic-auth-choice"||h==="anthropic-oauth"||h==="kimi-auth-choice"}),a("confirm:no",()=>X("kimi-auth-choice"),{context:"Settings",isActive:h==="kimi-oauth"});function g2(){let Q=!t(),Z=[...U2?[{value:"import-legacy",label:"Reuse Claude Code sign-in",description:"Copy ~/.claude/ API tokens and provider profiles. /import brings the rest."}]:[],{value:"dashscope-intl",label:"Alibaba Coding Plan",description:"Alibaba DashScope International endpoint"},{value:"dashscope-cn",label:"Alibaba Coding Plan (China)",description:"Alibaba DashScope China endpoint"},{value:"anthropic",label:"Anthropic",description:"Native Claude API (x-api-key auth)"},{value:"atomic-chat",label:"Atomic Chat",description:"Local Model Provider"},{value:"azure-openai",label:"Azure OpenAI",description:"Azure OpenAI endpoint (model=deployment name)"},{value:"foundry",label:"Azure AI Foundry",description:"Anthropic models hosted on Azure AI Foundry (resource-scoped)"},{value:"bedrock",label:"AWS Bedrock",description:"Anthropic models on AWS Bedrock (region-scoped, AWS creds)"},{value:"bankr",label:"Bankr",description:"Bankr LLM Gateway (OpenAI-compatible)"},{value:"cloudflare-workers-ai",label:"Cloudflare Workers AI",description:"Cloudflare Workers AI (OpenAI-compatible); set your account ID in the base URL"},{value:"cloudflare-ai-gateway",label:"Cloudflare AI Gateway",description:"Cloudflare AI Gateway unified endpoint; set your account ID in the base URL"},...Q?[{value:"codex-oauth",label:"Codex OAuth",description:"Sign in with ChatGPT in your browser and store Codex credentials securely"},{value:"xai-oauth",label:"xAI / Grok (OAuth)",description:"Sign in with xAI in your browser and store Grok credentials securely"}]:[],{value:"github-onboard",label:"GitHub Copilot",description:"Sign in with GitHub in your browser to use Copilot models"},{value:"deepseek",label:"DeepSeek",description:"DeepSeek OpenAI-compatible endpoint"},{value:"gemini",label:"Google Gemini",description:"Gemini OpenAI-compatible endpoint"},{value:"vertex",label:"Google Vertex AI",description:"Anthropic models on Vertex AI (project + region, ADC)"},{value:"groq",label:"Groq",description:"Groq OpenAI-compatible endpoint"},{value:"lmstudio",label:"LM Studio",description:"Local LM Studio endpoint"},{value:"minimax",label:"MiniMax",description:"MiniMax API endpoint"},{value:"mistral",label:"Mistral",description:"Mistral OpenAI-compatible endpoint"},{value:"moonshotai",label:"Moonshot AI",description:"API key or Kimi Code OAuth sign-in"},{value:"nvidia-nim",label:"NVIDIA NIM",description:"NVIDIA NIM endpoint"},{value:"opencode-go",label:"OpenCode GO",description:"OpenCode GO OpenAI-compatible endpoint"},{value:"opencode-zen",label:"OpenCode Zen",description:"OpenCode Zen OpenAI-compatible endpoint"},{value:"ollama",label:"Ollama",description:"Local or remote Ollama endpoint"},{value:"openai",label:"OpenAI",description:"OpenAI API with API key"},{value:"openrouter",label:"OpenRouter",description:"OpenRouter OpenAI-compatible endpoint"},{value:"together",label:"Together AI",description:"Together chat/completions endpoint"},{value:"zai",label:"Z.AI (GLM Coding Plan)",description:"Z.AI GLM Coding Plan (OpenAI-compatible)"},{value:"custom",label:"Custom",description:"Any OpenAI-compatible provider"},...z==="first-run"?[{value:"skip",label:"Skip for now",description:"Continue with current defaults"}]:[]];return y(w,{flexDirection:"column",gap:1,children:[$(N,{color:"remember",bold:!0,children:z==="first-run"?"Set up provider":"Choose provider preset"}),$(N,{dimColor:!0,children:"Pick a preset, then confirm base URL, model, and API key."}),$(U4,{options:Z,searchPlaceholder:"Search presets…",onChange:(Y)=>{if(Y==="skip"){A0("Provider setup skipped");return}if(Y==="codex-oauth"){X("codex-oauth");return}if(Y==="xai-oauth"){X("xai-oauth");return}if(Y==="moonshotai"){X("kimi-auth-choice");return}if(Y==="github-onboard"){X("github-onboard");return}if(Y==="import-legacy"){(async()=>{let m=await V2({force:!0});u4(a0()),A();let V=X2(m);if(m.errors.length>0){B(V);return}let F=v();if(z==="first-run"&&F){q({action:"saved",activeProfileId:F.id,activeProviderName:F.name,activeProviderModel:F.model,message:V});return}if(S(V),B(void 0),z==="manage")O()})();return}A4(Y)},onCancel:()=>{if(z==="first-run"){A0("Provider setup skipped");return}O()},visibleOptionCount:Math.min(13,Z.length)})]})}function x2(){return y(w,{flexDirection:"column",gap:1,children:[$(N,{color:"remember",bold:!0,children:"Anthropic — choose authentication"}),$(N,{dimColor:!0,children:"Sign in with your Anthropic account in the browser, or paste an API key."}),$(C,{options:[{value:"oauth",label:"Sign in with web (OAuth)",description:"Open a browser, sign in to Claude, and store tokens in ~/.claudin/.credentials.json"},{value:"apiKey",label:"Use API key",description:"Paste an x-api-key value (sk-ant-…)"},{value:"back",label:"Back",description:"Choose a different provider"}],onChange:(Q)=>{if(Q==="oauth"){X("anthropic-oauth");return}if(Q==="apiKey"){X("form");return}X("select-preset")},onCancel:()=>X("select-preset"),visibleOptionCount:3})]})}function c2(){return y(w,{flexDirection:"column",gap:1,children:[$(N,{color:"remember",bold:!0,children:"Moonshot AI — choose authentication"}),$(N,{dimColor:!0,children:"Sign in with your Kimi Code subscription in the browser, or paste a Moonshot AI API key."}),$(C,{options:[{value:"oauth",label:"Sign in with web (OAuth)",description:"Open a browser, sign in to Kimi Code, and store tokens in ~/.claudin/.credentials.json"},{value:"apiKey",label:"Use API key",description:"Paste a Moonshot AI API key (sk-…)"},{value:"back",label:"Back",description:"Choose a different provider"}],onChange:(Q)=>{if(Q==="oauth"){X("kimi-oauth");return}if(Q==="apiKey"){A4("moonshotai");return}X("select-preset")},onCancel:()=>X("select-preset"),visibleOptionCount:3})]})}function l2(){let Q=(aq(),kq(nq)).ConsoleOAuthFlow;return $(w,{flexDirection:"column",gap:1,children:$(Q,{mode:"login",onDone:()=>{let Z=i0("anthropic"),Y={provider:"anthropic",name:Z.name,baseUrl:Z.baseUrl,model:Z.model},m=H1(n(),Z.baseUrl),V=m?Q0(m.id,Y):R0(Y,{makeActive:!0});if(!V){B("OAuth completed, but the Anthropic profile could not be saved."),X("select-preset");return}let F=m&&W!==V.id?$0(V.id):V;if(!F){B("OAuth completed, but the Anthropic profile could not be set as the startup provider."),X("select-preset");return}let j=`Anthropic OAuth configured: ${F.name}`;if(A(),z==="first-run"){q({action:"saved",activeProfileId:F.id,message:j});return}S(j),B(void 0),O()}})})}function p2(){let Q=s0;if(Q!=="bedrock"&&Q!=="vertex"&&Q!=="foundry")return null;let Z=m1[Q],Y=Z[V0]??Z[0],m=h0[Y.key]??"";function V(F){let j=F.trim();if(j.length===0){B(`${Y.label} is required.`);return}let E={...h0,[Y.key]:j};if(D0(E),B(void 0),V0<Z.length-1){w0(V0+1);return}w0(0),X("form")}return y(w,{flexDirection:"column",gap:1,children:[$(N,{color:"remember",bold:!0,children:`${Q==="bedrock"?"AWS Bedrock":Q==="vertex"?"Google Vertex AI":"Azure AI Foundry"} setup`}),$(N,{dimColor:!0,children:Y.helpText}),y(N,{dimColor:!0,children:["Step ",V0+1," of ",Z.length,": ",Y.label]}),y(w,{flexDirection:"row",gap:1,children:[$(N,{children:F0.pointer}),$(L0,{value:m,onChange:(F)=>D0((j)=>({...j,[Y.key]:F})),onSubmit:V,focus:!0,showCursor:!0,placeholder:`${Y.placeholder}${F0.ellipsis}`,columns:80,cursorOffset:b2,onChangeCursorOffset:H2})]}),y0&&$(N,{color:"error",children:y0}),$(N,{dimColor:!0,children:"Press Enter to continue. Press Esc to go back."})]})}function v2(){return y(w,{flexDirection:"column",gap:1,children:[$(N,{color:"remember",bold:!0,children:"Custom headers (optional)"}),y(N,{dimColor:!0,children:["Add HTTP headers sent on every request. One header per line as"," ",$(N,{children:"Header: Value"}),". Leave empty to skip."]}),y(w,{flexDirection:"row",gap:1,children:[$(N,{children:F0.pointer}),$(L0,{value:P4,onChange:r0,onSubmit:()=>C0(I),focus:!0,showCursor:!0,placeholder:"X-Header: value",columns:80,multiline:!0,cursorOffset:L2,onChangeCursorOffset:F2})]}),y0&&$(N,{color:"error",children:y0}),$(N,{dimColor:!0,children:"Press Enter on a blank line to save. Press Esc to go back."})]})}function d2(){return y(w,{flexDirection:"column",gap:1,children:[$(N,{color:"remember",bold:!0,children:m0?"Edit provider profile":"Create provider profile"}),$(N,{dimColor:!0,children:K0.helpText}),y(N,{dimColor:!0,children:["Provider type:"," ",D==="anthropic"?"Anthropic native API":"OpenAI-compatible API"]}),y(N,{dimColor:!0,children:["Step ",X0+1," of ",W0.length,": ",K0.label]}),y(w,{flexDirection:"row",gap:1,children:[$(N,{children:F0.pointer}),$(L0,{value:P2,onChange:(Q)=>p((Z)=>({...Z,[S0]:Q})),onSubmit:A2,focus:!0,showCursor:!0,placeholder:`${K0.placeholder}${F0.ellipsis}`,mask:S0==="apiKey"?"*":void 0,columns:80,cursorOffset:M2,onChangeCursorOffset:s})]}),y0&&$(N,{color:"error",children:y0}),$(N,{dimColor:!0,children:"Press Enter to continue. Press Esc to go back."})]})}function n2(){let Q=J.length>0,Z=Q;return y(w,{flexDirection:"column",gap:1,children:[$(N,{color:"remember",bold:!0,children:"Provider manager"}),$(N,{dimColor:!0,children:"Active profile controls base URL, model, and API key used by this session."}),D4&&$(N,{children:D4}),$(w,{flexDirection:"column",children:J.length===0?$(N,{dimColor:!0,children:"No provider profiles configured yet."}):J.map((Y)=>y(N,{dimColor:!0,children:["- ",Y.name,": ",V1(Y,Y.id===W)]},Y.id))}),$(C,{options:S4,onChange:(Y)=>{switch(B(void 0),Y){case"add":X("select-preset");break;case"activate":if(Z)X("select-active");break;case"activate-project":if(Z)X("select-active-project");break;case"clear-project-override":D2();break;case"edit":if(Q)X("select-edit");break;case"delete":if(Z)X("select-delete");break;case"logout-codex-oauth":{let m=B4();if(!m.success){B(m.warning??"Could not clear Codex OAuth credentials.");break}E0(!1),j0(void 0);let V=L4(n(),B0),F=null;if(V){let j=_4(V.id);if(!j.removed){B("Codex OAuth credentials were cleared, but the Codex profile could not be removed."),A();break}k4(),F=j.activeProfileId?b0():null}A(),S(F?`Codex OAuth logged out. Warning: could not clear startup provider override (${F}).`:"Codex OAuth logged out.");break}default:A0("Provider manager closed");break}},onCancel:()=>A0("Provider manager closed"),defaultFocusValue:_2,visibleOptionCount:S4.length})]})}function f0(Q,Z,Y){let m=J.map((V)=>{let F=[];if(V.id===W)F.push("active");if(b&&V.id===b)F.push("this project");if(P&&V.id===P)F.push("global default");let j=F.length>0?` (${F.join(", ")})`:"";return{value:V.id,label:`${V.name}${j}`,description:`${V.provider==="anthropic"?"anthropic":"openai-compatible"} · ${V.baseUrl} · ${V.model}`}});if(m.length===0)return y(w,{flexDirection:"column",gap:1,children:[$(N,{color:"remember",bold:!0,children:Q}),$(N,{dimColor:!0,children:Z}),$(C,{options:[{value:"back",label:"Back",description:"Return to provider manager"}],onChange:()=>O(),onCancel:()=>O(),visibleOptionCount:1})]});return y(w,{flexDirection:"column",gap:1,children:[$(N,{color:"remember",bold:!0,children:Q}),$(U4,{options:m,favorites:J1,searchPlaceholder:"Search providers…",onChange:Y,onCancel:()=>O(),visibleOptionCount:Math.min(10,Math.max(2,m.length))})]})}let u;switch(h){case"select-preset":u=g2();break;case"select-ollama-model":u=S2();break;case"select-openai-model":u=k2();break;case"select-atomic-chat-model":u=T2();break;case"codex-oauth":u=$(L1,{onBack:()=>X("select-preset"),onConfigured:async(Q,Z)=>{let Y={provider:"openai",name:eq,baseUrl:ez,model:z1,apiKey:""},m=L4(n(),B0),V=m?Q0(m.id,Y):R0(Y,{makeActive:!0});if(!V){B("Codex OAuth login finished, but the provider profile could not be saved."),O();return}let F=m&&W!==V.id?$0(V.id):V;if(!F){B("Codex OAuth login finished, but the provider could not be set as the startup provider."),O();return}Z({profileId:V.id});let j=b0(),E=await Q4(Q);E0(!0),j0(V.id),A();let x=[E,j?`could not clear startup provider override (${j})`:null].filter((k)=>Boolean(k)),c=R4({prefix:"Codex OAuth configured",activationWarning:E,warnings:x});if(z==="first-run"){q({action:"saved",activeProfileId:F.id,message:c});return}S(c),B(void 0),O()}});break;case"xai-oauth":u=$(F1,{onBack:()=>X("select-preset"),onConfigured:async(Q,Z)=>{let Y={provider:"openai",name:q1,baseUrl:t0,model:R1,apiKey:""},m=b1(n(),O4()?.profileId),V=m?Q0(m.id,Y):R0(Y,{makeActive:!0});if(!V){B("xAI OAuth login finished, but the provider profile could not be saved."),O();return}let F=m&&W!==V.id?$0(V.id):V;if(!F){B("xAI OAuth login finished, but the provider could not be set as the startup provider."),O();return}try{Z({profileId:V.id})}catch(E){B(E instanceof Error?E.message:String(E)),O();return}A();let j="xAI / Grok configured. Claudin switched to it for this session.";if(z==="first-run"){q({action:"saved",activeProfileId:F.id,message:j});return}S(j),B(void 0),O()}});break;case"kimi-auth-choice":u=c2();break;case"kimi-oauth":u=$(M1,{onBack:()=>X("kimi-auth-choice"),onConfigured:async(Q,Z)=>{let Y={provider:"openai",name:Q1,baseUrl:I4,model:$1,apiKey:""},m=K1(n(),j4()?.profileId),V=m?Q0(m.id,Y):R0(Y,{makeActive:!0});if(!V){B("Kimi Code OAuth login finished, but the provider profile could not be saved."),O();return}let F=m&&W!==V.id?$0(V.id):V;if(!F){B("Kimi Code OAuth login finished, but the provider could not be set as the startup provider."),O();return}try{Z({profileId:V.id})}catch(E){B(E instanceof Error?E.message:String(E)),O();return}A();let j="Kimi Code configured. Claudin switched to it for this session.";if(z==="first-run"){q({action:"saved",activeProfileId:F.id,message:j});return}S(j),B(void 0),O()}});break;case"github-onboard":u=$(s4,{onDone:(Q)=>{if(Q)S(Q),B(void 0);A(),O()},onBack:()=>X("select-preset"),onChangeAPIKey:A});break;case"anthropic-auth-choice":u=x2();break;case"anthropic-oauth":u=l2();break;case"cloud-extras":u=p2();break;case"custom-headers":u=v2();break;case"form":u=d2();break;case"select-active":u=f0("Set active provider (Global)","No providers available. Add one first.",(Q)=>{h2(Q)});break;case"select-active-project":u=f0("Set active provider (Project)","No providers available. Add one first.",(Q)=>{E2(Q)});break;case"select-edit":u=f0("Edit provider","No providers available. Add one first.",(Q)=>{u2(Q)});break;case"select-delete":u=f0("Delete provider","No providers available. Add one first.",(Q)=>{let Z=J.find((k)=>k.id===Q),Y=Z?.provider==="openai"&&Z?.extras?.githubToken!==void 0,m=L4(J,B0)?.id===Q,V=O4()?.profileId,F=Z?.provider==="openai"&&Z.baseUrl===t0&&!Z.apiKey&&V===Q,j=j4()?.profileId,E=Z?.provider==="openai"&&Z.baseUrl===I4&&!Z.apiKey&&j===Q,x=v()?.id===Q,c=_4(Q);if(!c.removed)B("Could not delete provider.");else{let k=[];if(m){let g=B4();if(!g.success)k.push(g.warning??"could not clear Codex OAuth credentials");else j0(void 0);k4()}if(Y){let g=q2();if(!g.success)k.push(g.warning??"could not clear GitHub Copilot token")}if(F){let g=$2();if(!g.success)k.push(g.warning??"could not clear xAI OAuth credentials")}if(E){let g=Q2();if(!g.success)k.push(g.warning??"could not clear Kimi Code OAuth credentials")}let q0=c.activeProfileId?b0():null;if(q0)k.push(`could not clear startup provider override (${q0})`);if(A(),x){let g=v();if(g)_0(),R(($4)=>({...$4,mainLoopModel:M0(g.model),mainLoopModelForSession:null}));else _0(),R(($4)=>({...$4,mainLoopModel:null,mainLoopModelForSession:null}))}S(k.length>0?`Provider deleted. Warning: ${k.join("; ")}.`:"Provider deleted")}O()});break;case"menu":default:u=n2();break}return y(z2,{color:"permission",children:[$(K2,{enabled:T4,onDismiss:(Q)=>{u4(a0()),I2(!1),A();let Z=v();if(Q==="migrated"&&z==="first-run"&&Z)q({action:"saved",activeProfileId:Z.id,activeProviderName:Z.name,activeProviderModel:Z.model})}}),T4?null:B2?y(w,{flexDirection:"column",gap:1,children:[$(N,{color:"remember",bold:!0,children:"Loading providers..."}),$(N,{dimColor:!0,children:"Reading provider profiles from disk."})]}):O2?y(w,{flexDirection:"column",gap:1,children:[$(N,{color:"remember",bold:!0,children:"Activating provider..."}),$(N,{dimColor:!0,children:"Please wait while the provider is being configured."})]}):u]})}var H,W0,H4="\x00__manual__",oq,eq="Codex OAuth",z1="codexplan",q1="xAI / Grok (OAuth)",R1="grok-4",Q1="Moonshot AI",$1,I4="https://api.kimi.com/coding/v1",J1,m1;var _1=d(()=>{Aq();o4();fq();x4();xq();vq();tq();bz();c0();Cq();gq();lq();f4();i4();pq();Rz();Qz();dq();iq();cq();sq();t4();Fz();Sz();rz();uz();iz();cz();rq();g0();H=O0(U0(),1),W0=[{key:"name",label:"Provider name",placeholder:"e.g. Ollama Home, OpenAI Work",helpText:"A short label shown in /provider and startup setup."},{key:"baseUrl",label:"Base URL",placeholder:"e.g. http://localhost:11434/v1",helpText:"API base URL used for this provider profile."},{key:"apiKey",label:"API key",placeholder:"Leave empty if your provider does not require one",helpText:"Optional. Press Enter with empty value to skip.",optional:!0},{key:"model",label:"Default model",placeholder:"e.g. llama3.1:8b or glm-4.7; glm-4.7-flash",helpText:'Model name(s) to use. Separate multiple with ";" or ","; first is default.'}],oq=new Set(["anthropic","bedrock","vertex","foundry"]),$1=R2,J1=m2("providerProfile",(z)=>z);m1={bedrock:[{key:"awsRegion",label:"AWS region",placeholder:"e.g. us-east-1",helpText:"Region of your Bedrock-enabled AWS account. Credentials are picked up from the AWS SDK chain."}],vertex:[{key:"gcpProject",label:"GCP project ID",placeholder:"e.g. my-project-123456",helpText:"Google Cloud project where Vertex AI is enabled. Credentials are picked up from ADC."},{key:"gcpRegion",label:"GCP region",placeholder:"e.g. us-central1",helpText:"Vertex AI region for the model."}],foundry:[{key:"azureResource",label:"Azure resource",placeholder:"e.g. my-foundry-resource",helpText:"Name of your Azure AI Foundry resource. Credentials are picked up from DefaultAzureCredential."}]}});
50
+ export{G4 as Vc,Qz as Wc,G1 as Xc,T8 as Yc,_1 as Zc};
@@ -0,0 +1,2 @@
1
+ import{up as Q,zp as f}from"./cli-1.1.26-kvt0v6vq.mjs";import{Fha as B,Nha as M}from"./cli-1.1.26-mvjefec1.mjs";import{Bla as Y,Lla as b,Ola as A,ola as W,pla as Z,tla as X,xla as $}from"./cli-1.1.26-nr4x1ay3.mjs";import{cua as U}from"./cli-1.1.26-zb5hq3ry.mjs";import{randomBytes as G}from"crypto";import{readFile as L,rename as N,unlink as j,writeFile as S}from"fs/promises";import{join as T}from"path";function R(){return T(Q(),_)}function E(q){let v=Z(q);if(typeof v!=="object"||v===null||!("plugins"in v)||typeof v.plugins!=="object"||v.plugins===null)return{};let x=v.plugins,C={};for(let[J,H]of Object.entries(x))if(H&&typeof H==="object"&&"flaggedAt"in H&&typeof H.flaggedAt==="string"){let V={flaggedAt:H.flaggedAt};if("seenAt"in H&&typeof H.seenAt==="string")V.seenAt=H.seenAt;C[J]=V}return C}async function K(){try{let q=await L(R(),{encoding:"utf-8"});return E(q)}catch{return{}}}async function O(q){let v=R(),x=`${v}.${G(8).toString("hex")}.tmp`;try{await $().mkdir(Q());let C=W({plugins:q},null,2);await S(x,C,{encoding:"utf-8",mode:384}),await N(x,v),z=q}catch(C){B(C);try{await j(x)}catch{}}}async function u(){let q=await K(),v=Date.now(),x=!1;for(let[C,J]of Object.entries(q))if(J.seenAt&&v-new Date(J.seenAt).getTime()>=w)delete q[C],x=!0;if(z=q,x)await O(q)}function p(){return z??{}}async function c(q){if(z===null)z=await K();let v={...z,[q]:{flaggedAt:new Date().toISOString()}};await O(v),b(`Flagged plugin: ${q}`)}async function g(q){if(z===null)z=await K();let v=new Date().toISOString(),x=!1,C={...z};for(let J of q){let H=C[J];if(H&&!H.seenAt)C[J]={...H,seenAt:v},x=!0}if(x)await O(C)}async function d(q){if(z===null)z=await K();if(!(q in z))return;let{[q]:v,...x}=z;z=x,await O(x)}var _="flagged-plugins.json",w=172800000,z=null;var k=U(()=>{A();Y();M();X();f()});
2
+ export{u as zc,p as Ac,c as Bc,g as Cc,d as Dc,k as Ec};
@@ -0,0 +1,2 @@
1
+ import{sV as m,tV as b,uV as H,wV as N,xV as K}from"./cli-1.1.26-hc0z3th3.mjs";import{C9 as D,E9 as R,O9 as L,Q9 as O,R9 as _,y9 as x,z9 as M}from"./cli-1.1.26-agrrdhst.mjs";import{Dea as X,Iea as Y,Mfa as Z,Tba as j,Vba as P,Vea as A,fga as G}from"./cli-1.1.26-mvjefec1.mjs";import{Ema as I,wma as $}from"./cli-1.1.26-dyyg0r9f.mjs";import{cua as F}from"./cli-1.1.26-zb5hq3ry.mjs";function V(q){if(!q||!process.env.ANTHROPIC_UNIX_SOCKET)return q||{};let{ANTHROPIC_UNIX_SOCKET:z,ANTHROPIC_BASE_URL:B,ANTHROPIC_API_KEY:Q,ANTHROPIC_AUTH_TOKEN:w,CLAUDE_CODE_OAUTH_TOKEN:C,...U}=q;return U}function k(q){if(!q)return{};if(!$(process.env.CLAUDE_CODE_PROVIDER_MANAGED_BY_HOST))return q;let z={};for(let[B,Q]of Object.entries(q))if(!H(B))z[B]=Q;return z}function p(q){if(!q||!W)return q||{};let z={};for(let[B,Q]of Object.entries(q))if(!W.has(B))z[B]=Q;return z}function J(q){return p(k(V(q)))}function S(){if(W===void 0)W=process.env.CLAUDE_CODE_ENTRYPOINT==="claude-desktop"?new Set(Object.keys(process.env)):null;Object.assign(process.env,J(Z().env));for(let z of h){if(z==="policySettings")continue;if(!j(z))continue;Object.assign(process.env,J(X(z)?.env))}m(),Object.assign(process.env,J(X("policySettings")?.env));let q=J(Y()?.env);for(let[z,B]of Object.entries(q))if(N.has(z.toUpperCase()))process.env[z]=B}function a(){Object.assign(process.env,J(Z().env)),Object.assign(process.env,J(Y()?.env)),x(),D(),O(),L()}var W,h;var T=F(()=>{b();M();G();I();K();R();_();P();A();h=["userSettings","flagSettings","policySettings"]});
2
+ export{S as kd,a as ld,T as md};