@claudiolabs/claudin 1.1.12 → 1.1.13

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 (927) hide show
  1. package/README.md +3 -24
  2. package/dist/chunks/AgentTool-1.1.13-63r89cdz.mjs +1 -0
  3. package/dist/chunks/App-1.1.13-d46t1gxs.mjs +1 -0
  4. package/dist/chunks/ApproveApiKey-1.1.13-ss1skn67.mjs +1 -0
  5. package/dist/chunks/AssistantSessionChooser-1.1.13-akb18zhk.mjs +1 -0
  6. package/dist/chunks/AutoModeOptInDialog-1.1.13-wy2pstpa.mjs +1 -0
  7. package/dist/chunks/BypassPermissionsModeDialog-1.1.13-nrs4ahv7.mjs +1 -0
  8. package/dist/chunks/ClaudeMdExternalIncludesDialog-1.1.13-p12n7vw3.mjs +1 -0
  9. package/dist/chunks/ConsoleOAuthFlow-1.1.13-tqx20akq.mjs +1 -0
  10. package/dist/chunks/DiffDialog-1.1.13-6nf4k00f.mjs +6 -0
  11. package/dist/chunks/Doctor-1.1.13-sab3pc3m.mjs +1 -0
  12. package/dist/chunks/ExplorerDialog-1.1.13-8j4yph77.mjs +6 -0
  13. package/dist/chunks/ITermBackend-1.1.13-ezctrhfh.mjs +1 -0
  14. package/dist/chunks/InvalidConfigDialog-1.1.13-fn55xkky.mjs +1 -0
  15. package/dist/chunks/InvalidSettingsDialog-1.1.13-v601bm3n.mjs +1 -0
  16. package/dist/chunks/MigrationDialog-1.1.13-m30010yq.mjs +1 -0
  17. package/dist/chunks/Onboarding-1.1.13-r6p8ac38.mjs +1 -0
  18. package/dist/chunks/ProviderManager-1.1.13-2mn20qcd.mjs +1 -0
  19. package/dist/chunks/REPL-1.1.13-mn8t5yw9.mjs +1 -0
  20. package/dist/chunks/ResumeConversation-1.1.13-ayr9p9vf.mjs +1 -0
  21. package/dist/chunks/SnapshotUpdateDialog-1.1.13-wvmmeycx.mjs +1 -0
  22. package/dist/chunks/TeleportProgress-1.1.13-wy75ekbh.mjs +1 -0
  23. package/dist/chunks/TeleportRepoMismatchDialog-1.1.13-mbjqq83z.mjs +1 -0
  24. package/dist/chunks/TeleportResumeWrapper-1.1.13-590kxc7c.mjs +1 -0
  25. package/dist/chunks/TmuxBackend-1.1.13-3z3twxzs.mjs +9 -0
  26. package/dist/chunks/ToolSearchTool-1.1.13-wzknhxkr.mjs +1 -0
  27. package/dist/chunks/TrustDialog-1.1.13-ev0qre9c.mjs +1 -0
  28. package/dist/chunks/activeProvider-1.1.13-mf4z3aws.mjs +1 -0
  29. package/dist/chunks/add-dir-1.1.13-r8re3j87.mjs +1 -0
  30. package/dist/chunks/agentTypes-1.1.13-nxkcga73.mjs +1 -0
  31. package/dist/chunks/agents-1.1.13-86a1wgye.mjs +110 -0
  32. package/dist/chunks/agents-1.1.13-w1pmkekd.mjs +3 -0
  33. package/dist/chunks/api-1.1.13-5ffq20rc.mjs +1 -0
  34. package/dist/chunks/asciicast-1.1.13-633wvh0n.mjs +1 -0
  35. package/dist/chunks/assistant-1.1.13-9q7zxtfz.mjs +1 -0
  36. package/dist/chunks/auth-1.1.13-a50e1ztc.mjs +1 -0
  37. package/dist/chunks/auth-1.1.13-xv576tj3.mjs +1 -0
  38. package/dist/chunks/autoMode-1.1.13-3n3c9p8y.mjs +48 -0
  39. package/dist/chunks/autoUpdater-1.1.13-mb65jkk5.mjs +1 -0
  40. package/dist/chunks/backgroundHousekeeping-1.1.13-avr9z4k0.mjs +1 -0
  41. package/dist/chunks/branch-1.1.13-gmg9we2y.mjs +4 -0
  42. package/dist/chunks/bridge-1.1.13-hvfvhpm1.mjs +2 -0
  43. package/dist/chunks/bridgeConfig-1.1.13-zzxf7mvh.mjs +1 -0
  44. package/dist/chunks/bridgeEnabled-1.1.13-f2fjmfs0.mjs +1 -0
  45. package/dist/chunks/bridgeMain-1.1.13-8tn5vy8z.mjs +88 -0
  46. package/dist/chunks/bridgePointer-1.1.13-97d9ec9y.mjs +1 -0
  47. package/dist/chunks/btw-1.1.13-v2hwppkk.mjs +1 -0
  48. package/dist/chunks/buddy-1.1.13-svfg8x3f.mjs +3 -0
  49. package/dist/chunks/cache-probe-1.1.13-td1bna05.mjs +21 -0
  50. package/dist/chunks/cacheStats-1.1.13-tmmf2k7r.mjs +4 -0
  51. package/dist/chunks/caches-1.1.13-s55yzhpm.mjs +1 -0
  52. package/dist/chunks/claudeDesktop-1.1.13-8d0bp8yb.mjs +1 -0
  53. package/dist/chunks/claudemd-1.1.13-3mc0z25q.mjs +1 -0
  54. package/dist/chunks/clear-1.1.13-1d9yvw3f.mjs +1 -0
  55. package/dist/chunks/clearTerminal-1.1.13-882kpw7s.mjs +1 -0
  56. package/dist/chunks/cli-1.1.13-03rdpsbf.mjs +2 -0
  57. package/dist/chunks/cli-1.1.13-0dha376x.mjs +3 -0
  58. package/dist/chunks/cli-1.1.13-0h48j6a1.mjs +7 -0
  59. package/dist/chunks/cli-1.1.13-0qy978b3.mjs +3 -0
  60. package/dist/chunks/cli-1.1.13-0x1mk1dp.mjs +2 -0
  61. package/dist/chunks/cli-1.1.13-0y4933cs.mjs +2 -0
  62. package/dist/chunks/cli-1.1.13-0yte5zpd.mjs +2 -0
  63. package/dist/chunks/cli-1.1.13-15nbdw38.mjs +2 -0
  64. package/dist/chunks/cli-1.1.13-17xy86gy.mjs +24 -0
  65. package/dist/chunks/cli-1.1.13-1d70jtz7.mjs +6 -0
  66. package/dist/chunks/cli-1.1.13-1frz0zm3.mjs +2 -0
  67. package/dist/chunks/cli-1.1.13-1jf910f2.mjs +2 -0
  68. package/dist/chunks/cli-1.1.13-1qk5qhgt.mjs +2 -0
  69. package/dist/chunks/cli-1.1.13-1rfveg0v.mjs +2 -0
  70. package/dist/chunks/cli-1.1.13-1x4z2mj8.mjs +2 -0
  71. package/dist/chunks/cli-1.1.13-24284zna.mjs +2 -0
  72. package/dist/chunks/cli-1.1.13-284pjmzy.mjs +4 -0
  73. package/dist/chunks/cli-1.1.13-2964cc2e.mjs +2 -0
  74. package/dist/chunks/cli-1.1.13-2a8k8qw7.mjs +2 -0
  75. package/dist/chunks/cli-1.1.13-2f0gzs1e.mjs +2 -0
  76. package/dist/chunks/cli-1.1.13-2m39r998.mjs +2 -0
  77. package/dist/chunks/cli-1.1.13-2mrqqgcm.mjs +202 -0
  78. package/dist/chunks/cli-1.1.13-2sx1bxbt.mjs +2 -0
  79. package/dist/chunks/cli-1.1.13-2txesqy8.mjs +2 -0
  80. package/dist/chunks/cli-1.1.13-3dmbtx8g.mjs +2 -0
  81. package/dist/chunks/cli-1.1.13-3wxfn6t5.mjs +2 -0
  82. package/dist/chunks/cli-1.1.13-46jvx14j.mjs +2 -0
  83. package/dist/chunks/cli-1.1.13-49gvv5kd.mjs +2 -0
  84. package/dist/chunks/cli-1.1.13-4tt8dq0e.mjs +42 -0
  85. package/dist/chunks/cli-1.1.13-4vt96sm8.mjs +2 -0
  86. package/dist/chunks/cli-1.1.13-53ght581.mjs +3 -0
  87. package/dist/chunks/cli-1.1.13-53zq1gs2.mjs +2 -0
  88. package/dist/chunks/cli-1.1.13-5kpppj1f.mjs +6 -0
  89. package/dist/chunks/cli-1.1.13-61mygvzg.mjs +2 -0
  90. package/dist/chunks/cli-1.1.13-64d0d5ye.mjs +2 -0
  91. package/dist/chunks/cli-1.1.13-65c7kxwt.mjs +12 -0
  92. package/dist/chunks/cli-1.1.13-669vhsjj.mjs +2 -0
  93. package/dist/chunks/cli-1.1.13-6727vw4f.mjs +2 -0
  94. package/dist/chunks/cli-1.1.13-6b845car.mjs +2 -0
  95. package/dist/chunks/cli-1.1.13-6c4qxmj3.mjs +4 -0
  96. package/dist/chunks/cli-1.1.13-6dcpjy34.mjs +17 -0
  97. package/dist/chunks/cli-1.1.13-6ebd7gpv.mjs +2 -0
  98. package/dist/chunks/cli-1.1.13-6jy1pnge.mjs +2 -0
  99. package/dist/chunks/cli-1.1.13-6k71beqh.mjs +2 -0
  100. package/dist/chunks/cli-1.1.13-6tf67wfm.mjs +2 -0
  101. package/dist/chunks/cli-1.1.13-74rczf0f.mjs +2 -0
  102. package/dist/chunks/cli-1.1.13-7h18kpv0.mjs +2 -0
  103. package/dist/chunks/cli-1.1.13-7k2bp2pf.mjs +2 -0
  104. package/dist/chunks/cli-1.1.13-7s34jqge.mjs +133 -0
  105. package/dist/chunks/cli-1.1.13-7srn3vy6.mjs +2 -0
  106. package/dist/chunks/cli-1.1.13-7wyfj1qp.mjs +2 -0
  107. package/dist/chunks/cli-1.1.13-82y6dszx.mjs +2 -0
  108. package/dist/chunks/cli-1.1.13-86kjp502.mjs +2 -0
  109. package/dist/chunks/cli-1.1.13-91q67gqp.mjs +2 -0
  110. package/dist/chunks/cli-1.1.13-9609q0ww.mjs +2 -0
  111. package/dist/chunks/cli-1.1.13-9ktdmvzq.mjs +15 -0
  112. package/dist/chunks/cli-1.1.13-9qhgyzkx.mjs +2 -0
  113. package/dist/chunks/cli-1.1.13-9s0arh3g.mjs +25 -0
  114. package/dist/chunks/cli-1.1.13-9v3mg87v.mjs +2 -0
  115. package/dist/chunks/cli-1.1.13-9x53mnyd.mjs +5 -0
  116. package/dist/chunks/cli-1.1.13-a3q7qm6t.mjs +2 -0
  117. package/dist/chunks/cli-1.1.13-a3s5tdea.mjs +2 -0
  118. package/dist/chunks/cli-1.1.13-a3zfe19b.mjs +25 -0
  119. package/dist/chunks/cli-1.1.13-a40ncbc3.mjs +2 -0
  120. package/dist/chunks/cli-1.1.13-a96dm0r5.mjs +4 -0
  121. package/dist/chunks/cli-1.1.13-aac9pss7.mjs +59 -0
  122. package/dist/chunks/cli-1.1.13-aeq919w1.mjs +2 -0
  123. package/dist/chunks/cli-1.1.13-aqph7zr1.mjs +2 -0
  124. package/dist/chunks/cli-1.1.13-ayx92dtj.mjs +6 -0
  125. package/dist/chunks/cli-1.1.13-b47k2p92.mjs +21 -0
  126. package/dist/chunks/cli-1.1.13-b9sg0jsz.mjs +2 -0
  127. package/dist/chunks/cli-1.1.13-baxww5k9.mjs +3 -0
  128. package/dist/chunks/cli-1.1.13-c4zxjf91.mjs +2 -0
  129. package/dist/chunks/cli-1.1.13-cd7jraqe.mjs +2 -0
  130. package/dist/chunks/cli-1.1.13-cey8v1xc.mjs +2 -0
  131. package/dist/chunks/cli-1.1.13-cg1m9a2x.mjs +2 -0
  132. package/dist/chunks/cli-1.1.13-ck2qzqbj.mjs +2 -0
  133. package/dist/chunks/cli-1.1.13-cm4vwx6e.mjs +2 -0
  134. package/dist/chunks/cli-1.1.13-cn9g3704.mjs +12 -0
  135. package/dist/chunks/cli-1.1.13-cqhxyzrd.mjs +2 -0
  136. package/dist/chunks/cli-1.1.13-d4z9sv3g.mjs +2 -0
  137. package/dist/chunks/cli-1.1.13-d54qh52e.mjs +3 -0
  138. package/dist/chunks/cli-1.1.13-d8d30wps.mjs +3 -0
  139. package/dist/chunks/cli-1.1.13-djvyb4s5.mjs +3 -0
  140. package/dist/chunks/cli-1.1.13-dpsjxc84.mjs +2 -0
  141. package/dist/chunks/cli-1.1.13-dthjfxxw.mjs +2 -0
  142. package/dist/chunks/cli-1.1.13-e4hsds4b.mjs +2 -0
  143. package/dist/chunks/cli-1.1.13-e4k7980n.mjs +2 -0
  144. package/dist/chunks/cli-1.1.13-e68npf24.mjs +2 -0
  145. package/dist/chunks/cli-1.1.13-ehaqachs.mjs +2 -0
  146. package/dist/chunks/cli-1.1.13-epjmphrz.mjs +133 -0
  147. package/dist/chunks/cli-1.1.13-ev08z5ye.mjs +24 -0
  148. package/dist/chunks/cli-1.1.13-ewxej7em.mjs +2 -0
  149. package/dist/chunks/cli-1.1.13-ey931psa.mjs +2 -0
  150. package/dist/chunks/cli-1.1.13-f5s7e6kg.mjs +2 -0
  151. package/dist/chunks/cli-1.1.13-far5gqfj.mjs +2 -0
  152. package/dist/chunks/cli-1.1.13-fccy9c48.mjs +2 -0
  153. package/dist/chunks/cli-1.1.13-fjxx2wgm.mjs +2 -0
  154. package/dist/chunks/cli-1.1.13-fkcaczca.mjs +2 -0
  155. package/dist/chunks/cli-1.1.13-fkvcsg0a.mjs +2 -0
  156. package/dist/chunks/cli-1.1.13-fr4zp0cx.mjs +3 -0
  157. package/dist/chunks/cli-1.1.13-g8k8na90.mjs +2 -0
  158. package/dist/chunks/cli-1.1.13-gaa8s22w.mjs +8 -0
  159. package/dist/chunks/cli-1.1.13-gechs2yp.mjs +4 -0
  160. package/dist/chunks/cli-1.1.13-gfyds6b8.mjs +18 -0
  161. package/dist/chunks/cli-1.1.13-gh95gh19.mjs +2 -0
  162. package/dist/chunks/cli-1.1.13-gmqmzw50.mjs +2 -0
  163. package/dist/chunks/cli-1.1.13-gzfw6n93.mjs +39 -0
  164. package/dist/chunks/cli-1.1.13-gznvgt6g.mjs +16 -0
  165. package/dist/chunks/cli-1.1.13-h1v6cap9.mjs +2 -0
  166. package/dist/chunks/cli-1.1.13-h7n0z0dz.mjs +2 -0
  167. package/dist/chunks/cli-1.1.13-h7xrb6x3.mjs +2 -0
  168. package/dist/chunks/cli-1.1.13-hb5bb8jk.mjs +3 -0
  169. package/dist/chunks/cli-1.1.13-hg8x8693.mjs +6 -0
  170. package/dist/chunks/cli-1.1.13-hzneg4va.mjs +2 -0
  171. package/dist/chunks/cli-1.1.13-j02dcs05.mjs +2 -0
  172. package/dist/chunks/cli-1.1.13-j7dbk8te.mjs +2 -0
  173. package/dist/chunks/cli-1.1.13-j98qjhp9.mjs +15 -0
  174. package/dist/chunks/cli-1.1.13-jdcqc6bd.mjs +2 -0
  175. package/dist/chunks/cli-1.1.13-je6371k7.mjs +2 -0
  176. package/dist/chunks/cli-1.1.13-jevpf9b3.mjs +2 -0
  177. package/dist/chunks/cli-1.1.13-k5sbyjwd.mjs +2 -0
  178. package/dist/chunks/cli-1.1.13-k6ef9cy7.mjs +34 -0
  179. package/dist/chunks/cli-1.1.13-kbf9vss4.mjs +4 -0
  180. package/dist/chunks/cli-1.1.13-kct81ph3.mjs +2 -0
  181. package/dist/chunks/cli-1.1.13-kjdr6edt.mjs +15 -0
  182. package/dist/chunks/cli-1.1.13-kmrz3wh8.mjs +2 -0
  183. package/dist/chunks/cli-1.1.13-kq8spsav.mjs +2 -0
  184. package/dist/chunks/cli-1.1.13-ksvd60yr.mjs +2 -0
  185. package/dist/chunks/cli-1.1.13-kw2fntc3.mjs +3 -0
  186. package/dist/chunks/cli-1.1.13-m5grg33r.mjs +4 -0
  187. package/dist/chunks/cli-1.1.13-mct1fasm.mjs +2 -0
  188. package/dist/chunks/cli-1.1.13-mt0y53s0.mjs +17 -0
  189. package/dist/chunks/cli-1.1.13-mzq23677.mjs +2 -0
  190. package/dist/chunks/cli-1.1.13-n24mxjbh.mjs +2 -0
  191. package/dist/chunks/cli-1.1.13-n8nv58q7.mjs +2 -0
  192. package/dist/chunks/cli-1.1.13-nbdp9ez1.mjs +3 -0
  193. package/dist/chunks/cli-1.1.13-nr09192d.mjs +2 -0
  194. package/dist/chunks/cli-1.1.13-pa4chrcw.mjs +2 -0
  195. package/dist/chunks/cli-1.1.13-pam922jf.mjs +2 -0
  196. package/dist/chunks/cli-1.1.13-pedv9sma.mjs +9 -0
  197. package/dist/chunks/cli-1.1.13-pjxb9g99.mjs +2 -0
  198. package/dist/chunks/cli-1.1.13-pmejqt4x.mjs +2 -0
  199. package/dist/chunks/cli-1.1.13-pscw4dkq.mjs +2 -0
  200. package/dist/chunks/cli-1.1.13-psmq4bkh.mjs +50 -0
  201. package/dist/chunks/cli-1.1.13-q1hx591h.mjs +2 -0
  202. package/dist/chunks/cli-1.1.13-q1yggv9b.mjs +2 -0
  203. package/dist/chunks/cli-1.1.13-qc5bvtyx.mjs +2 -0
  204. package/dist/chunks/cli-1.1.13-qd5r2qba.mjs +2 -0
  205. package/dist/chunks/cli-1.1.13-qhavh0s1.mjs +9 -0
  206. package/dist/chunks/cli-1.1.13-qr4adses.mjs +2 -0
  207. package/dist/chunks/cli-1.1.13-qtzpy08k.mjs +2 -0
  208. package/dist/chunks/cli-1.1.13-qv85wtc7.mjs +2 -0
  209. package/dist/chunks/cli-1.1.13-qxrjvprg.mjs +3 -0
  210. package/dist/chunks/cli-1.1.13-qyjx1fky.mjs +2 -0
  211. package/dist/chunks/cli-1.1.13-r2qnta4s.mjs +2 -0
  212. package/dist/chunks/cli-1.1.13-r4znfhyr.mjs +2 -0
  213. package/dist/chunks/cli-1.1.13-r9tfxszp.mjs +2 -0
  214. package/dist/chunks/cli-1.1.13-rcgr5xjp.mjs +1 -0
  215. package/dist/chunks/cli-1.1.13-rh27w2xj.mjs +24 -0
  216. package/dist/chunks/cli-1.1.13-rhtvcdjb.mjs +3 -0
  217. package/dist/chunks/cli-1.1.13-rmt4z6qm.mjs +2 -0
  218. package/dist/chunks/cli-1.1.13-rnajmfsp.mjs +2 -0
  219. package/dist/chunks/cli-1.1.13-rrp2vm36.mjs +2 -0
  220. package/dist/chunks/cli-1.1.13-segzta4x.mjs +2 -0
  221. package/dist/chunks/cli-1.1.13-shz97pa0.mjs +2 -0
  222. package/dist/chunks/cli-1.1.13-smefk747.mjs +2 -0
  223. package/dist/chunks/cli-1.1.13-snkbv1w2.mjs +2 -0
  224. package/dist/chunks/cli-1.1.13-sqg8rfkh.mjs +2 -0
  225. package/dist/chunks/cli-1.1.13-sycf9s0v.mjs +3 -0
  226. package/dist/chunks/cli-1.1.13-t4z97zfd.mjs +2 -0
  227. package/dist/chunks/cli-1.1.13-t8ypngwg.mjs +4 -0
  228. package/dist/chunks/cli-1.1.13-tma5xwa2.mjs +2 -0
  229. package/dist/chunks/cli-1.1.13-tx4y2gtw.mjs +2 -0
  230. package/dist/chunks/cli-1.1.13-tz8pn7w4.mjs +24 -0
  231. package/dist/chunks/cli-1.1.13-v06xvs9s.mjs +2 -0
  232. package/dist/chunks/cli-1.1.13-v2synpdg.mjs +2 -0
  233. package/dist/chunks/cli-1.1.13-v32emtk0.mjs +26 -0
  234. package/dist/chunks/cli-1.1.13-vm8xs878.mjs +3 -0
  235. package/dist/chunks/cli-1.1.13-vpgfmshm.mjs +4 -0
  236. package/dist/chunks/cli-1.1.13-vx6r9z72.mjs +45 -0
  237. package/dist/chunks/cli-1.1.13-vxpmt3js.mjs +66 -0
  238. package/dist/chunks/cli-1.1.13-wh5smpta.mjs +2 -0
  239. package/dist/chunks/cli-1.1.13-wje228e3.mjs +2 -0
  240. package/dist/chunks/cli-1.1.13-wmpc2gzg.mjs +2 -0
  241. package/dist/chunks/cli-1.1.13-wqteqtr2.mjs +2 -0
  242. package/dist/chunks/cli-1.1.13-ws1mny6h.mjs +58 -0
  243. package/dist/chunks/cli-1.1.13-x663d461.mjs +2 -0
  244. package/dist/chunks/cli-1.1.13-x79qava2.mjs +5413 -0
  245. package/dist/chunks/cli-1.1.13-x83epxhw.mjs +2 -0
  246. package/dist/chunks/cli-1.1.13-x92dpkgj.mjs +6 -0
  247. package/dist/chunks/cli-1.1.13-xbxnp58a.mjs +2 -0
  248. package/dist/chunks/cli-1.1.13-xjr3rwfq.mjs +6 -0
  249. package/dist/chunks/cli-1.1.13-xpwxcmvd.mjs +2 -0
  250. package/dist/chunks/cli-1.1.13-xqqf08vq.mjs +2 -0
  251. package/dist/chunks/cli-1.1.13-y5d299s9.mjs +2 -0
  252. package/dist/chunks/cli-1.1.13-y6pa258f.mjs +4 -0
  253. package/dist/chunks/cli-1.1.13-y6vdh2z1.mjs +2 -0
  254. package/dist/chunks/cli-1.1.13-ykzv8nyq.mjs +2 -0
  255. package/dist/chunks/cli-1.1.13-z39hx0gz.mjs +20 -0
  256. package/dist/chunks/cli-1.1.13-z3t7b0fc.mjs +2 -0
  257. package/dist/chunks/cli-1.1.13-z4p8zcbq.mjs +2 -0
  258. package/dist/chunks/cli-1.1.13-z9471mhs.mjs +4 -0
  259. package/dist/chunks/cli-1.1.13-zb95jpx7.mjs +4 -0
  260. package/dist/chunks/cli-1.1.13-zgnxf8h2.mjs +2 -0
  261. package/dist/chunks/cli-1.1.13-zmb192fn.mjs +18 -0
  262. package/dist/chunks/cli-1.1.13-zq5f89xg.mjs +5 -0
  263. package/dist/chunks/cli-1.1.13-zwkd4wt2.mjs +2 -0
  264. package/dist/chunks/client-1.1.13-6axfwqya.mjs +1 -0
  265. package/dist/chunks/color-1.1.13-g1rjvg86.mjs +1 -0
  266. package/dist/chunks/compact-1.1.13-9k4jts81.mjs +3 -0
  267. package/dist/chunks/config-1.1.13-58bj6t43.mjs +1 -0
  268. package/dist/chunks/config-1.1.13-csmwn3d0.mjs +1 -0
  269. package/dist/chunks/constants-1.1.13-cydjncsk.mjs +1 -0
  270. package/dist/chunks/context-1.1.13-04y3svxc.mjs +1 -0
  271. package/dist/chunks/context-noninteractive-1.1.13-03weyc85.mjs +1 -0
  272. package/dist/chunks/conversation-1.1.13-3e1jc3w3.mjs +1 -0
  273. package/dist/chunks/copilotHeaders-1.1.13-51e32r1x.mjs +1 -0
  274. package/dist/chunks/copy-1.1.13-4zq95frp.mjs +9 -0
  275. package/dist/chunks/cost-1.1.13-fwm0etgk.mjs +1 -0
  276. package/dist/chunks/createSSHSession-1.1.13-j73jx662.mjs +1 -0
  277. package/dist/chunks/createSession-1.1.13-2qt6zyq3.mjs +1 -0
  278. package/dist/chunks/debug-1.1.13-v33s5nkx.mjs +1 -0
  279. package/dist/chunks/defaultActionDeps-1.1.13-jyb9mebt.mjs +1526 -0
  280. package/dist/chunks/desktop-1.1.13-3pyvc57q.mjs +1 -0
  281. package/dist/chunks/detectRepository-1.1.13-c8evf71r.mjs +1 -0
  282. package/dist/chunks/detection-1.1.13-k5td7n26.mjs +1 -0
  283. package/dist/chunks/diff-1.1.13-d31m696z.mjs +1 -0
  284. package/dist/chunks/doctor-1.1.13-59947n3f.mjs +1 -0
  285. package/dist/chunks/doctorDiagnostic-1.1.13-tvrr2smf.mjs +1 -0
  286. package/dist/chunks/earlyInput-1.1.13-yngv0q4n.mjs +1 -0
  287. package/dist/chunks/effort-1.1.13-mknzxvcm.mjs +13 -0
  288. package/dist/chunks/engine-1.1.13-p9g24e16.mjs +1 -0
  289. package/dist/chunks/envLessBridgeConfig-1.1.13-wvdxmeaw.mjs +1 -0
  290. package/dist/chunks/envUtils-1.1.13-v5y7eb11.mjs +1 -0
  291. package/dist/chunks/environmentSelection-1.1.13-5fx84mw2.mjs +1 -0
  292. package/dist/chunks/environments-1.1.13-dkqy0n2f.mjs +1 -0
  293. package/dist/chunks/errors-1.1.13-xf58n7yx.mjs +1 -0
  294. package/dist/chunks/exampleCommands-1.1.13-1mqkdys8.mjs +1 -0
  295. package/dist/chunks/execFileNoThrow-1.1.13-08pbvmpc.mjs +1 -0
  296. package/dist/chunks/exit-1.1.13-n91w8c6v.mjs +1 -0
  297. package/dist/chunks/explorer-1.1.13-zh3tbspv.mjs +1 -0
  298. package/dist/chunks/export-1.1.13-vgfr4wyy.mjs +2 -0
  299. package/dist/chunks/extra-usage-1.1.13-ww6z773x.mjs +1 -0
  300. package/dist/chunks/extra-usage-noninteractive-1.1.13-sfm57e8v.mjs +1 -0
  301. package/dist/chunks/fast-1.1.13-2an1j0he.mjs +1 -0
  302. package/dist/chunks/feedback-1.1.13-dz4kng15.mjs +14 -0
  303. package/dist/chunks/firstPartyEventLogger-1.1.13-zdhe9x8w.mjs +1 -0
  304. package/dist/chunks/git-1.1.13-n4743t7m.mjs +1 -0
  305. package/dist/chunks/githubModelsCredentials-1.1.13-39mkwpe0.mjs +1 -0
  306. package/dist/chunks/goal-1.1.13-kt16xsn7.mjs +4 -0
  307. package/dist/chunks/growthbook-1.1.13-12sbk0rh.mjs +1 -0
  308. package/dist/chunks/headless-1.1.13-me11khs4.mjs +2 -0
  309. package/dist/chunks/heapdump-1.1.13-2m1pfhn8.mjs +6 -0
  310. package/dist/chunks/help-1.1.13-sdyj6mfj.mjs +1 -0
  311. package/dist/chunks/hookChains-1.1.13-kwx32g3b.mjs +3 -0
  312. package/dist/chunks/hooks-1.1.13-cgr9s1yz.mjs +1 -0
  313. package/dist/chunks/hooks-1.1.13-rbvjw5bs.mjs +79 -0
  314. package/dist/chunks/ide-1.1.13-699b7xgf.mjs +3 -0
  315. package/dist/chunks/image-processor-napi-1.1.13-m17yzsrx.mjs +1 -0
  316. package/dist/chunks/inboundAttachments-1.1.13-x1sbkysh.mjs +1 -0
  317. package/dist/chunks/index-1.1.13-1magnv9t.mjs +1 -0
  318. package/dist/chunks/index-1.1.13-20fw0vyg.mjs +1 -0
  319. package/dist/chunks/index-1.1.13-3dw8qr3q.mjs +1 -0
  320. package/dist/chunks/index-1.1.13-5fffrw39.mjs +23 -0
  321. package/dist/chunks/index-1.1.13-7v1v2795.mjs +1 -0
  322. package/dist/chunks/index-1.1.13-89b63y1a.mjs +1 -0
  323. package/dist/chunks/index-1.1.13-9hmkds89.mjs +1 -0
  324. package/dist/chunks/index-1.1.13-gy0jpfpr.mjs +1 -0
  325. package/dist/chunks/index-1.1.13-hvpk64ts.mjs +9 -0
  326. package/dist/chunks/index-1.1.13-pfnaxhas.mjs +9 -0
  327. package/dist/chunks/index-1.1.13-pq81pd76.mjs +2 -0
  328. package/dist/chunks/index-1.1.13-q7xgkez4.mjs +1 -0
  329. package/dist/chunks/index-1.1.13-qed5hqgm.mjs +1 -0
  330. package/dist/chunks/index-1.1.13-qncvk76v.mjs +1 -0
  331. package/dist/chunks/index-1.1.13-qzm5brgp.mjs +2 -0
  332. package/dist/chunks/index-1.1.13-sqz3new4.mjs +1 -0
  333. package/dist/chunks/index-1.1.13-swwn9vsr.mjs +1 -0
  334. package/dist/chunks/index-1.1.13-tseyy72z.mjs +1 -0
  335. package/dist/chunks/index-1.1.13-v219xtkm.mjs +1 -0
  336. package/dist/chunks/index-1.1.13-vbws03kk.mjs +30 -0
  337. package/dist/chunks/index-1.1.13-vpewasbk.mjs +1 -0
  338. package/dist/chunks/index-1.1.13-yncdgpnc.mjs +5 -0
  339. package/dist/chunks/index-1.1.13-zs9h2fe1.mjs +1 -0
  340. package/dist/chunks/init-1.1.13-6m1d58s6.mjs +1 -0
  341. package/dist/chunks/initReplBridge-1.1.13-awvfmbnw.mjs +1 -0
  342. package/dist/chunks/ink-1.1.13-vsh153b4.mjs +1 -0
  343. package/dist/chunks/insights-1.1.13-q1te7p8c.mjs +870 -0
  344. package/dist/chunks/install-1.1.13-4m9h1gcp.mjs +1 -0
  345. package/dist/chunks/install-github-app-1.1.13-6psvvf35.mjs +149 -0
  346. package/dist/chunks/install-slack-app-1.1.13-rav6afh8.mjs +1 -0
  347. package/dist/chunks/instrumentation-1.1.13-8hhppwk0.mjs +1 -0
  348. package/dist/chunks/interactiveHelpers-1.1.13-18fm94xz.mjs +1 -0
  349. package/dist/chunks/keybindings-1.1.13-3k2cx6e8.mjs +2 -0
  350. package/dist/chunks/knowledge-1.1.13-v9293wfr.mjs +2 -0
  351. package/dist/chunks/latestVersionCache-1.1.13-1hy01yw3.mjs +1 -0
  352. package/dist/chunks/loadAgentsDir-1.1.13-gkw0j99z.mjs +1 -0
  353. package/dist/chunks/loadPluginHooks-1.1.13-mh4yata3.mjs +1 -0
  354. package/dist/chunks/log-1.1.13-j05vnw45.mjs +1 -0
  355. package/dist/chunks/main-1.1.13-9eb7dv86.mjs +1 -0
  356. package/dist/chunks/managedEnv-1.1.13-9ded70wd.mjs +1 -0
  357. package/dist/chunks/mcp-1.1.13-kp94f55t.mjs +1 -0
  358. package/dist/chunks/mcp-1.1.13-vyp2stqn.mjs +4 -0
  359. package/dist/chunks/mcp-1.1.13-xwk9expt.mjs +17 -0
  360. package/dist/chunks/mcpb-1.1.13-e4x7a1cq.mjs +1 -0
  361. package/dist/chunks/memory-1.1.13-xq6wwcec.mjs +72 -0
  362. package/dist/chunks/model-1.1.13-e9231b6a.mjs +2 -0
  363. package/dist/chunks/model-1.1.13-qkp6et1j.mjs +1 -0
  364. package/dist/chunks/node-1.1.13-eg9nzfxw.mjs +12 -0
  365. package/dist/chunks/oauth-1.1.13-65c8za8p.mjs +1 -0
  366. package/dist/chunks/openaiShim-1.1.13-9ym9m1mj.mjs +14 -0
  367. package/dist/chunks/output-style-1.1.13-3ew33fvw.mjs +1 -0
  368. package/dist/chunks/package-L37ZVTF4-1.1.13-53j92t2g.mjs +1 -0
  369. package/dist/chunks/parseConnectUrl-1.1.13-1jbm6fkk.mjs +1 -0
  370. package/dist/chunks/parser-1.1.13-5g8tytma.mjs +1 -0
  371. package/dist/chunks/passes-1.1.13-5xeg8jj4.mjs +1 -0
  372. package/dist/chunks/permissions-1.1.13-rtwebb2e.mjs +3 -0
  373. package/dist/chunks/permissions-1.1.13-tzfqtc98.mjs +1 -0
  374. package/dist/chunks/plan-1.1.13-fh6rsd03.mjs +1 -0
  375. package/dist/chunks/plist-1.1.13-4dh5ng03.mjs +1 -0
  376. package/dist/chunks/plugin-1.1.13-s7ah8dsz.mjs +29 -0
  377. package/dist/chunks/pluginStartupCheck-1.1.13-yv5cavjc.mjs +1 -0
  378. package/dist/chunks/plugins-1.1.13-nbh7kt80.mjs +9 -0
  379. package/dist/chunks/preActionHook-1.1.13-364dz1r6.mjs +2 -0
  380. package/dist/chunks/print-1.1.13-cba5ekrx.mjs +57 -0
  381. package/dist/chunks/process-1.1.13-cavp5bw3.mjs +1 -0
  382. package/dist/chunks/processBashCommand-1.1.13-fxe0rhkm.mjs +1 -0
  383. package/dist/chunks/processSlashCommand-1.1.13-r4eqk2r6.mjs +9 -0
  384. package/dist/chunks/prompt-1.1.13-31mpaj7k.mjs +1 -0
  385. package/dist/chunks/prompt-1.1.13-ncxsva6c.mjs +1 -0
  386. package/dist/chunks/prompts-1.1.13-dhrj0hdm.mjs +1 -0
  387. package/dist/chunks/protocolHandler-1.1.13-gvd8r63q.mjs +13 -0
  388. package/dist/chunks/provider-1.1.13-aec8n85t.mjs +2 -0
  389. package/dist/chunks/providerProfiles-1.1.13-zy5qqb30.mjs +1 -0
  390. package/dist/chunks/providerValidation-1.1.13-cxfdm6ma.mjs +6 -0
  391. package/dist/chunks/rate-limit-options-1.1.13-v7dcfp2w.mjs +1 -0
  392. package/dist/chunks/registerSubcommands-1.1.13-w8vyweq5.mjs +26 -0
  393. package/dist/chunks/registry-1.1.13-0gr1a931.mjs +1 -0
  394. package/dist/chunks/release-notes-1.1.13-e00b70ja.mjs +5 -0
  395. package/dist/chunks/reload-plugins-1.1.13-sqy72754.mjs +2 -0
  396. package/dist/chunks/remote-env-1.1.13-xx2p7c0r.mjs +1 -0
  397. package/dist/chunks/remoteBridgeCore-1.1.13-8aq4kysc.mjs +1 -0
  398. package/dist/chunks/remoteSession-1.1.13-pnkdpev8.mjs +1 -0
  399. package/dist/chunks/rename-1.1.13-7mj7635m.mjs +1 -0
  400. package/dist/chunks/replBridgeHandle-1.1.13-1jjw29zv.mjs +1 -0
  401. package/dist/chunks/replLauncher-1.1.13-r9abzwa5.mjs +1 -0
  402. package/dist/chunks/resume-1.1.13-j22aqaqb.mjs +2 -0
  403. package/dist/chunks/rewind-1.1.13-f1jde571.mjs +1 -0
  404. package/dist/chunks/rootOptions-1.1.13-m3dg8wsz.mjs +1 -0
  405. package/dist/chunks/runWorkflowHeadless-1.1.13-g7t752v0.mjs +10 -0
  406. package/dist/chunks/sandbox-adapter-1.1.13-8dyb4jrf.mjs +1 -0
  407. package/dist/chunks/sandbox-toggle-1.1.13-ns6smzfv.mjs +1 -0
  408. package/dist/chunks/session-1.1.13-je6e2q22.mjs +2 -0
  409. package/dist/chunks/sessionDiscovery-1.1.13-75db2930.mjs +1 -0
  410. package/dist/chunks/sessionFileAccessHooks-1.1.13-8251mhbe.mjs +1 -0
  411. package/dist/chunks/sessionStorage-1.1.13-xg7nehyd.mjs +1 -0
  412. package/dist/chunks/settings-1.1.13-tbc6gf4g.mjs +1 -0
  413. package/dist/chunks/setup-1.1.13-pk56d4kg.mjs +5 -0
  414. package/dist/chunks/sinks-1.1.13-vgc4py0g.mjs +1 -0
  415. package/dist/chunks/skills-1.1.13-k0dra3w7.mjs +1 -0
  416. package/dist/chunks/startupProfiler-1.1.13-fvpsbvqy.mjs +1 -0
  417. package/dist/chunks/startupUpdateCheck-1.1.13-v5fdv702.mjs +1 -0
  418. package/dist/chunks/state-1.1.13-m97vrspe.mjs +1 -0
  419. package/dist/chunks/stats-1.1.13-x2ranep4.mjs +6 -0
  420. package/dist/chunks/status-1.1.13-xv9dh6gx.mjs +1 -0
  421. package/dist/chunks/stickers-1.1.13-am6n03pg.mjs +1 -0
  422. package/dist/chunks/subprocessEnv-1.1.13-w3gcpn8h.mjs +1 -0
  423. package/dist/chunks/tasks-1.1.13-y9rjkzvh.mjs +1 -0
  424. package/dist/chunks/teamHelpers-1.1.13-paydek0r.mjs +1 -0
  425. package/dist/chunks/teammateModeSnapshot-1.1.13-w7zznyew.mjs +1 -0
  426. package/dist/chunks/teleport-1.1.13-fm868anx.mjs +1 -0
  427. package/dist/chunks/terminalSetup-1.1.13-nfx648p3.mjs +1 -0
  428. package/dist/chunks/theme-1.1.13-2a11bn8e.mjs +1 -0
  429. package/dist/chunks/thinkback-1.1.13-8a8pxp4f.mjs +1 -0
  430. package/dist/chunks/thinkback-play-1.1.13-0v3gmmaa.mjs +1 -0
  431. package/dist/chunks/toolPool-1.1.13-6pma3gae.mjs +1 -0
  432. package/dist/chunks/toolSearch-1.1.13-gmb9gs2k.mjs +1 -0
  433. package/dist/chunks/tools-1.1.13-pdnr83pg.mjs +1 -0
  434. package/dist/chunks/trustedDevice-1.1.13-82cy5yze.mjs +1 -0
  435. package/dist/chunks/turndown.cjs-1.1.13-bqqaen2x.mjs +69 -0
  436. package/dist/chunks/types-1.1.13-2f1xtenh.mjs +1 -0
  437. package/dist/chunks/ultrareviewCommand-1.1.13-89cvmahe.mjs +4 -0
  438. package/dist/chunks/update-1.1.13-0hd3pst5.mjs +72 -0
  439. package/dist/chunks/upgrade-1.1.13-3yjr0p81.mjs +1 -0
  440. package/dist/chunks/upload-1.1.13-kxah5qjz.mjs +7 -0
  441. package/dist/chunks/upstreamproxy-1.1.13-1jkww0dp.mjs +14 -0
  442. package/dist/chunks/url-handler-napi-1.1.13-xxqesd6p.mjs +1 -0
  443. package/dist/chunks/usage-1.1.13-mwqdp27m.mjs +1 -0
  444. package/dist/chunks/util-1.1.13-vzt92dj7.mjs +1 -0
  445. package/dist/chunks/utils-1.1.13-dw4qnd8d.mjs +1 -0
  446. package/dist/chunks/vim-1.1.13-1d635y0m.mjs +1 -0
  447. package/dist/chunks/watchLoop-1.1.13-dd5a4gny.mjs +13 -0
  448. package/dist/chunks/watcher-1.1.13-s8bc1gyy.mjs +1 -0
  449. package/dist/chunks/wiki-1.1.13-0j3t4xgh.mjs +132 -0
  450. package/dist/chunks/workflows-1.1.13-4jfegd8x.mjs +1 -0
  451. package/dist/chunks/worktree-1.1.13-t2dn2nay.mjs +1 -0
  452. package/dist/chunks/worktreeModeEnabled-1.1.13-sc9g7vcd.mjs +1 -0
  453. package/dist/chunks/wrapper-1.1.13-4tbb5aym.mjs +7 -0
  454. package/dist/cli.mjs +2 -2
  455. package/dist/help-agents.txt +1 -1
  456. package/dist/help-auth.txt +1 -1
  457. package/dist/help-auto-mode.txt +1 -1
  458. package/dist/help-doctor.txt +1 -1
  459. package/dist/help-install.txt +1 -1
  460. package/dist/help-mcp.txt +1 -1
  461. package/dist/help-plugin.txt +1 -1
  462. package/dist/help-plugins.txt +1 -1
  463. package/dist/help-setup-token.txt +1 -1
  464. package/dist/help-update.txt +1 -1
  465. package/dist/help-upgrade.txt +1 -1
  466. package/dist/help-workflow.txt +1 -1
  467. package/dist/help.txt +3 -4
  468. package/install.cjs +2 -2
  469. package/package.json +9 -9
  470. package/dist/chunks/AgentTool-1.1.12-z67tcj7m.mjs +0 -1
  471. package/dist/chunks/App-1.1.12-6m8fx08p.mjs +0 -1
  472. package/dist/chunks/ApproveApiKey-1.1.12-9rdxzxf0.mjs +0 -1
  473. package/dist/chunks/AssistantSessionChooser-1.1.12-6rckmhy4.mjs +0 -1
  474. package/dist/chunks/AutoModeOptInDialog-1.1.12-xdatx4qm.mjs +0 -1
  475. package/dist/chunks/BypassPermissionsModeDialog-1.1.12-p6nvmxpz.mjs +0 -1
  476. package/dist/chunks/ClaudeMdExternalIncludesDialog-1.1.12-j1dkkgzh.mjs +0 -1
  477. package/dist/chunks/ConsoleOAuthFlow-1.1.12-9pjvfqhh.mjs +0 -1
  478. package/dist/chunks/DiffDialog-1.1.12-k3538pgr.mjs +0 -6
  479. package/dist/chunks/Doctor-1.1.12-8xnts7st.mjs +0 -1
  480. package/dist/chunks/ExplorerDialog-1.1.12-t2ees4c0.mjs +0 -6
  481. package/dist/chunks/Grove-1.1.12-z9nf34rs.mjs +0 -1
  482. package/dist/chunks/ITermBackend-1.1.12-dnkmjp57.mjs +0 -1
  483. package/dist/chunks/InvalidConfigDialog-1.1.12-hb5hwbwd.mjs +0 -1
  484. package/dist/chunks/InvalidSettingsDialog-1.1.12-7q3pvsg2.mjs +0 -1
  485. package/dist/chunks/MigrationDialog-1.1.12-w85qg0sk.mjs +0 -1
  486. package/dist/chunks/Onboarding-1.1.12-3p5fgrdr.mjs +0 -1
  487. package/dist/chunks/ProviderManager-1.1.12-sqzzs4qj.mjs +0 -1
  488. package/dist/chunks/REPL-1.1.12-ejf4py4g.mjs +0 -1
  489. package/dist/chunks/ResumeConversation-1.1.12-z1gm7qjh.mjs +0 -1
  490. package/dist/chunks/SnapshotUpdateDialog-1.1.12-ktkjmqt0.mjs +0 -1
  491. package/dist/chunks/TeleportProgress-1.1.12-df4xpg25.mjs +0 -1
  492. package/dist/chunks/TeleportRepoMismatchDialog-1.1.12-2jttx03a.mjs +0 -1
  493. package/dist/chunks/TeleportResumeWrapper-1.1.12-bsh7aza9.mjs +0 -1
  494. package/dist/chunks/TmuxBackend-1.1.12-1hm6hjzf.mjs +0 -9
  495. package/dist/chunks/ToolSearchTool-1.1.12-heqpnxfc.mjs +0 -1
  496. package/dist/chunks/TrustDialog-1.1.12-nqtr7drj.mjs +0 -1
  497. package/dist/chunks/activeProvider-1.1.12-36c5q5d7.mjs +0 -1
  498. package/dist/chunks/add-dir-1.1.12-4r3h4r9d.mjs +0 -1
  499. package/dist/chunks/agentTypes-1.1.12-xjtxhm9n.mjs +0 -1
  500. package/dist/chunks/agents-1.1.12-5a1wg8yy.mjs +0 -110
  501. package/dist/chunks/agents-1.1.12-yq791fds.mjs +0 -3
  502. package/dist/chunks/api-1.1.12-w7wkenbt.mjs +0 -1
  503. package/dist/chunks/asciicast-1.1.12-k7kngvg3.mjs +0 -1
  504. package/dist/chunks/assistant-1.1.12-n50thbh3.mjs +0 -1
  505. package/dist/chunks/auth-1.1.12-0qp19bt1.mjs +0 -1
  506. package/dist/chunks/auth-1.1.12-9a3a2p9d.mjs +0 -1
  507. package/dist/chunks/autoMode-1.1.12-zn10hew4.mjs +0 -48
  508. package/dist/chunks/autoUpdater-1.1.12-s1tcgwnw.mjs +0 -1
  509. package/dist/chunks/backgroundHousekeeping-1.1.12-6hfegmgt.mjs +0 -1
  510. package/dist/chunks/branch-1.1.12-92zy497f.mjs +0 -4
  511. package/dist/chunks/bridge-1.1.12-fmkkv0ft.mjs +0 -2
  512. package/dist/chunks/bridgeConfig-1.1.12-6ef9yk1w.mjs +0 -1
  513. package/dist/chunks/bridgeEnabled-1.1.12-h641n63k.mjs +0 -1
  514. package/dist/chunks/bridgeMain-1.1.12-4cgwnkv3.mjs +0 -88
  515. package/dist/chunks/bridgePointer-1.1.12-kfyejqjb.mjs +0 -1
  516. package/dist/chunks/btw-1.1.12-dnt55cvn.mjs +0 -1
  517. package/dist/chunks/buddy-1.1.12-2qy9cqkv.mjs +0 -3
  518. package/dist/chunks/cache-probe-1.1.12-y10v5wg0.mjs +0 -21
  519. package/dist/chunks/cacheStats-1.1.12-z78x71tj.mjs +0 -4
  520. package/dist/chunks/caches-1.1.12-rg9yrcpg.mjs +0 -1
  521. package/dist/chunks/claudeDesktop-1.1.12-4cwvvrgp.mjs +0 -1
  522. package/dist/chunks/claudemd-1.1.12-k6g88gh4.mjs +0 -1
  523. package/dist/chunks/clear-1.1.12-dbbxf36q.mjs +0 -1
  524. package/dist/chunks/clearTerminal-1.1.12-5t5v4w1p.mjs +0 -1
  525. package/dist/chunks/cli-1.1.12-03j3j1bx.mjs +0 -5
  526. package/dist/chunks/cli-1.1.12-03wcx04d.mjs +0 -4
  527. package/dist/chunks/cli-1.1.12-06rfexx7.mjs +0 -2
  528. package/dist/chunks/cli-1.1.12-074txgfh.mjs +0 -12
  529. package/dist/chunks/cli-1.1.12-0te4nxph.mjs +0 -3
  530. package/dist/chunks/cli-1.1.12-141j9tb0.mjs +0 -8
  531. package/dist/chunks/cli-1.1.12-14f97qyv.mjs +0 -2
  532. package/dist/chunks/cli-1.1.12-14n2vprd.mjs +0 -2
  533. package/dist/chunks/cli-1.1.12-1kpyfq9h.mjs +0 -3
  534. package/dist/chunks/cli-1.1.12-1n54vqtf.mjs +0 -1
  535. package/dist/chunks/cli-1.1.12-1v1j4j93.mjs +0 -2
  536. package/dist/chunks/cli-1.1.12-1w6d2zap.mjs +0 -3
  537. package/dist/chunks/cli-1.1.12-23j4qrhe.mjs +0 -24
  538. package/dist/chunks/cli-1.1.12-24hecrkb.mjs +0 -2
  539. package/dist/chunks/cli-1.1.12-2jkk9gdn.mjs +0 -2
  540. package/dist/chunks/cli-1.1.12-2nzqqw4h.mjs +0 -2
  541. package/dist/chunks/cli-1.1.12-2rsbwq0w.mjs +0 -2
  542. package/dist/chunks/cli-1.1.12-2sfgep06.mjs +0 -2
  543. package/dist/chunks/cli-1.1.12-30xcatmk.mjs +0 -2
  544. package/dist/chunks/cli-1.1.12-3avc8vy5.mjs +0 -2
  545. package/dist/chunks/cli-1.1.12-3nh3r36s.mjs +0 -2
  546. package/dist/chunks/cli-1.1.12-3rcvzpnf.mjs +0 -2
  547. package/dist/chunks/cli-1.1.12-3ytes8mc.mjs +0 -2
  548. package/dist/chunks/cli-1.1.12-4270h6mb.mjs +0 -2
  549. package/dist/chunks/cli-1.1.12-42p6d7f9.mjs +0 -2
  550. package/dist/chunks/cli-1.1.12-46wkbg3h.mjs +0 -24
  551. package/dist/chunks/cli-1.1.12-46xs6yv5.mjs +0 -2
  552. package/dist/chunks/cli-1.1.12-4q37r7c7.mjs +0 -2
  553. package/dist/chunks/cli-1.1.12-4v2wmqm5.mjs +0 -2
  554. package/dist/chunks/cli-1.1.12-4xwk18f5.mjs +0 -2
  555. package/dist/chunks/cli-1.1.12-52z4wbfk.mjs +0 -2
  556. package/dist/chunks/cli-1.1.12-53smjkkn.mjs +0 -2
  557. package/dist/chunks/cli-1.1.12-5c6amx7a.mjs +0 -2
  558. package/dist/chunks/cli-1.1.12-5dbxwy0d.mjs +0 -5408
  559. package/dist/chunks/cli-1.1.12-5ebdya2v.mjs +0 -2
  560. package/dist/chunks/cli-1.1.12-5epjf6b6.mjs +0 -2
  561. package/dist/chunks/cli-1.1.12-5n60hab1.mjs +0 -2
  562. package/dist/chunks/cli-1.1.12-5phn452s.mjs +0 -2
  563. package/dist/chunks/cli-1.1.12-5qar5rtd.mjs +0 -2
  564. package/dist/chunks/cli-1.1.12-5wda517s.mjs +0 -24
  565. package/dist/chunks/cli-1.1.12-6492m2bk.mjs +0 -3
  566. package/dist/chunks/cli-1.1.12-6h4jsnrb.mjs +0 -2
  567. package/dist/chunks/cli-1.1.12-6hs980bz.mjs +0 -4
  568. package/dist/chunks/cli-1.1.12-6kn2n3qt.mjs +0 -2
  569. package/dist/chunks/cli-1.1.12-6nk81f9n.mjs +0 -2
  570. package/dist/chunks/cli-1.1.12-6p7q4hd1.mjs +0 -3
  571. package/dist/chunks/cli-1.1.12-6w4t0de0.mjs +0 -66
  572. package/dist/chunks/cli-1.1.12-7009ycac.mjs +0 -2
  573. package/dist/chunks/cli-1.1.12-71evpmpb.mjs +0 -2
  574. package/dist/chunks/cli-1.1.12-7c33mey4.mjs +0 -17
  575. package/dist/chunks/cli-1.1.12-7fgcfdc9.mjs +0 -2
  576. package/dist/chunks/cli-1.1.12-7p6yz3vy.mjs +0 -2
  577. package/dist/chunks/cli-1.1.12-7v3c8nf8.mjs +0 -2
  578. package/dist/chunks/cli-1.1.12-7w47edrg.mjs +0 -2
  579. package/dist/chunks/cli-1.1.12-81527bdh.mjs +0 -2
  580. package/dist/chunks/cli-1.1.12-8e1x1ne0.mjs +0 -2
  581. package/dist/chunks/cli-1.1.12-8f8r3ncx.mjs +0 -6
  582. package/dist/chunks/cli-1.1.12-8fpt1x4e.mjs +0 -2
  583. package/dist/chunks/cli-1.1.12-8kym0ef6.mjs +0 -3
  584. package/dist/chunks/cli-1.1.12-8nsx4xmd.mjs +0 -2
  585. package/dist/chunks/cli-1.1.12-8vqxb580.mjs +0 -2
  586. package/dist/chunks/cli-1.1.12-916jr8n9.mjs +0 -3
  587. package/dist/chunks/cli-1.1.12-95neb0qs.mjs +0 -2
  588. package/dist/chunks/cli-1.1.12-9ebacb10.mjs +0 -2
  589. package/dist/chunks/cli-1.1.12-9f1q50xe.mjs +0 -5
  590. package/dist/chunks/cli-1.1.12-9rhhwnqq.mjs +0 -18
  591. package/dist/chunks/cli-1.1.12-9zcjp5sz.mjs +0 -25
  592. package/dist/chunks/cli-1.1.12-a5k4ztc0.mjs +0 -2
  593. package/dist/chunks/cli-1.1.12-aee47rfb.mjs +0 -2
  594. package/dist/chunks/cli-1.1.12-afkfmm9p.mjs +0 -4
  595. package/dist/chunks/cli-1.1.12-b2khpv7n.mjs +0 -2
  596. package/dist/chunks/cli-1.1.12-bc08z4xe.mjs +0 -2
  597. package/dist/chunks/cli-1.1.12-bjra5k78.mjs +0 -12
  598. package/dist/chunks/cli-1.1.12-bwz4w7h6.mjs +0 -2
  599. package/dist/chunks/cli-1.1.12-c2gz12r6.mjs +0 -6
  600. package/dist/chunks/cli-1.1.12-c2pssp70.mjs +0 -2
  601. package/dist/chunks/cli-1.1.12-c40rcer1.mjs +0 -133
  602. package/dist/chunks/cli-1.1.12-c4rttvkn.mjs +0 -6
  603. package/dist/chunks/cli-1.1.12-c5qeebez.mjs +0 -2
  604. package/dist/chunks/cli-1.1.12-c5qghmz7.mjs +0 -45
  605. package/dist/chunks/cli-1.1.12-cehv7hpf.mjs +0 -2
  606. package/dist/chunks/cli-1.1.12-cv3yy30x.mjs +0 -2
  607. package/dist/chunks/cli-1.1.12-cxgcszn5.mjs +0 -2
  608. package/dist/chunks/cli-1.1.12-d1nm8nza.mjs +0 -4
  609. package/dist/chunks/cli-1.1.12-d51fm3w8.mjs +0 -2
  610. package/dist/chunks/cli-1.1.12-d7rpenw1.mjs +0 -2
  611. package/dist/chunks/cli-1.1.12-dbebv805.mjs +0 -2
  612. package/dist/chunks/cli-1.1.12-ddtnjfs6.mjs +0 -2
  613. package/dist/chunks/cli-1.1.12-dgfste25.mjs +0 -3
  614. package/dist/chunks/cli-1.1.12-djycjsgd.mjs +0 -16
  615. package/dist/chunks/cli-1.1.12-dtv1b9yb.mjs +0 -2
  616. package/dist/chunks/cli-1.1.12-dyrae0ap.mjs +0 -17
  617. package/dist/chunks/cli-1.1.12-dz2c907x.mjs +0 -2
  618. package/dist/chunks/cli-1.1.12-e12y7jsd.mjs +0 -2
  619. package/dist/chunks/cli-1.1.12-ekjf9eqs.mjs +0 -2
  620. package/dist/chunks/cli-1.1.12-ep5dsvhp.mjs +0 -2
  621. package/dist/chunks/cli-1.1.12-eyp8nyhg.mjs +0 -9
  622. package/dist/chunks/cli-1.1.12-f9r3wz7j.mjs +0 -2
  623. package/dist/chunks/cli-1.1.12-fcmw5w0b.mjs +0 -2
  624. package/dist/chunks/cli-1.1.12-fhakaf4h.mjs +0 -2
  625. package/dist/chunks/cli-1.1.12-fkqwvtrq.mjs +0 -2
  626. package/dist/chunks/cli-1.1.12-fpn24m0s.mjs +0 -2
  627. package/dist/chunks/cli-1.1.12-fww07vcc.mjs +0 -20
  628. package/dist/chunks/cli-1.1.12-fx9tstdr.mjs +0 -4
  629. package/dist/chunks/cli-1.1.12-fy2fghxn.mjs +0 -6
  630. package/dist/chunks/cli-1.1.12-fzme9j9v.mjs +0 -2
  631. package/dist/chunks/cli-1.1.12-g42nmgyj.mjs +0 -2
  632. package/dist/chunks/cli-1.1.12-g74smv34.mjs +0 -2
  633. package/dist/chunks/cli-1.1.12-gcneaf27.mjs +0 -9
  634. package/dist/chunks/cli-1.1.12-gj4qv6k2.mjs +0 -2
  635. package/dist/chunks/cli-1.1.12-gj7b8n1z.mjs +0 -4
  636. package/dist/chunks/cli-1.1.12-gwf0e4mf.mjs +0 -2
  637. package/dist/chunks/cli-1.1.12-h7y15004.mjs +0 -21
  638. package/dist/chunks/cli-1.1.12-hg1d1fgx.mjs +0 -2
  639. package/dist/chunks/cli-1.1.12-hz5fe64e.mjs +0 -2
  640. package/dist/chunks/cli-1.1.12-j5w0mkzd.mjs +0 -2
  641. package/dist/chunks/cli-1.1.12-j66wgyhx.mjs +0 -2
  642. package/dist/chunks/cli-1.1.12-jcdbxf8s.mjs +0 -2
  643. package/dist/chunks/cli-1.1.12-jespejyn.mjs +0 -2
  644. package/dist/chunks/cli-1.1.12-jjjbjcg7.mjs +0 -2
  645. package/dist/chunks/cli-1.1.12-jv4zbbhn.mjs +0 -2
  646. package/dist/chunks/cli-1.1.12-k11knrs8.mjs +0 -2
  647. package/dist/chunks/cli-1.1.12-k27ty3ar.mjs +0 -2
  648. package/dist/chunks/cli-1.1.12-kdwqa420.mjs +0 -4
  649. package/dist/chunks/cli-1.1.12-kv8ajcy1.mjs +0 -6
  650. package/dist/chunks/cli-1.1.12-kzy42jsj.mjs +0 -2
  651. package/dist/chunks/cli-1.1.12-ma7hkjc4.mjs +0 -2
  652. package/dist/chunks/cli-1.1.12-mbz4shze.mjs +0 -133
  653. package/dist/chunks/cli-1.1.12-mc1t8ngb.mjs +0 -2
  654. package/dist/chunks/cli-1.1.12-mr8fpbax.mjs +0 -2
  655. package/dist/chunks/cli-1.1.12-mrjjav4s.mjs +0 -59
  656. package/dist/chunks/cli-1.1.12-n1489021.mjs +0 -24
  657. package/dist/chunks/cli-1.1.12-n32xbyrn.mjs +0 -3
  658. package/dist/chunks/cli-1.1.12-n7zph2hg.mjs +0 -2
  659. package/dist/chunks/cli-1.1.12-nfb55a30.mjs +0 -3
  660. package/dist/chunks/cli-1.1.12-nfqrrpxy.mjs +0 -2
  661. package/dist/chunks/cli-1.1.12-ngk7eqab.mjs +0 -2
  662. package/dist/chunks/cli-1.1.12-p4fz1xfs.mjs +0 -58
  663. package/dist/chunks/cli-1.1.12-ph37v1jt.mjs +0 -2
  664. package/dist/chunks/cli-1.1.12-pyh14x7q.mjs +0 -2
  665. package/dist/chunks/cli-1.1.12-q1ejgfk9.mjs +0 -2
  666. package/dist/chunks/cli-1.1.12-q6ks02c2.mjs +0 -2
  667. package/dist/chunks/cli-1.1.12-q8d5kbeh.mjs +0 -2
  668. package/dist/chunks/cli-1.1.12-qv15ch44.mjs +0 -2
  669. package/dist/chunks/cli-1.1.12-r39m68an.mjs +0 -12
  670. package/dist/chunks/cli-1.1.12-r8d25p10.mjs +0 -2
  671. package/dist/chunks/cli-1.1.12-ra14et4a.mjs +0 -2
  672. package/dist/chunks/cli-1.1.12-rambm7kx.mjs +0 -2
  673. package/dist/chunks/cli-1.1.12-rhbwxyg7.mjs +0 -2
  674. package/dist/chunks/cli-1.1.12-rn91dahv.mjs +0 -2
  675. package/dist/chunks/cli-1.1.12-rpazm264.mjs +0 -2
  676. package/dist/chunks/cli-1.1.12-rpfw7xpx.mjs +0 -18
  677. package/dist/chunks/cli-1.1.12-rz34q5jj.mjs +0 -2
  678. package/dist/chunks/cli-1.1.12-rz9vy1pm.mjs +0 -4
  679. package/dist/chunks/cli-1.1.12-saf4srq3.mjs +0 -2
  680. package/dist/chunks/cli-1.1.12-sj6ttn0z.mjs +0 -2
  681. package/dist/chunks/cli-1.1.12-sjzxt59x.mjs +0 -26
  682. package/dist/chunks/cli-1.1.12-sk6tjvhy.mjs +0 -15
  683. package/dist/chunks/cli-1.1.12-sn2zpx90.mjs +0 -2
  684. package/dist/chunks/cli-1.1.12-ss7r3f1r.mjs +0 -50
  685. package/dist/chunks/cli-1.1.12-swkg0qbh.mjs +0 -2
  686. package/dist/chunks/cli-1.1.12-t5bn5vd1.mjs +0 -2
  687. package/dist/chunks/cli-1.1.12-t72ybt8s.mjs +0 -2
  688. package/dist/chunks/cli-1.1.12-t7wqmksj.mjs +0 -2
  689. package/dist/chunks/cli-1.1.12-tnbdhy9q.mjs +0 -3
  690. package/dist/chunks/cli-1.1.12-tr130hgr.mjs +0 -2
  691. package/dist/chunks/cli-1.1.12-tyfp1v92.mjs +0 -2
  692. package/dist/chunks/cli-1.1.12-v395vz88.mjs +0 -202
  693. package/dist/chunks/cli-1.1.12-v6t5mf9a.mjs +0 -2
  694. package/dist/chunks/cli-1.1.12-v92yevq8.mjs +0 -2
  695. package/dist/chunks/cli-1.1.12-vf9e6229.mjs +0 -2
  696. package/dist/chunks/cli-1.1.12-vmt4b9p8.mjs +0 -2
  697. package/dist/chunks/cli-1.1.12-w03v7m0a.mjs +0 -3
  698. package/dist/chunks/cli-1.1.12-w367zd8v.mjs +0 -15
  699. package/dist/chunks/cli-1.1.12-w43nkerm.mjs +0 -2
  700. package/dist/chunks/cli-1.1.12-w85y45c2.mjs +0 -2
  701. package/dist/chunks/cli-1.1.12-w932xt3k.mjs +0 -2
  702. package/dist/chunks/cli-1.1.12-wffm9a57.mjs +0 -2
  703. package/dist/chunks/cli-1.1.12-wgwn4sap.mjs +0 -2
  704. package/dist/chunks/cli-1.1.12-wkfkz74f.mjs +0 -2
  705. package/dist/chunks/cli-1.1.12-x31de1c9.mjs +0 -2
  706. package/dist/chunks/cli-1.1.12-xa0wj1br.mjs +0 -4
  707. package/dist/chunks/cli-1.1.12-xgpj2nyq.mjs +0 -3
  708. package/dist/chunks/cli-1.1.12-xkbvk7gy.mjs +0 -2
  709. package/dist/chunks/cli-1.1.12-xnc015zw.mjs +0 -39
  710. package/dist/chunks/cli-1.1.12-xs6j60cr.mjs +0 -2
  711. package/dist/chunks/cli-1.1.12-xsn6jnhb.mjs +0 -2
  712. package/dist/chunks/cli-1.1.12-xstqyy5j.mjs +0 -2
  713. package/dist/chunks/cli-1.1.12-y138q38p.mjs +0 -2
  714. package/dist/chunks/cli-1.1.12-ydnrj62w.mjs +0 -2
  715. package/dist/chunks/cli-1.1.12-yefhww7n.mjs +0 -25
  716. package/dist/chunks/cli-1.1.12-yk347gmt.mjs +0 -7
  717. package/dist/chunks/cli-1.1.12-ym0xwz0f.mjs +0 -2
  718. package/dist/chunks/cli-1.1.12-ynj3kc2v.mjs +0 -4
  719. package/dist/chunks/cli-1.1.12-yppz4ya2.mjs +0 -15
  720. package/dist/chunks/cli-1.1.12-ytbvkdpk.mjs +0 -2
  721. package/dist/chunks/cli-1.1.12-yy8193ev.mjs +0 -2
  722. package/dist/chunks/cli-1.1.12-z3m10b9z.mjs +0 -2
  723. package/dist/chunks/cli-1.1.12-z6ysegyx.mjs +0 -2
  724. package/dist/chunks/cli-1.1.12-zc3ybemp.mjs +0 -3
  725. package/dist/chunks/cli-1.1.12-zcapjmh1.mjs +0 -34
  726. package/dist/chunks/cli-1.1.12-zdc0tyd1.mjs +0 -4
  727. package/dist/chunks/cli-1.1.12-zdsde34g.mjs +0 -42
  728. package/dist/chunks/cli-1.1.12-zm8dmy4y.mjs +0 -2
  729. package/dist/chunks/cli-1.1.12-zntk4z6s.mjs +0 -2
  730. package/dist/chunks/cli-1.1.12-zpcxbqx6.mjs +0 -2
  731. package/dist/chunks/cli-1.1.12-zpzh9jxt.mjs +0 -2
  732. package/dist/chunks/cli-1.1.12-zrye84ef.mjs +0 -6
  733. package/dist/chunks/cli-1.1.12-zvv4a1gt.mjs +0 -2
  734. package/dist/chunks/cli-1.1.12-zx5fc844.mjs +0 -3
  735. package/dist/chunks/client-1.1.12-vcr1mkrr.mjs +0 -1
  736. package/dist/chunks/color-1.1.12-ct9ya3mq.mjs +0 -1
  737. package/dist/chunks/compact-1.1.12-6r7bss38.mjs +0 -3
  738. package/dist/chunks/config-1.1.12-qqtdd7an.mjs +0 -1
  739. package/dist/chunks/config-1.1.12-y8t2tjqd.mjs +0 -1
  740. package/dist/chunks/constants-1.1.12-cm63efby.mjs +0 -1
  741. package/dist/chunks/context-1.1.12-ygn6bxv9.mjs +0 -1
  742. package/dist/chunks/context-noninteractive-1.1.12-hgswa08e.mjs +0 -1
  743. package/dist/chunks/conversation-1.1.12-tphkevth.mjs +0 -1
  744. package/dist/chunks/copilotHeaders-1.1.12-829bfs3w.mjs +0 -1
  745. package/dist/chunks/copy-1.1.12-r9n6a65j.mjs +0 -9
  746. package/dist/chunks/cost-1.1.12-n2rdrg20.mjs +0 -1
  747. package/dist/chunks/createSSHSession-1.1.12-egtd3eaw.mjs +0 -1
  748. package/dist/chunks/createSession-1.1.12-7gxk01sr.mjs +0 -1
  749. package/dist/chunks/debug-1.1.12-b6cytcv1.mjs +0 -1
  750. package/dist/chunks/defaultActionDeps-1.1.12-rgcrme58.mjs +0 -1526
  751. package/dist/chunks/desktop-1.1.12-eckskas4.mjs +0 -1
  752. package/dist/chunks/detectRepository-1.1.12-ratnwpjs.mjs +0 -1
  753. package/dist/chunks/detection-1.1.12-395de1na.mjs +0 -1
  754. package/dist/chunks/diff-1.1.12-7fqs95xh.mjs +0 -1
  755. package/dist/chunks/doctor-1.1.12-xfvdw00n.mjs +0 -1
  756. package/dist/chunks/doctorDiagnostic-1.1.12-tx9s23b0.mjs +0 -1
  757. package/dist/chunks/earlyInput-1.1.12-61wn1eaf.mjs +0 -1
  758. package/dist/chunks/effort-1.1.12-5q04d93m.mjs +0 -13
  759. package/dist/chunks/engine-1.1.12-8xkrm2vj.mjs +0 -1
  760. package/dist/chunks/envLessBridgeConfig-1.1.12-75x734zy.mjs +0 -1
  761. package/dist/chunks/envUtils-1.1.12-r6n7156t.mjs +0 -1
  762. package/dist/chunks/environmentSelection-1.1.12-x8tyrfwf.mjs +0 -1
  763. package/dist/chunks/environments-1.1.12-dcnn1d4j.mjs +0 -1
  764. package/dist/chunks/errors-1.1.12-nwhp3qgf.mjs +0 -1
  765. package/dist/chunks/exampleCommands-1.1.12-hwkpkwfe.mjs +0 -1
  766. package/dist/chunks/execFileNoThrow-1.1.12-y0sj5esm.mjs +0 -1
  767. package/dist/chunks/exit-1.1.12-gxfn9nw3.mjs +0 -1
  768. package/dist/chunks/explorer-1.1.12-jcxv04by.mjs +0 -1
  769. package/dist/chunks/export-1.1.12-zxnph32a.mjs +0 -2
  770. package/dist/chunks/extra-usage-1.1.12-7w75gnnp.mjs +0 -1
  771. package/dist/chunks/extra-usage-noninteractive-1.1.12-n12v83qy.mjs +0 -1
  772. package/dist/chunks/fast-1.1.12-371erhxm.mjs +0 -1
  773. package/dist/chunks/feedback-1.1.12-s34ps1x1.mjs +0 -14
  774. package/dist/chunks/firstPartyEventLogger-1.1.12-0ncbc73w.mjs +0 -1
  775. package/dist/chunks/git-1.1.12-wxtpf7pf.mjs +0 -1
  776. package/dist/chunks/githubModelsCredentials-1.1.12-tttfpren.mjs +0 -1
  777. package/dist/chunks/goal-1.1.12-800r9esg.mjs +0 -4
  778. package/dist/chunks/grove-1.1.12-hv4r4hb8.mjs +0 -1
  779. package/dist/chunks/growthbook-1.1.12-wxg22631.mjs +0 -1
  780. package/dist/chunks/headless-1.1.12-w864zwd1.mjs +0 -2
  781. package/dist/chunks/heapdump-1.1.12-3jwp0863.mjs +0 -6
  782. package/dist/chunks/help-1.1.12-kzvzc554.mjs +0 -1
  783. package/dist/chunks/hookChains-1.1.12-fkv0v6gn.mjs +0 -3
  784. package/dist/chunks/hooks-1.1.12-p4z7dnw6.mjs +0 -79
  785. package/dist/chunks/hooks-1.1.12-xchahxt5.mjs +0 -1
  786. package/dist/chunks/ide-1.1.12-d8rscp4q.mjs +0 -3
  787. package/dist/chunks/image-processor-napi-1.1.12-s674xy0j.mjs +0 -1
  788. package/dist/chunks/inboundAttachments-1.1.12-x8zn544c.mjs +0 -1
  789. package/dist/chunks/index-1.1.12-02zxjhq3.mjs +0 -1
  790. package/dist/chunks/index-1.1.12-1vh2ahxx.mjs +0 -1
  791. package/dist/chunks/index-1.1.12-2pstq7tv.mjs +0 -9
  792. package/dist/chunks/index-1.1.12-3dbbn7w7.mjs +0 -1
  793. package/dist/chunks/index-1.1.12-5a7hynt4.mjs +0 -1
  794. package/dist/chunks/index-1.1.12-5mfghyec.mjs +0 -1
  795. package/dist/chunks/index-1.1.12-6vq9c1cr.mjs +0 -1
  796. package/dist/chunks/index-1.1.12-7p2zkyey.mjs +0 -1
  797. package/dist/chunks/index-1.1.12-7vsfkxfa.mjs +0 -2
  798. package/dist/chunks/index-1.1.12-9kvmaraj.mjs +0 -23
  799. package/dist/chunks/index-1.1.12-c8fpc37f.mjs +0 -1
  800. package/dist/chunks/index-1.1.12-d9r4f332.mjs +0 -1
  801. package/dist/chunks/index-1.1.12-earg3m7e.mjs +0 -1
  802. package/dist/chunks/index-1.1.12-es1dys6g.mjs +0 -1
  803. package/dist/chunks/index-1.1.12-nghq39nb.mjs +0 -1
  804. package/dist/chunks/index-1.1.12-pbgc1mh4.mjs +0 -1
  805. package/dist/chunks/index-1.1.12-py9kpda6.mjs +0 -30
  806. package/dist/chunks/index-1.1.12-q0mp0qzt.mjs +0 -1
  807. package/dist/chunks/index-1.1.12-rw9g1s3p.mjs +0 -5
  808. package/dist/chunks/index-1.1.12-s6pbqjnw.mjs +0 -1
  809. package/dist/chunks/index-1.1.12-sbwkw323.mjs +0 -1
  810. package/dist/chunks/index-1.1.12-x2xqtds2.mjs +0 -9
  811. package/dist/chunks/index-1.1.12-yqxq96cy.mjs +0 -2
  812. package/dist/chunks/init-1.1.12-t8gxxp63.mjs +0 -1
  813. package/dist/chunks/initReplBridge-1.1.12-bvd6m3pc.mjs +0 -1
  814. package/dist/chunks/ink-1.1.12-c5se9pvd.mjs +0 -1
  815. package/dist/chunks/insights-1.1.12-5keqwf7b.mjs +0 -870
  816. package/dist/chunks/install-1.1.12-623af2vt.mjs +0 -1
  817. package/dist/chunks/install-github-app-1.1.12-e87ed92t.mjs +0 -149
  818. package/dist/chunks/install-slack-app-1.1.12-v4bew01g.mjs +0 -1
  819. package/dist/chunks/instrumentation-1.1.12-0c5g9078.mjs +0 -1
  820. package/dist/chunks/interactiveHelpers-1.1.12-2qc63t4e.mjs +0 -1
  821. package/dist/chunks/keybindings-1.1.12-a0tmf36r.mjs +0 -2
  822. package/dist/chunks/knowledge-1.1.12-363c6h7r.mjs +0 -2
  823. package/dist/chunks/latestVersionCache-1.1.12-fqjqfvtm.mjs +0 -1
  824. package/dist/chunks/loadAgentsDir-1.1.12-ybqbmem8.mjs +0 -1
  825. package/dist/chunks/loadPluginHooks-1.1.12-0szntw6f.mjs +0 -1
  826. package/dist/chunks/log-1.1.12-qb76ahe6.mjs +0 -1
  827. package/dist/chunks/main-1.1.12-e4jqmbqy.mjs +0 -1
  828. package/dist/chunks/managedEnv-1.1.12-gn8k7e7q.mjs +0 -1
  829. package/dist/chunks/mcp-1.1.12-79yf4k4w.mjs +0 -4
  830. package/dist/chunks/mcp-1.1.12-f2qmv0zk.mjs +0 -1
  831. package/dist/chunks/mcp-1.1.12-zfjm905b.mjs +0 -17
  832. package/dist/chunks/mcpb-1.1.12-5ce16qgj.mjs +0 -1
  833. package/dist/chunks/memory-1.1.12-d08yzqtm.mjs +0 -72
  834. package/dist/chunks/model-1.1.12-cba9df5d.mjs +0 -1
  835. package/dist/chunks/model-1.1.12-qqs773ew.mjs +0 -2
  836. package/dist/chunks/node-1.1.12-rvzx843p.mjs +0 -12
  837. package/dist/chunks/oauth-1.1.12-fktc2gey.mjs +0 -1
  838. package/dist/chunks/openaiShim-1.1.12-fhkx69xv.mjs +0 -14
  839. package/dist/chunks/output-style-1.1.12-t539nvk9.mjs +0 -1
  840. package/dist/chunks/package-L37ZVTF4-1.1.12-fhh7sea5.mjs +0 -1
  841. package/dist/chunks/parseConnectUrl-1.1.12-98w20c9k.mjs +0 -1
  842. package/dist/chunks/parser-1.1.12-zafdjj8h.mjs +0 -1
  843. package/dist/chunks/passes-1.1.12-cfx78b3r.mjs +0 -1
  844. package/dist/chunks/permissions-1.1.12-7v81g5xj.mjs +0 -3
  845. package/dist/chunks/permissions-1.1.12-8r0rwpj3.mjs +0 -1
  846. package/dist/chunks/plan-1.1.12-68zd5zhz.mjs +0 -1
  847. package/dist/chunks/plist-1.1.12-qbs00pf8.mjs +0 -1
  848. package/dist/chunks/plugin-1.1.12-thq4hntn.mjs +0 -29
  849. package/dist/chunks/pluginStartupCheck-1.1.12-ewtmw9rh.mjs +0 -1
  850. package/dist/chunks/plugins-1.1.12-3cv1cq26.mjs +0 -9
  851. package/dist/chunks/preActionHook-1.1.12-d2y5qxhy.mjs +0 -2
  852. package/dist/chunks/print-1.1.12-28d4f6k1.mjs +0 -57
  853. package/dist/chunks/privacy-settings-1.1.12-b9svr4k8.mjs +0 -1
  854. package/dist/chunks/process-1.1.12-chcr08qr.mjs +0 -1
  855. package/dist/chunks/processBashCommand-1.1.12-d1yg1qp9.mjs +0 -1
  856. package/dist/chunks/processSlashCommand-1.1.12-yh9sm9jn.mjs +0 -9
  857. package/dist/chunks/prompt-1.1.12-eqqsbefq.mjs +0 -1
  858. package/dist/chunks/prompt-1.1.12-my1cpxq3.mjs +0 -1
  859. package/dist/chunks/prompts-1.1.12-xznb2ad4.mjs +0 -1
  860. package/dist/chunks/protocolHandler-1.1.12-40y37me1.mjs +0 -13
  861. package/dist/chunks/provider-1.1.12-8tmes6kx.mjs +0 -2
  862. package/dist/chunks/providerProfiles-1.1.12-k7xhy2fd.mjs +0 -1
  863. package/dist/chunks/providerValidation-1.1.12-yshek88b.mjs +0 -6
  864. package/dist/chunks/rate-limit-options-1.1.12-gxbek2zs.mjs +0 -1
  865. package/dist/chunks/registerSubcommands-1.1.12-s1q5g1ny.mjs +0 -34
  866. package/dist/chunks/registry-1.1.12-wkqn4ts6.mjs +0 -1
  867. package/dist/chunks/release-notes-1.1.12-qfbyqd13.mjs +0 -5
  868. package/dist/chunks/reload-plugins-1.1.12-5my0jgr4.mjs +0 -2
  869. package/dist/chunks/remote-env-1.1.12-wz3p1bq9.mjs +0 -1
  870. package/dist/chunks/remoteBridgeCore-1.1.12-anebgzqr.mjs +0 -1
  871. package/dist/chunks/remoteSession-1.1.12-4622xyt5.mjs +0 -1
  872. package/dist/chunks/rename-1.1.12-tqghxn33.mjs +0 -1
  873. package/dist/chunks/replBridgeHandle-1.1.12-qc15dz9b.mjs +0 -1
  874. package/dist/chunks/replLauncher-1.1.12-s2k2vt3c.mjs +0 -1
  875. package/dist/chunks/resume-1.1.12-ryzpjeqs.mjs +0 -2
  876. package/dist/chunks/rewind-1.1.12-1fe45fnp.mjs +0 -1
  877. package/dist/chunks/rootOptions-1.1.12-bxwa8e9d.mjs +0 -1
  878. package/dist/chunks/runWorkflowHeadless-1.1.12-8arepd3m.mjs +0 -10
  879. package/dist/chunks/sandbox-adapter-1.1.12-y5vfwm88.mjs +0 -1
  880. package/dist/chunks/sandbox-toggle-1.1.12-bmqzjkd8.mjs +0 -1
  881. package/dist/chunks/session-1.1.12-55r46xq4.mjs +0 -2
  882. package/dist/chunks/sessionDiscovery-1.1.12-dyw8e5zx.mjs +0 -1
  883. package/dist/chunks/sessionFileAccessHooks-1.1.12-xy8msffh.mjs +0 -1
  884. package/dist/chunks/sessionStorage-1.1.12-wt7grqer.mjs +0 -1
  885. package/dist/chunks/settings-1.1.12-qw143rxg.mjs +0 -1
  886. package/dist/chunks/setup-1.1.12-0vs8v1y9.mjs +0 -5
  887. package/dist/chunks/sinks-1.1.12-b8md831f.mjs +0 -1
  888. package/dist/chunks/skills-1.1.12-8axg6568.mjs +0 -1
  889. package/dist/chunks/startupProfiler-1.1.12-m1fc0a1m.mjs +0 -1
  890. package/dist/chunks/startupUpdateCheck-1.1.12-4p3bf4ag.mjs +0 -1
  891. package/dist/chunks/state-1.1.12-ckqt4tjb.mjs +0 -1
  892. package/dist/chunks/stats-1.1.12-wf77dajm.mjs +0 -6
  893. package/dist/chunks/status-1.1.12-901ytber.mjs +0 -1
  894. package/dist/chunks/stickers-1.1.12-aebpa8cn.mjs +0 -1
  895. package/dist/chunks/subprocessEnv-1.1.12-r8kpq95b.mjs +0 -1
  896. package/dist/chunks/tasks-1.1.12-gmrvpykv.mjs +0 -1
  897. package/dist/chunks/teamHelpers-1.1.12-xyywtqtf.mjs +0 -1
  898. package/dist/chunks/teammateModeSnapshot-1.1.12-njh39thh.mjs +0 -1
  899. package/dist/chunks/teleport-1.1.12-rh5bkep5.mjs +0 -1
  900. package/dist/chunks/terminalSetup-1.1.12-ct6aey8w.mjs +0 -1
  901. package/dist/chunks/theme-1.1.12-t5254zeg.mjs +0 -1
  902. package/dist/chunks/thinkback-1.1.12-z360yz4z.mjs +0 -1
  903. package/dist/chunks/thinkback-play-1.1.12-y1wq3m6b.mjs +0 -1
  904. package/dist/chunks/toolPool-1.1.12-p38eypkj.mjs +0 -1
  905. package/dist/chunks/toolSearch-1.1.12-1tghfpxm.mjs +0 -1
  906. package/dist/chunks/tools-1.1.12-ajkb4njh.mjs +0 -1
  907. package/dist/chunks/trustedDevice-1.1.12-yjnkzy41.mjs +0 -1
  908. package/dist/chunks/turndown.cjs-1.1.12-3hpr7sds.mjs +0 -69
  909. package/dist/chunks/types-1.1.12-p981e2xb.mjs +0 -1
  910. package/dist/chunks/ultrareviewCommand-1.1.12-mvab53j9.mjs +0 -4
  911. package/dist/chunks/update-1.1.12-tnmfcwxb.mjs +0 -72
  912. package/dist/chunks/upgrade-1.1.12-d1wcx9qz.mjs +0 -1
  913. package/dist/chunks/upload-1.1.12-pdryb6wx.mjs +0 -7
  914. package/dist/chunks/upstreamproxy-1.1.12-96ye5mxn.mjs +0 -14
  915. package/dist/chunks/url-handler-napi-1.1.12-d3qb4n7w.mjs +0 -1
  916. package/dist/chunks/usage-1.1.12-rbb8qhyy.mjs +0 -1
  917. package/dist/chunks/util-1.1.12-dmfb6s9t.mjs +0 -1
  918. package/dist/chunks/utils-1.1.12-aqwbefma.mjs +0 -1
  919. package/dist/chunks/vim-1.1.12-750k4yz3.mjs +0 -1
  920. package/dist/chunks/watchLoop-1.1.12-ex8pbh7f.mjs +0 -13
  921. package/dist/chunks/watcher-1.1.12-jnj825rr.mjs +0 -1
  922. package/dist/chunks/wiki-1.1.12-pqmnnn75.mjs +0 -132
  923. package/dist/chunks/workflows-1.1.12-81m0dz4r.mjs +0 -1
  924. package/dist/chunks/worktree-1.1.12-fnr58dd9.mjs +0 -1
  925. package/dist/chunks/worktreeModeEnabled-1.1.12-m3y6kfsn.mjs +0 -1
  926. package/dist/chunks/wrapper-1.1.12-gz9canae.mjs +0 -7
  927. /package/dist/chunks/{cli-1.1.12-r3fqsq5b.mjs → cli-1.1.13-8812dqjq.mjs} +0 -0
@@ -0,0 +1,50 @@
1
+ import{uc as y2,vc as iq}from"./cli-1.1.13-xqqf08vq.mjs";import{Bc as aq,wc as h4,xc as i0,yc as h0,zc as X2}from"./cli-1.1.13-j7dbk8te.mjs";import{Cc as _0,Fc as nq}from"./cli-1.1.13-shz97pa0.mjs";import{$p as jz,AG as Xz,BG as yz,CG as Kz,DG as Wq,Ix as V2,Jp as gz,Kp as xz,Kx as lq,Lp as cz,Mp as lz,Np as $2,Op as G0,Pp as L4,Qp as pz,Rp as vz,Rw as G2,Sp as Oq,Sw as Y2,Tp as I4,Tw as W2,Uw as m2,Vp as tz,Vw as cq,WH as o4,Wp as J2,XH as i2,Yp as rz,ZF as L0,ZH as vq,_F as s4,_H as dq,aq as bq,bq as Oz,cq as Uz,dq as Iz,eq as Pz,fq as J0,gq as b4,hG as S,hq as Hq,iG as a2,iq as P4,jG as pq,kq as Tz,lq as Z2,mr as N2,nq as Sz,nr as xq,yG as Vz,zG as Yq}from"./cli-1.1.13-x79qava2.mjs";import{hY as a,jY as fq,vY as R2,wY as gq}from"./cli-1.1.13-r2qnta4s.mjs";import{I0 as w,K0 as N,n1 as l4}from"./cli-1.1.13-aac9pss7.mjs";import{A2 as t4,B2 as Q2,C2 as r4,o2 as p4,p2 as v4,q2 as d4,r2 as n4,s2 as a4,t2 as n2,w2 as i4}from"./cli-1.1.13-7wyfj1qp.mjs";import{K3 as N0,L3 as $,M3 as y,N3 as x0}from"./cli-1.1.13-b9sg0jsz.mjs";import{O3 as U0}from"./cli-1.1.13-wmpc2gzg.mjs";import{l4 as p0,m4 as Fz}from"./cli-1.1.13-baxww5k9.mjs";import{C4 as c4,E4 as d2,N6 as Cq,u6 as a0}from"./cli-1.1.13-gznvgt6g.mjs";import{$ea as P0,Afa as mz,Bfa as Gq,Cfa as O4,Dfa as Hz,Efa as U4,Gfa as Lz,Ifa as q2,Jfa as r0,Sea as z2,Tea as M0,Uea as kq,Vea as t0,Wea as n,Yea as v,Zea as n0,Zfa as Aq,afa as w4,bfa as R0,cfa as Q0,d_ as F0,e_ as Sq,gfa as $0,hfa as B4,jfa as j4,nfa as x4,sfa as X4,tfa as Nz,ufa as Gz,vfa as c0,wfa as y4,xfa as Yz,yfa as V4,zfa as Wz}from"./cli-1.1.13-2mrqqgcm.mjs";import{hla as t,nla as l0}from"./cli-1.1.13-2m39r998.mjs";import{Asa as O0,Bsa as Tq,Esa as d}from"./cli-1.1.13-jdcqc6bd.mjs";function r2(z,q=G4,R){let J=n().find((m)=>m.provider==="openai"&&m.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||t2,model:q,apiKey:z,extras:{githubToken:z}},{makeActive:!0}))return{mode:"failed"};return{mode:"created"}}function e4({onDone:z,onBack:q,onChangeAPIKey:R}){let J=i4()?.trim()?"already-authed":"menu",[G,m]=i.useState(J),[_,b]=i.useState(null),[M,K]=i.useState(""),[L,P]=i.useState(0),[U,k]=i.useState(null),h=i.useCallback(async(f,D=G4,Z0,I)=>{let p=t4(f,Z0,I?.enterpriseDomain);if(!p.success){b(p.warning??"Could not save token to secure storage."),m("error");return}if(r2(f,D,I?.baseUrl).mode==="failed"){b("Could not save the GitHub Copilot provider profile."),m("error");return}c4(),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)=>{m("device-busy"),b(null),k(null);try{let D=await v4({domain:f});k({user_code:D.user_code,verification_uri:D.verification_uri}),await n4(D.verification_uri);let Z0=await d4(D.device_code,{initialInterval:D.interval,timeoutSeconds:D.expires_in,domain:f}),I=await a4(Z0,{domain:f});await h(I.token,G4,Z0,{baseUrl:I.endpoints.api?.replace(/\/+$/,"")||void 0,enterpriseDomain:f})}catch(D){b(D instanceof Error?D.message:String(D)),m("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.'}),$(S,{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"){m("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=p4(M);if(!D){X();return}X(D)},onExit:()=>m(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:_}),$(S,{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}m("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..."}),$(o4,{})]});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."}),$(S,{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"){m("enterprise-domain");return}X()}})]})}var i,G4="github:copilot",t2="https://api.githubcopilot.com";var zz=d(()=>{a2();i2();s4();l4();n2();r4();d2();x4();x0();i=O0(U0(),1)});function Rz(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 zq(z){return!I0(Rz(z),qz)}function qq(z){return z.find(zq)??null}function Y4(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 Rq(z){return(z.quantizationLevel??z.name).toLowerCase()}function Qq(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 $q(z,q,R){let J=Rq(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 Jq(z,q,R){if(q.score!==z.score)return q.score-z.score;let J=Y4(z)??Number.POSITIVE_INFINITY,G=Y4(q)??Number.POSITIVE_INFINITY;if(R==="latency")return J-G;if(R==="coding")return G-J;let m=14;return Math.abs(J-m)-Math.abs(G-m)}function W4(z,q){return z.map((R)=>{let J=Rz(R),G=[],m=0;if(I0(J,qz))m-=40,G.push("not a chat-first model");if(I0(J,s2))m+=q==="coding"?24:q==="balanced"?10:4,G.push("coding-oriented model family");if(I0(J,o2))m+=q==="latency"?4:q==="coding"?6:8,G.push("strong general-purpose model family");if(I0(J,e2))m+=q==="latency"?2:6,G.push("chat/instruct tuned");if(J.includes("vision")||J.includes("vl"))m-=2,G.push("vision model adds extra overhead");m+=Qq(Y4(R),q,G),m+=$q(R,q,G);let _=G.slice(0,3).join(", ");return{...R,score:m,reasons:G,summary:_}}).sort((R,J)=>Jq(R,J,q))}function Qz(z,q){return qq(W4(z,q))}var s2,o2,e2,qz;var $z=d(()=>{s2=["coder","codellama","codegemma","codestral","devstral","starcoder","deepseek-coder","qwen2.5-coder","qwen-coder"],o2=["llama","qwen","mistral","gemma","phi","deepseek"],e2=["instruct","chat","assistant"],qz=["embed","embedding","rerank","bge","whisper"]});function Nq(z){let q=z.toLowerCase();return Zq.some((R)=>q.includes(R))}function m4(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(Nq(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 Zq;var Jz=d(()=>{Zq=["api_key","apikey","key","token","access_token","refresh_token","signature","sig","secret","password","passwd","pwd","auth","authorization"]});function mq(z){let q=`http://localhost:${z.port}/auth/callback`,R=new URL(`${X4}/oauth/authorize`);return R.searchParams.append("response_type","code"),R.searchParams.append("client_id",y4()),R.searchParams.append("redirect_uri",q),R.searchParams.append("scope",Nz),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",Gz),R.toString()}function Vq(){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 Xq(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>${Wz(z)}</p>
31
+ <p>You can close this window and try again in Claudin.</p>
32
+ </body>
33
+ </html>`}function Zz(){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 yq(z){let q=`http://localhost:${z.port}/auth/callback`,R=new URLSearchParams({grant_type:"authorization_code",code:z.authorizationCode,redirect_uri:q,client_id:y4(),code_verifier:z.codeVerifier}),J=await fetch(`${X4}/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(),m=c0(G.access_token),_=c0(G.refresh_token);if(!m||!_)throw Error("Codex OAuth completed, but the token response was missing credentials.");let b=c0(G.id_token);return{apiKey:b?await mz(b).catch(()=>{return}):void 0,accessToken:m,refreshToken:_,idToken:b,accountId:V4(b)??V4(m)}}class K4{authCodeListener=null;port=null;tokenExchangeAbortController=null;buildCancellationError(){return Error("Codex OAuth flow was cancelled.")}async startOAuthFlow(z){let q=Xz(),R=Yz(),J=new Vz("/auth/callback");this.authCodeListener=J,this.port=null;try{let G=await J.start(R);this.port=G;let m=Kz(),_=await yz(q),b=mq({port:G,codeChallenge:_,state:m});try{let M=await J.waitForAuthorization(m,async()=>{await z(b)}),K=new AbortController;this.tokenExchangeAbortController=K;let L;try{L=await yq({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(Vq())}),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?Zz():Xq(K instanceof Error?K.message:String(K)))})}throw K}finally{this.cleanup()}}catch(G){let m=G instanceof Error?G.message:String(G);if(m.includes("EADDRINUSE")||m.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(Zz())});this.authCodeListener?.cancelPendingAuthorization(z),this.authCodeListener=null,this.port=null}}var bz=d(()=>{Yq();Wq();Gq()});function Kq(){return new K4}function Mz(z){let{onAuthenticated:q}=z,R=z.deps?.createOAuthService??Kq,J=z.deps?.openBrowser??p0,G=z.deps?.saveCodexCredentials??Hz,m=z.deps?.isBareMode??t,[_,b]=v0.useState({state:"starting"});return v0.useEffect(()=>{if(m()){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 k=G({apiKey:L.apiKey,accessToken:L.accessToken,refreshToken:L.refreshToken,idToken:L.idToken,accountId:L.accountId,profileId:U?.profileId});if(!k.success)throw Error(k.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,m,q,J,G]),_}var v0;var _z=d(()=>{bz();Fz();Lz();l0();v0=O0(U0(),1)});function Ez(){return{"Content-Type":"application/x-www-form-urlencoded",Accept:"application/json","User-Agent":jz()}}function Bz(z,q){let R=Number(z);return Number.isFinite(R)&&R>0?R*1000:q}function _q(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 wq(z){let q=z?.fetchImpl??fetch,R=z?.signal?AbortSignal.any([z.signal,AbortSignal.timeout(15000)]):AbortSignal.timeout(15000),J=await q(Uz,{method:"POST",headers:Ez(),body:new URLSearchParams({client_id:b4(),scope:Pz}).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(),m=J0(G.device_code),_=J0(G.user_code),b=J0(G.verification_uri);if(!m||!_||!b)throw Error("xAI device code response is missing device_code / user_code / verification_uri.");return{device_code:m,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:Dz/1000,interval:typeof G.interval==="number"&&G.interval>0?G.interval:hz/1000}}async function Bq(z,q){let R=q?.fetchImpl??fetch,J=q?.sleep??_q,G=q?.now??(()=>Date.now()),m=Bz(z.expires_in,Dz),_=G()+m,b=Math.max(Bz(z.interval,hz),Lq);while(G()<_){if(q?.signal?.aborted)throw Error("xAI device authorization was cancelled.");let M=await R(Oz,{method:"POST",headers:Ez(),body:new URLSearchParams({grant_type:Iz,client_id:b4(),device_code:z.device_code}).toString(),signal:q?.signal});if(M.ok){let U=await M.json(),k=J0(U.access_token),h=J0(U.refresh_token);if(!k||!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:k,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+wz,L),q?.signal);continue}if(K.error==="slow_down"){b=Math.min(b+Fq,Mq),await J(Math.min(b+wz,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 H4{abortController=null;async startDeviceFlow(z){let q=new AbortController;this.abortController=q;try{let R=await wq({signal:q.signal});return await z(R),await Bq(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 hz=5000,Lq=1000,Fq=5000,Mq=60000,Dz=300000,wz=3000;var uz=d(()=>{bq();Hq()});function jq(){return new H4}function kz(z){let{onAuthenticated:q}=z,R=z.deps?.createOAuthService??jq,J=z.deps?.saveXaiCredentials??Tz,G=z.deps?.isBareMode??t,[m,_]=d0.useState({state:"starting"});return d0.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]),m}var d0;var Az=d(()=>{uz();l0();Sz();d0=O0(U0(),1)});async function az(){return{"Content-Type":"application/x-www-form-urlencoded",Accept:"application/json","User-Agent":lz,...await vz()}}function fz(z,q){let R=Number(z);return Number.isFinite(R)&&R>0?R*1000:q}function hq(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 Dq(z){let q=z?.fetchImpl??fetch,R=z?.signal?AbortSignal.any([z.signal,AbortSignal.timeout(15000)]):AbortSignal.timeout(15000),J=await q(gz,{method:"POST",headers:await az(),body:new URLSearchParams({client_id:L4()}).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(),m=G0(G.device_code),_=G0(G.user_code),b=G0(G.verification_uri);if(!m||!_||!b)throw Error("Kimi device code response is missing device_code / user_code / verification_uri.");return{device_code:m,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:nz/1000,interval:typeof G.interval==="number"&&G.interval>0?G.interval:dz/1000}}async function Eq(z,q){let R=q?.fetchImpl??fetch,J=q?.sleep??hq,G=q?.now??(()=>Date.now()),m=fz(z.expires_in,nz),_=G()+m,b=Math.max(fz(z.interval,dz),Uq);while(G()<_){if(q?.signal?.aborted)throw Error("Kimi device authorization was cancelled.");let M=await R(xz,{method:"POST",headers:await az(),body:new URLSearchParams({grant_type:cz,client_id:L4(),device_code:z.device_code}).toString(),signal:q?.signal});if(M.ok){let U=await M.json(),k=G0(U.access_token),h=G0(U.refresh_token);if(!k||!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:k,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+Cz,L),q?.signal);continue}if(K.error==="slow_down"){b=Math.min(b+Iq,Pq),await J(Math.min(b+Cz,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 F4{abortController=null;async startDeviceFlow(z){let q=new AbortController;this.abortController=q;try{let R=await Dq({signal:q.signal});return await z(R),await Eq(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 dz=5000,Uq=1000,Iq=5000,Pq=60000,nz=1800000,Cz=3000;var iz=d(()=>{Oq();pz()});function uq(){return new F4}function sz(z){let{onAuthenticated:q}=z,R=z.deps?.createOAuthService??uq,J=z.deps?.saveKimiCredentials??tz,G=z.deps?.isBareMode??t,[m,_]=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 k=J({accessToken:L.accessToken,refreshToken:L.refreshToken,expiresAt:L.expiresAt,profileId:U?.profileId});if(!k.success)throw Error(k.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(m.state!=="waiting")return;if(b.current)return;let M=m.verificationUriComplete??m.verificationUri;if(!M)return;b.current=!0,p0(M).catch(()=>{})},[m]),m}var Y0;var oz=d(()=>{iz();Fz();l0();rz();Y0=O0(U0(),1)});function R1(z){return{name:z.name,baseUrl:z.baseUrl,model:z.model,apiKey:z.apiKey??""}}function Q1(z){let q=t0(z);return{name:q.name,baseUrl:q.baseUrl,model:q.model,apiKey:q.apiKey??""}}function $1(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 m=J.slice(0,G).trim(),_=J.slice(G+1).trim();if(m&&_)q[m]=_}return q}function J1(z){if(!z)return"";return Object.entries(z).map(([q,R])=>`${q}: ${R}`).join(`
49
+ `)}function Z1(z,q){let R={},J=z.awsRegion?.trim();if(J)R.awsRegion=J;let G=z.gcpProject?.trim();if(G)R.gcpProject=G;let m=z.gcpRegion?.trim();if(m)R.gcpRegion=m;let _=z.azureResource?.trim();if(_)R.azureResource=_;let b=$1(q);if(Object.keys(b).length>0)R.customHeaders=b;return Object.keys(R).length>0?R:void 0}function G1(z,q){let R=q?" (active)":"",J=z.apiKey?"key set":"no key",G=z.provider==="anthropic"?"anthropic":"openai-compatible",m=z2(z.model),_=m.length<=3?m.join(", "):`${m[0]}, ${m[1]} + ${m.length-2} more`;return`${G} · ${z.baseUrl} · ${_} · ${J}${R}`}function Y1(z,q){if(z.state==="unreachable")return`Could not reach Atomic Chat at ${m4(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 W1(z,q){if(z.state==="unreachable")return`Could not reach Ollama at ${m4(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 _4(z,q){if(!q)return;return z.find((R)=>R.id===q)}function ez(z,q){return Boolean(z&&q&&z.id===q)}function m1(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===D4&&!R.apiKey)}function V1(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===r0&&!R.apiKey)}function X1(z,q){return z.find((R)=>R.provider==="anthropic"&&R.baseUrl===q&&!R.apiKey)}function y1({onBack:z,onConfigured:q}){let R=H.useCallback(async(G,m)=>{await q(G,m)},[q]);a("confirm:no",z);let J=Mz({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."}),$(S,{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 K1({onBack:z,onConfigured:q}){let R=H.useCallback(async(G,m)=>{await q(G,m)},[q]);a("confirm:no",z);let J=kz({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."}),$(S,{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 b1({onBack:z,onConfigured:q}){let R=H.useCallback(async(G,m)=>{await q(G,m)},[q]);a("confirm:no",z);let J=sz({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."}),$(S,{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 P8({mode:z,onDone:q}){let R=V2(),[J,G]=H.useState([]),[m,_]=H.useState(),[b,M]=H.useState(),[K,L]=H.useState(!1),[P,U]=H.useState(),k=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(()=>Q1("ollama")),[D0,E0]=H.useState({}),[E4,s0]=H.useState(""),[K2,b2]=H.useState(0),[H2,L2]=H.useState(0),[o0,u4]=H.useState(null),[V0,w0]=H.useState(0),[X0,r]=H.useState(0),[F2,s]=H.useState(0),[T4,u]=H.useState(),[y0,B]=H.useState(),[M2,_2]=H.useState(),[S4,u0]=H.useState(!1),[B0,j0]=H.useState(),[o,T0]=H.useState({state:"idle"}),[e,S0]=H.useState({state:"idle"}),[z0,e0]=H.useState({state:"idle"}),[w2,B2]=H.useState(!0),[j2,l]=H.useState(!1),z4=H.useRef(!1),[q4,R4]=H.useState(()=>h0()),[k4,O2]=H.useState(()=>X2());H.useEffect(()=>{queueMicrotask(()=>{let Q=n(),Z=v()?.id;G(Q),_(Z),M(n0()),U(w4()),L(P0()),B2(!1)})},[]);let K0=W0[X0]??W0[0],k0=K0.key,U2=I[k0],Q4=J.length>0,A0=Q4,A4=H.useMemo(()=>[{value:"add",label:"Add provider",description:"Create a new provider profile"},...q4?[{value:"import-legacy",label:"Import from Claude Code",description:"Copy ~/.claude/ tokens, settings, skills, agents, plugins."}]:[],{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:!A0},{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:!A0},...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:!Q4},{value:"delete",label:"Delete provider",description:"Remove a provider profile",disabled:!A0},...S4?[{value:"logout-codex-oauth",label:"Log out Codex OAuth",description:"Clear securely stored Codex OAuth credentials"}]:[],{value:"done",label:"Done",description:"Return to chat"}],[A0,Q4,S4,q4,P,b,J]),$4=H.useCallback(()=>{if(t()){k.current+=1,u0(!1),j0(void 0);return}let Q=++k.current;(async()=>{let Z=await O4();if(Q!==k.current)return;u0(Boolean(Z?.apiKey||Z?.accessToken||Z?.refreshToken||Z?.idToken)),j0(Z?.profileId)})()},[]);H.useEffect(()=>{return $4(),()=>{k.current+=1}},[$4]),H.useEffect(()=>{if(h!=="select-ollama-model")return;let Q=!1;return T0({state:"loading"}),(async()=>{let Z=await m2({baseUrl:I.baseUrl});if(Z.state!=="ready"){if(!Q)T0({state:"unavailable",message:W1(Z,I.baseUrl)});return}let Y=W4(Z.models,"balanced"),W=Qz(Z.models,"balanced");if(!Q)T0({state:"ready",defaultValue:W?.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 S0({state:"loading"}),(async()=>{let Z=await W2({baseUrl:I.baseUrl});if(Z.state!=="ready"){if(!Q)S0({state:"unavailable",message:Y1(Z,I.baseUrl)});return}if(!Q)S0({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 e0({state:"loading"}),(async()=>{let Z=await G2({baseUrl:I.baseUrl,apiKey:I.apiKey||void 0});if(Q)return;if(!Z||Z.length===0){e0({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:W}=Y2(Z,I.model);e0({state:"ready",options:Y,defaultValue:W})})(),()=>{Q=!0}},[I.baseUrl,I.apiKey,h]);function A(){if(z4.current)return;z4.current=!0,queueMicrotask(()=>{let Q=n();G(Q),_(v()?.id),M(n0()),U(w4()),L(P0()),$4(),z4.current=!1})}function b0(){return null}function J4(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 Z4(Q){if(Q?.accessToken&&Q.accountId)return null;let Z=await O4();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 C4(){N2()}async function I2(Q){let Z="provider";l(!0),u("Activating provider...");try{await new Promise((q0)=>queueMicrotask(q0));let Y=P0(),W=$0(Q);if(!W){B("Could not change active provider."),l(!1),O();return}let V=Y?v()??W:W,F=M0(V.model)||a0();if(!Y)R((q0)=>({...q0,mainLoopModel:F,mainLoopModelForSession:null}));Z=W.name;let j=b0(),E=ez(W,B0),x=E?await Z4():null;A();let c=Y&&V.id!==W.id?` (project override still active — this project keeps using ${V.name}; use "Clear project provider override" to apply the new default here)`:"",C=E?J4({prefix:`Active provider: ${W.name}${c}`,activationWarning:x,warnings:[x,j?`could not clear startup provider override (${j})`:null].filter((q0)=>Boolean(q0))}):j?`Active provider: ${W.name}${c}. Warning: could not clear startup provider override (${j}).`:`Active provider: ${W.name}${c}`;u(C),l(!1),q({action:"activated",activeProfileId:W.id,activeProviderName:W.name,activeProviderModel:F,message:`Provider switched to ${W.name} (${F})`}),O()}catch(Y){A(),u(void 0),l(!1);let W=Y instanceof Error?Y.message:String(Y);B(`Could not finish activating ${Z}: ${W}`),O()}}async function P2(){l(!0),u("Clearing project provider override...");try{await new Promise((Z)=>queueMicrotask(Z)),B4(null),A();let Q=v();if(Q){let Z=M0(Q.model)||a0();_0(),R((Y)=>({...Y,mainLoopModel:Z,mainLoopModelForSession:null})),u(`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 u("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(),u(void 0),l(!1);let Z=Q instanceof Error?Q.message:String(Q);B(`Could not clear project provider override: ${Z}`),O()}}async function h2(Q){let Z="provider";l(!0),u("Setting provider for this project...");try{await new Promise((C)=>queueMicrotask(C));let Y=n0(),W=B4(Q);if(!W){B("Could not set project provider override."),l(!1),O();return}let V=M0(W.model)||a0();if(Y===W.id)_0();R((C)=>({...C,mainLoopModel:V,mainLoopModelForSession:null})),Z=W.name;let F=b0(),j=ez(W,B0),E=j?await Z4():null;A();let x=`Active provider for this project: ${W.name}. Other projects keep the global default.`,c=j?J4({prefix:x,activationWarning:E,warnings:[E,F?`could not clear startup provider override (${F})`:null].filter((C)=>Boolean(C))}):F?`${x} Warning: could not clear startup provider override (${F}).`:x;u(c),l(!1),q({action:"activated",activeProfileId:W.id,activeProviderName:W.name,activeProviderModel:V,message:`Provider switched to ${W.name} (${V}) for this project`}),O()}catch(Y){A(),u(void 0),l(!1);let W=Y instanceof Error?Y.message:String(Y);B(`Could not finish setting ${Z} for this project: ${W}`),O()}}function O(){_2("done"),X("menu")}function C0(Q){q({action:"cancelled",message:Q})}function f4(Q){let Z=t0(Q),Y={name:Z.name,baseUrl:Z.baseUrl,model:Z.model,apiKey:Z.apiKey??""};if(f(null),Z0(Z.provider??"openai"),p(Y),E0({}),s0(""),u4(Q),r(0),w0(0),s(Y.name.length),B(void 0),Q==="ollama"){T0({state:"loading"}),X("select-ollama-model");return}if(Q==="atomic-chat"){S0({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 D2(Q){let Z=J.find((W)=>W.id===Q);if(!Z)return;let Y=R1(Z);f(Q),Z0(Z.provider??"openai"),p(Y),E0({awsRegion:Z.extras?.awsRegion,gcpProject:Z.extras?.gcpProject,gcpRegion:Z.extras?.gcpRegion,azureResource:Z.extras?.azureResource}),s0(J1(Z.extras?.customHeaders)),u4(null),r(0),w0(0),s(Y.name.length),B(void 0),X("form")}function f0(Q=I){let Z=Z1(D0,E4),Y={provider:D,name:Q.name,baseUrl:Q.baseUrl,model:Q.model,apiKey:Q.apiKey,extras:Z},W=m0?Q0(m0,Y):R0(Y,{makeActive:!0});if(!W){B("Could not save provider. Fill all required fields.");return}let V=v()?.id===W.id;if(V)_0(),R((c)=>({...c,mainLoopModel:M0(W.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: ${W.name}`:j?`Added provider: ${W.name} (now global default — project keeps using ${E}; use "Clear project provider override" to apply here)`:`Added provider: ${W.name} (now active)`;if(u(F?`${x}. Warning: could not clear startup provider override (${F}).`:x),z==="first-run"){q({action:"saved",activeProfileId:W.id,message:`Provider configured: ${W.name}`});return}f(null),r(0),B(void 0),O()}function E2(){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}),$(S,{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."}),$(S,{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),f0(Z)},onCancel:()=>X("select-preset")})]})}function u2(){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}),$(S,{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."}),$(S,{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),f0(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 T2(){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}),$(S,{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:M4,label:"Enter a model id manually",description:"Type an id the provider did not list"}],Z=z0.defaultValue??M4;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."}),$(S,{options:Q,defaultValue:Z,defaultFocusValue:Z,inlineDescriptions:!0,visibleOptionCount:Math.min(8,Q.length),onChange:(Y)=>{if(Y===M4){H0("model");return}let W={...I,model:Y};p(W),g4(W)},onCancel:()=>H0("apiKey")}),$(N,{dimColor:!0,children:"Enter to select · Esc to go back"})]})}function g4(Q){if(o0==="anthropic"||o0==="custom"){p(Q),X("custom-headers");return}f0(Q)}function S2(Q){let Z=Q.trim();if(!K0.optional&&Z.length===0){B(`${K0.label} is required.`);return}let Y={...I,[k0]:Z};if(p(Y),B(void 0),X0<W0.length-1){let W=X0+1,V=W0[W]?.key??"name";if(V==="model"&&!tq.has(D)&&Y.baseUrl.trim().length>0){X("select-openai-model");return}r(W),s(Y[V].length);return}g4(Y)}function k2(){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",k2,{context:"Settings",isActive:h==="form"}),a("confirm:no",()=>H0("model"),{context:"Settings",isActive:h==="select-openai-model"&&(z0.state==="loading"||z0.state==="idle")});function A2(){if(B(void 0),V0>0){w0(V0-1);return}X("select-preset")}a("confirm:no",A2,{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 C2(){let Q=!t(),Z=[...q4?[{value:"import-legacy",label:"Import from Claude Code",description:"Reuse ~/.claude/ tokens, settings, theme, MCP, skills, agents, plugins."}]:[],{value:"dashscope-intl",label:"Alibaba Coding Plan",description:"Alibaba DashScope International endpoint"},{value:"dashscope-cn",label:"Alibaba Coding Plan (China)",description:"Alibaba DashScope China endpoint"},{value:"anthropic",label:"Anthropic",description:"Native Claude API (x-api-key auth)"},{value:"atomic-chat",label:"Atomic Chat",description:"Local Model Provider"},{value:"azure-openai",label:"Azure OpenAI",description:"Azure OpenAI endpoint (model=deployment name)"},{value:"foundry",label:"Azure AI Foundry",description:"Anthropic models hosted on Azure AI Foundry (resource-scoped)"},{value:"bedrock",label:"AWS Bedrock",description:"Anthropic models on AWS Bedrock (region-scoped, AWS creds)"},{value:"bankr",label:"Bankr",description:"Bankr LLM Gateway (OpenAI-compatible)"},{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."}),$(S,{options:Z,onChange:(Y)=>{if(Y==="skip"){C0("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 W=await h4({force:!0});R4(h0()),A();let V=i0(W);if(W.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(u(V),B(void 0),z==="manage")O()})();return}f4(Y)},onCancel:()=>{if(z==="first-run"){C0("Provider setup skipped");return}O()},visibleOptionCount:Math.min(13,Z.length)})]})}function f2(){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."}),$(S,{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 g2(){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."}),$(S,{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"){f4("moonshotai");return}X("select-preset")},onCancel:()=>X("select-preset"),visibleOptionCount:3})]})}function x2(){let Q=(dq(),Tq(vq)).ConsoleOAuthFlow;return $(w,{flexDirection:"column",gap:1,children:$(Q,{mode:"login",onDone:()=>{let Z=t0("anthropic"),Y={provider:"anthropic",name:Z.name,baseUrl:Z.baseUrl,model:Z.model},W=X1(n(),Z.baseUrl),V=W?Q0(W.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=W&&m!==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}u(j),B(void 0),O()}})})}function c2(){let Q=o0;if(Q!=="bedrock"&&Q!=="vertex"&&Q!=="foundry")return null;let Z=N1[Q],Y=Z[V0]??Z[0],W=D0[Y.key]??"";function V(F){let j=F.trim();if(j.length===0){B(`${Y.label} is required.`);return}let E={...D0,[Y.key]:j};if(E0(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:W,onChange:(F)=>E0((j)=>({...j,[Y.key]:F})),onSubmit:V,focus:!0,showCursor:!0,placeholder:`${Y.placeholder}${F0.ellipsis}`,columns:80,cursorOffset:K2,onChangeCursorOffset:b2})]}),y0&&$(N,{color:"error",children:y0}),$(N,{dimColor:!0,children:"Press Enter to continue. Press Esc to go back."})]})}function l2(){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:E4,onChange:s0,onSubmit:()=>f0(I),focus:!0,showCursor:!0,placeholder:"X-Header: value",columns:80,multiline:!0,cursorOffset:H2,onChangeCursorOffset:L2})]}),y0&&$(N,{color:"error",children:y0}),$(N,{dimColor:!0,children:"Press Enter on a blank line to save. Press Esc to go back."})]})}function p2(){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:U2,onChange:(Q)=>p((Z)=>({...Z,[k0]:Q})),onSubmit:S2,focus:!0,showCursor:!0,placeholder:`${K0.placeholder}${F0.ellipsis}`,mask:k0==="apiKey"?"*":void 0,columns:80,cursorOffset:F2,onChangeCursorOffset:s})]}),y0&&$(N,{color:"error",children:y0}),$(N,{dimColor:!0,children:"Press Enter to continue. Press Esc to go back."})]})}function v2(){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."}),T4&&$(N,{children:T4}),$(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,": ",G1(Y,Y.id===m)]},Y.id))}),$(S,{options:A4,onChange:(Y)=>{switch(B(void 0),Y){case"add":X("select-preset");break;case"import-legacy":{(async()=>{let W=await h4({force:!0});if(R4(h0()),A(),W.errors.length>0)B(i0(W));else u(i0(W))})();break}case"activate":if(Z)X("select-active");break;case"activate-project":if(Z)X("select-active-project");break;case"clear-project-override":P2();break;case"edit":if(Q)X("select-edit");break;case"delete":if(Z)X("select-delete");break;case"logout-codex-oauth":{let W=U4();if(!W.success){B(W.warning??"Could not clear Codex OAuth credentials.");break}u0(!1),j0(void 0);let V=_4(n(),B0),F=null;if(V){let j=j4(V.id);if(!j.removed){B("Codex OAuth credentials were cleared, but the Codex profile could not be removed."),A();break}C4(),F=j.activeProfileId?b0():null}A(),u(F?`Codex OAuth logged out. Warning: could not clear startup provider override (${F}).`:"Codex OAuth logged out.");break}default:C0("Provider manager closed");break}},onCancel:()=>C0("Provider manager closed"),defaultFocusValue:M2,visibleOptionCount:A4.length})]})}function g0(Q,Z,Y){let W=J.map((V)=>{let F=[];if(V.id===m)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(W.length===0)return y(w,{flexDirection:"column",gap:1,children:[$(N,{color:"remember",bold:!0,children:Q}),$(N,{dimColor:!0,children:Z}),$(S,{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}),$(S,{options:W,onChange:Y,onCancel:()=>O(),visibleOptionCount:Math.min(10,Math.max(2,W.length))})]})}let T;switch(h){case"select-preset":T=C2();break;case"select-ollama-model":T=u2();break;case"select-openai-model":T=T2();break;case"select-atomic-chat-model":T=E2();break;case"codex-oauth":T=$(y1,{onBack:()=>X("select-preset"),onConfigured:async(Q,Z)=>{let Y={provider:"openai",name:rq,baseUrl:q2,model:sq,apiKey:""},W=_4(n(),B0),V=W?Q0(W.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=W&&m!==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 Z4(Q);u0(!0),j0(V.id),A();let x=[E,j?`could not clear startup provider override (${j})`:null].filter((C)=>Boolean(C)),c=J4({prefix:"Codex OAuth configured",activationWarning:E,warnings:x});if(z==="first-run"){q({action:"saved",activeProfileId:F.id,message:c});return}u(c),B(void 0),O()}});break;case"xai-oauth":T=$(K1,{onBack:()=>X("select-preset"),onConfigured:async(Q,Z)=>{let Y={provider:"openai",name:oq,baseUrl:r0,model:eq,apiKey:""},W=V1(n(),P4()?.profileId),V=W?Q0(W.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=W&&m!==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}u(j),B(void 0),O()}});break;case"kimi-auth-choice":T=g2();break;case"kimi-oauth":T=$(b1,{onBack:()=>X("kimi-auth-choice"),onConfigured:async(Q,Z)=>{let Y={provider:"openai",name:z1,baseUrl:D4,model:q1,apiKey:""},W=m1(n(),I4()?.profileId),V=W?Q0(W.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=W&&m!==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}u(j),B(void 0),O()}});break;case"github-onboard":T=$(e4,{onDone:(Q)=>{if(Q)u(Q),B(void 0);A(),O()},onBack:()=>X("select-preset"),onChangeAPIKey:A});break;case"anthropic-auth-choice":T=f2();break;case"anthropic-oauth":T=x2();break;case"cloud-extras":T=c2();break;case"custom-headers":T=l2();break;case"form":T=p2();break;case"select-active":T=g0("Set active provider (Global)","No providers available. Add one first.",(Q)=>{I2(Q)});break;case"select-active-project":T=g0("Set active provider (Project)","No providers available. Add one first.",(Q)=>{h2(Q)});break;case"select-edit":T=g0("Edit provider","No providers available. Add one first.",(Q)=>{D2(Q)});break;case"select-delete":T=g0("Delete provider","No providers available. Add one first.",(Q)=>{let Z=J.find((C)=>C.id===Q),Y=Z?.provider==="openai"&&Z?.extras?.githubToken!==void 0,W=_4(J,B0)?.id===Q,V=P4()?.profileId,F=Z?.provider==="openai"&&Z.baseUrl===r0&&!Z.apiKey&&V===Q,j=I4()?.profileId,E=Z?.provider==="openai"&&Z.baseUrl===D4&&!Z.apiKey&&j===Q,x=v()?.id===Q,c=j4(Q);if(!c.removed)B("Could not delete provider.");else{let C=[];if(W){let g=U4();if(!g.success)C.push(g.warning??"could not clear Codex OAuth credentials");else j0(void 0);C4()}if(Y){let g=Q2();if(!g.success)C.push(g.warning??"could not clear GitHub Copilot token")}if(F){let g=Z2();if(!g.success)C.push(g.warning??"could not clear xAI OAuth credentials")}if(E){let g=J2();if(!g.success)C.push(g.warning??"could not clear Kimi Code OAuth credentials")}let q0=c.activeProfileId?b0():null;if(q0)C.push(`could not clear startup provider override (${q0})`);if(A(),x){let g=v();if(g)_0(),R((N4)=>({...N4,mainLoopModel:M0(g.model),mainLoopModelForSession:null}));else _0(),R((N4)=>({...N4,mainLoopModel:null,mainLoopModelForSession:null}))}u(C.length>0?`Provider deleted. Warning: ${C.join("; ")}.`:"Provider deleted")}O()});break;case"menu":default:T=v2();break}return y(R2,{color:"permission",children:[$(y2,{enabled:k4,onDismiss:(Q)=>{R4(h0()),O2(!1),A();let Z=v();if(Q==="migrated"&&z==="first-run"&&Z)q({action:"saved",activeProfileId:Z.id,activeProviderName:Z.name,activeProviderModel:Z.model})}}),k4?null:w2?y(w,{flexDirection:"column",gap:1,children:[$(N,{color:"remember",bold:!0,children:"Loading providers..."}),$(N,{dimColor:!0,children:"Reading provider profiles from disk."})]}):j2?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."})]}):T]})}var H,W0,M4="\x00__manual__",tq,rq="Codex OAuth",sq="codexplan",oq="xAI / Grok (OAuth)",eq="grok-4",z1="Moonshot AI",q1,D4="https://api.kimi.com/coding/v1",N1;var H1=d(()=>{Sq();zz();Aq();l4();fq();lq();nq();Lz();l0();kq();Cq();xq();x4();r4();cq();$z();Jz();pq();gq();iq();s4();_z();Az();oz();Sz();rz();pz();aq();x0();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.'}],tq=new Set(["anthropic","bedrock","vertex","foundry"]),q1=$2;N1={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{m4 as pc,Jz as qc,$1 as rc,P8 as sc,H1 as tc};
@@ -0,0 +1,2 @@
1
+ import{Yi as M,Zi as W,fO as O,gO as P,hO as Q,iO as U,lO as X}from"./cli-1.1.13-x79qava2.mjs";import{Esa as V}from"./cli-1.1.13-jdcqc6bd.mjs";function Y(f){return f==="projectSettings"||f==="policySettings"||f==="command"}function J(f){return O(f)}function L(f,G,q){let v=J(G.source),z=J(q.source),j=G.ruleValue.toolName;if(f==="deny")return`Remove the "${j}" deny rule from ${v}, or remove the specific allow rule from ${z}`;return`Remove the "${j}" ask rule from ${v}, or remove the specific allow rule from ${z}`}function Z(f,G,q){let{toolName:v,ruleContent:z}=f.ruleValue;if(z===void 0)return{shadowed:!1};let j=G.find((E)=>E.ruleValue.toolName===v&&E.ruleValue.ruleContent===void 0);if(!j)return{shadowed:!1};if(v===M&&q.sandboxAutoAllowEnabled){if(!Y(j.source))return{shadowed:!1}}return{shadowed:!0,shadowedBy:j,shadowType:"ask"}}function _(f,G){let{toolName:q,ruleContent:v}=f.ruleValue;if(v===void 0)return{shadowed:!1};let z=G.find((j)=>j.ruleValue.toolName===q&&j.ruleValue.ruleContent===void 0);if(!z)return{shadowed:!1};return{shadowed:!0,shadowedBy:z,shadowType:"deny"}}function F(f,G){let q=[],v=P(f),z=U(f),j=Q(f);for(let E of v){let H=_(E,j);if(H.shadowed){let K=J(H.shadowedBy.source);q.push({rule:E,reason:`Blocked by "${H.shadowedBy.ruleValue.toolName}" deny rule (from ${K})`,shadowedBy:H.shadowedBy,shadowType:"deny",fix:L("deny",H.shadowedBy,E)});continue}let I=Z(E,z,G);if(I.shadowed){let K=J(I.shadowedBy.source);q.push({rule:E,reason:`Shadowed by "${I.shadowedBy.ruleValue.toolName}" ask rule (from ${K})`,shadowedBy:I.shadowedBy,shadowType:"ask",fix:L("ask",I.shadowedBy,E)})}}return q}var $=V(()=>{W();X()});
2
+ export{F as ng,$ as og};
@@ -0,0 +1,2 @@
1
+ import{K0 as t,jZ as s,n1 as f}from"./cli-1.1.13-aac9pss7.mjs";import{L3 as n,M3 as c,N3 as r}from"./cli-1.1.13-b9sg0jsz.mjs";import{Asa as m,Esa as l}from"./cli-1.1.13-jdcqc6bd.mjs";function T(){let o=i.c(1),e;if(o[0]===Symbol.for("react.memo_cache_sentinel"))e=c(t,{color:"permission",children:["Press ",n(t,{bold:!0,children:"Enter"})," to continue…"]}),o[0]=e;else e=o[0];return e}var i;var p=l(()=>{f();r();i=m(s(),1)});
2
+ export{T as jg,p as kg};
@@ -0,0 +1,2 @@
1
+ import{Qd as j,Rd as E}from"./cli-1.1.13-gechs2yp.mjs";import{GL as X,IL as Y,RL as Z,TL as w,XL as _,ZL as $,cM as f,lp as W,op as v}from"./cli-1.1.13-x79qava2.mjs";import{Fea as S,Rea as A,aca as Q,nca as T,pga as V,xga as N}from"./cli-1.1.13-2mrqqgcm.mjs";import{uka as B,xka as R}from"./cli-1.1.13-ayx92dtj.mjs";import{$ka as K,Uka as L}from"./cli-1.1.13-6c4qxmj3.mjs";import{Esa as y}from"./cli-1.1.13-jdcqc6bd.mjs";function d(q){if(J=q,G!==null&&G.length>0)q(G),G=null;return()=>{J=null}}async function C(){let q=await Y(),D=X(),x=new Set;for(let[z,h]of Object.entries(q)){let F=D[z]?.autoUpdate;if(F!==void 0?F:Q(z,h))x.add(z.toLowerCase())}return x}async function M(q,D){let x=!1;for(let{scope:z}of D)try{let h=await j(q,z);if(h.success&&!h.alreadyUpToDate)x=!0,B(`Plugin autoupdate: updated ${q} from ${h.oldVersion} to ${h.newVersion}`);else if(!h.alreadyUpToDate)B(`Plugin autoupdate: failed to update ${q}: ${h.message}`,{level:"warn"})}catch(h){B(`Plugin autoupdate: error updating ${q}: ${L(h)}`,{level:"warn"})}return x?q:null}async function P(q){let D=_(),x=Object.keys(D.plugins);if(x.length===0)return[];return(await Promise.allSettled(x.map(async(h)=>{let{marketplace:F}=W(h);if(!F||!q.has(F.toLowerCase()))return null;let H=D.plugins[h];if(!H||H.length===0)return null;let O=H.filter($);if(O.length===0)return null;return M(h,O)}))).filter((h)=>h.status==="fulfilled"&&h.value!==null).map((h)=>h.value)}async function m(q){return P(q)}function t(){(async()=>{if(S()){B("Plugin autoupdate: skipped (auto-updater disabled)");return}try{let q=await C();if(q.size===0)return;let x=(await Promise.allSettled(Array.from(q).map(async(h)=>{try{await Z(h,void 0,{disableCredentialHelper:!0})}catch(F){B(`Plugin autoupdate: failed to refresh marketplace ${h}: ${L(F)}`,{level:"warn"})}}))).filter((h)=>h.status==="rejected");if(x.length>0)B(`Plugin autoupdate: ${x.length} marketplace refresh(es) failed`,{level:"warn"});B("Plugin autoupdate: checking installed plugins");let z=await m(q);if(z.length>0)if(J)J(z);else G=z}catch(q){V(q)}})()}var J=null,G=null;var U=y(()=>{E();A();R();K();N();f();w();v();T()});
2
+ export{d as nd,P as od,t as pd,U as qd};
@@ -0,0 +1,2 @@
1
+ import{p_ as B,r_ as E}from"./cli-1.1.13-2mrqqgcm.mjs";import{rja as C,uja as y}from"./cli-1.1.13-zgnxf8h2.mjs";import{_ja as T,cka as M,uka as O,xka as p}from"./cli-1.1.13-ayx92dtj.mjs";import{$ka as x,Uka as L}from"./cli-1.1.13-6c4qxmj3.mjs";y();p();E();x();M();function N(W){if(W<60000)return`${Math.round(W/1000)}s`;let Z=Math.floor(W/60000),z=Math.round(W%60000/1000);return z>0?`${Z}m ${z}s`:`${Z}m`}function F(W){let z=(W.startsWith("sk-ant-si-")?W.slice(10):W).split(".");if(z.length!==3||!z[1])return null;try{return T(Buffer.from(z[1],"base64url").toString("utf8"))}catch{return null}}function c(W){let Z=F(W);if(Z!==null&&typeof Z==="object"&&"exp"in Z&&typeof Z.exp==="number")return Z.exp;return null}var h=300000,j=1800000,H=3,R=60000;function t({getAccessToken:W,onRefresh:Z,label:z,refreshBufferMs:P=h}){let J=new Map,Y=new Map,w=new Map;function U(q){let Q=(w.get(q)??0)+1;return w.set(q,Q),Q}function A(q,Q){let $=c(Q);if(!$){O(`[${z}:token] Could not decode JWT expiry for sessionId=${q}, token prefix=${Q.slice(0,15)}…, keeping existing timer`);return}let V=J.get(q);if(V)clearTimeout(V);let v=U(q),X=new Date($*1000).toISOString(),G=$*1000-Date.now()-P;if(G<=0){O(`[${z}:token] Token for sessionId=${q} expires=${X} (past or within buffer), refreshing immediately`),K(q,v);return}O(`[${z}:token] Scheduled token refresh for sessionId=${q} in ${N(G)} (expires=${X}, buffer=${P/1000}s)`);let k=setTimeout(K,G,q,v);J.set(q,k)}function D(q,Q){let $=J.get(q);if($)clearTimeout($);let V=U(q),v=Math.max(Q*1000-P,30000);O(`[${z}:token] Scheduled token refresh for sessionId=${q} in ${N(v)} (expires_in=${Q}s, buffer=${P/1000}s)`);let X=setTimeout(K,v,q,V);J.set(q,X)}async function K(q,Q){let $;try{$=await W()}catch(v){O(`[${z}:token] getAccessToken threw for sessionId=${q}: ${L(v)}`,{level:"error"})}if(w.get(q)!==Q){O(`[${z}:token] doRefresh for sessionId=${q} stale (gen ${Q} vs ${w.get(q)}), skipping`);return}if(!$){let v=(Y.get(q)??0)+1;if(Y.set(q,v),O(`[${z}:token] No OAuth token available for refresh, sessionId=${q} (failure ${v}/${H})`,{level:"error"}),B("error","bridge_token_refresh_no_oauth"),v<H){let X=setTimeout(K,R,q,Q);J.set(q,X)}return}Y.delete(q),O(`[${z}:token] Refreshing token for sessionId=${q}: new token prefix=${$.slice(0,15)}…`),C("",{}),Z(q,$);let V=setTimeout(K,j,q,Q);J.set(q,V),O(`[${z}:token] Scheduled follow-up refresh for sessionId=${q} in ${N(j)}`)}function S(q){U(q);let Q=J.get(q);if(Q)clearTimeout(Q),J.delete(q);Y.delete(q)}function _(){for(let q of w.keys())U(q);for(let q of J.values())clearTimeout(q);J.clear(),Y.clear()}return{schedule:A,scheduleFromExpiresIn:D,cancel:S,cancelAll:_}}
2
+ export{c as Hb,t as Ib};