claude-code-best 1.1.0 → 1.2.1

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 (542) hide show
  1. package/README.md +66 -75
  2. package/dist/chunk-03hxwxzh.js +344 -0
  3. package/dist/chunk-07069jq1.js +30 -0
  4. package/dist/{chunk-kq098bkj.js → chunk-08g51x43.js} +254 -320
  5. package/dist/{chunk-7tqhx6dr.js → chunk-093r60b7.js} +109 -213
  6. package/dist/{chunk-ahjgghpe.js → chunk-0aya4737.js} +1 -1
  7. package/dist/{chunk-b4mnbry0.js → chunk-0fsdxz74.js} +4 -4
  8. package/dist/chunk-0jzdwbdc.js +14 -0
  9. package/dist/chunk-0mbxeb5q.js +406 -0
  10. package/dist/chunk-0pryepme.js +66 -0
  11. package/dist/chunk-0qsm7jac.js +169 -0
  12. package/dist/{chunk-1cbn5kxf.js → chunk-0rpb2bdp.js} +3 -2
  13. package/dist/chunk-0se7sxd4.js +38 -0
  14. package/dist/{chunk-3m7ge6tj.js → chunk-0xnepnph.js} +14 -12
  15. package/dist/{chunk-q7tvkc86.js → chunk-0zsam7pn.js} +10 -115
  16. package/dist/{chunk-44fpr6jq.js → chunk-168xb8v1.js} +4 -2
  17. package/dist/{chunk-bj0rvnjw.js → chunk-19h3a9pw.js} +40 -30
  18. package/dist/chunk-19wjkpe7.js +115 -0
  19. package/dist/{chunk-wsqhnjj3.js → chunk-1atfzck5.js} +24 -24
  20. package/dist/{chunk-0e1xsncc.js → chunk-1cwdhk7a.js} +1 -1
  21. package/dist/{chunk-c8jv6rtj.js → chunk-1hq59w8z.js} +78 -69
  22. package/dist/chunk-1qzk963z.js +108 -0
  23. package/dist/{chunk-fk06pejm.js → chunk-1rrmvwjn.js} +9 -9
  24. package/dist/{chunk-d18z9pna.js → chunk-1thgdca1.js} +2 -2
  25. package/dist/chunk-1tjnmcw7.js +68 -0
  26. package/dist/chunk-1xj83yc8.js +219 -0
  27. package/dist/chunk-21j2jfen.js +435 -0
  28. package/dist/{chunk-wc6wwwyb.js → chunk-21z7acxh.js} +3 -3
  29. package/dist/chunk-22gbbc5x.js +313 -0
  30. package/dist/chunk-238g70xa.js +1 -1
  31. package/dist/{chunk-vpb723tx.js → chunk-23ad5t92.js} +5 -5
  32. package/dist/{chunk-vbbf707n.js → chunk-24r3gfks.js} +39 -29
  33. package/dist/chunk-24sahbec.js +71 -0
  34. package/dist/chunk-28az45r7.js +112 -0
  35. package/dist/{chunk-9g827w4j.js → chunk-2q39ej51.js} +6 -6
  36. package/dist/chunk-2qwgfjcj.js +5370 -0
  37. package/dist/{chunk-0cpnzx7t.js → chunk-2rgvd09y.js} +118 -151
  38. package/dist/chunk-2wq8q15s.js +475 -0
  39. package/dist/{chunk-bqq4zamw.js → chunk-2ys5wcxk.js} +3 -3
  40. package/dist/{chunk-t24ytdcw.js → chunk-31nce7eh.js} +12 -10
  41. package/dist/chunk-31q6p2ke.js +123 -0
  42. package/dist/chunk-3394wc12.js +1024 -0
  43. package/dist/{chunk-33khw5gy.js → chunk-365zvqv3.js} +7 -7
  44. package/dist/{chunk-9g2ncq68.js → chunk-36gkb95k.js} +124 -128
  45. package/dist/{chunk-khdjg2v9.js → chunk-37y42ayh.js} +39 -29
  46. package/dist/chunk-3816xd5p.js +195 -0
  47. package/dist/chunk-3a6bynts.js +656 -0
  48. package/dist/{chunk-qvd0k5dn.js → chunk-3avfhw6x.js} +190 -348
  49. package/dist/{chunk-660kcy7p.js → chunk-3b25ycrx.js} +14 -8
  50. package/dist/chunk-3b4xhwhp.js +113 -0
  51. package/dist/chunk-3fjzvf0e.js +128 -0
  52. package/dist/chunk-3fvc0a79.js +67 -0
  53. package/dist/chunk-3g50kcwk.js +513 -0
  54. package/dist/chunk-3jnmy0nd.js +114 -0
  55. package/dist/chunk-3jzsxj3v.js +310 -0
  56. package/dist/{chunk-frbv3xqa.js → chunk-3mpfxbab.js} +2 -2
  57. package/dist/{chunk-aqa7w38f.js → chunk-3v03e2kz.js} +5 -5
  58. package/dist/chunk-3x5hdd5g.js +1030 -0
  59. package/dist/{chunk-mecs0gpc.js → chunk-3xv7rjsy.js} +14 -11
  60. package/dist/{chunk-j3215c49.js → chunk-3ygnhge8.js} +232 -372
  61. package/dist/chunk-42x5tjk2.js +42 -0
  62. package/dist/chunk-430tvx8d.js +110 -0
  63. package/dist/{chunk-dh6c8y1j.js → chunk-43h8sw5x.js} +3 -3
  64. package/dist/chunk-44d150tz.js +1175 -0
  65. package/dist/chunk-45dj834r.js +115 -0
  66. package/dist/{chunk-yhd82045.js → chunk-46fcr28b.js} +30 -9
  67. package/dist/{chunk-wm2f2f1z.js → chunk-474y75ga.js} +2 -2
  68. package/dist/{chunk-6fkwz9yk.js → chunk-478rpnqm.js} +8 -8
  69. package/dist/{chunk-83z0wrnz.js → chunk-47j9e6m2.js} +2 -2
  70. package/dist/chunk-47wqjw88.js +112 -0
  71. package/dist/{chunk-v4t6dyyh.js → chunk-4cp6193g.js} +2 -2
  72. package/dist/chunk-4h102wt5.js +65 -0
  73. package/dist/{chunk-3mgywd32.js → chunk-4hv90qcz.js} +1 -1
  74. package/dist/chunk-4k2270je.js +295 -0
  75. package/dist/{chunk-2wcbcdky.js → chunk-4k842par.js} +5 -5
  76. package/dist/chunk-4nspekjp.js +69 -0
  77. package/dist/chunk-4pjqtps4.js +151 -0
  78. package/dist/chunk-4sehjy27.js +112 -0
  79. package/dist/{chunk-pgnnrm2v.js → chunk-4t86n23n.js} +21 -17
  80. package/dist/{chunk-2de1vaxf.js → chunk-4whfjn78.js} +68 -78
  81. package/dist/{chunk-41mpwc8h.js → chunk-53c9gb9c.js} +19 -15
  82. package/dist/chunk-53kt8caz.js +122 -0
  83. package/dist/chunk-5a6ahhvy.js +594 -0
  84. package/dist/{chunk-12pv5fez.js → chunk-5gbqknz6.js} +10 -8
  85. package/dist/{chunk-hfzj1m07.js → chunk-5kkvfgzs.js} +14 -5
  86. package/dist/{chunk-4ycz58wj.js → chunk-5pxygepg.js} +68 -8
  87. package/dist/{chunk-2w8633e3.js → chunk-5rgbq3kf.js} +61 -100
  88. package/dist/{chunk-ggqx30m9.js → chunk-5z28bqne.js} +23 -311
  89. package/dist/{chunk-7ejt5gqq.js → chunk-5z8w2q5k.js} +65 -48
  90. package/dist/chunk-60k6v40t.js +70 -0
  91. package/dist/{chunk-p7g7pf3f.js → chunk-61ahbn23.js} +8 -6
  92. package/dist/{chunk-rmbp2das.js → chunk-64pp4hsr.js} +21 -19
  93. package/dist/{chunk-0sb5scxx.js → chunk-652wnf1z.js} +5 -5
  94. package/dist/{chunk-q25bjaev.js → chunk-677as3nh.js} +2 -2
  95. package/dist/{chunk-xs0hwvpa.js → chunk-68pfxvxt.js} +14 -9
  96. package/dist/{chunk-epmheefa.js → chunk-69hys77v.js} +8 -8
  97. package/dist/{chunk-427m88ms.js → chunk-6p1cptq5.js} +9 -9
  98. package/dist/{chunk-0nqrscrr.js → chunk-6p3mtny2.js} +5 -5
  99. package/dist/{chunk-v1mgv1et.js → chunk-6p4cyhb3.js} +4 -3
  100. package/dist/{chunk-m17y8b22.js → chunk-6rxz872v.js} +39 -29
  101. package/dist/chunk-6sjxvthw.js +106 -0
  102. package/dist/{chunk-6mz58s8p.js → chunk-6xana182.js} +18 -14
  103. package/dist/{chunk-vaebptnz.js → chunk-6zn3fm1k.js} +39 -29
  104. package/dist/chunk-704jkbsp.js +183 -0
  105. package/dist/chunk-71sf47by.js +154 -0
  106. package/dist/chunk-73a5g713.js +78 -0
  107. package/dist/chunk-78p7h20f.js +259 -0
  108. package/dist/chunk-7a3b1d4s.js +75 -0
  109. package/dist/{chunk-fpf4cgbt.js → chunk-7bfach0x.js} +9 -9
  110. package/dist/{chunk-ckcagq32.js → chunk-7gqf9wej.js} +5 -5
  111. package/dist/{chunk-sa7nc0vv.js → chunk-7y25wk51.js} +1 -1
  112. package/dist/{chunk-vyd8jzde.js → chunk-81v55vtd.js} +96 -85
  113. package/dist/{chunk-dv1wfr85.js → chunk-8225arm6.js} +5 -4
  114. package/dist/chunk-86715d2d.js +186 -0
  115. package/dist/chunk-8ah9easf.js +365 -0
  116. package/dist/{chunk-rwexx5ns.js → chunk-8baq1s87.js} +1 -3
  117. package/dist/chunk-8fy8hx84.js +386 -0
  118. package/dist/{chunk-4pbx3g7s.js → chunk-8g747a8x.js} +1 -1
  119. package/dist/{chunk-xyqr1cww.js → chunk-8me0yq6v.js} +12 -12
  120. package/dist/{chunk-sdj9b9wh.js → chunk-8pn8tvgg.js} +9 -154
  121. package/dist/chunk-8qxyxgkb.js +161 -0
  122. package/dist/{chunk-ecsw41df.js → chunk-8xs4yp9x.js} +85 -77
  123. package/dist/{chunk-24x87knx.js → chunk-9000dg9h.js} +1327 -2882
  124. package/dist/{chunk-bmvb57qb.js → chunk-905d2hee.js} +5 -5
  125. package/dist/chunk-90qsc60s.js +378 -0
  126. package/dist/chunk-92x6xgex.js +265 -0
  127. package/dist/{chunk-jknt3rxg.js → chunk-9ctg4x6c.js} +7 -9
  128. package/dist/chunk-9e4z7dx7.js +389 -0
  129. package/dist/chunk-9hy6ejmp.js +151 -0
  130. package/dist/chunk-9jvggd30.js +173 -0
  131. package/dist/{chunk-z9tgzh90.js → chunk-9m729tsn.js} +46 -35
  132. package/dist/chunk-9r90d3jt.js +121 -0
  133. package/dist/chunk-9rx2m3cb.js +124 -0
  134. package/dist/chunk-9sr2etaw.js +110 -0
  135. package/dist/chunk-9z8hzgve.js +68 -0
  136. package/dist/{chunk-yxnwsp4f.js → chunk-9zy607vw.js} +8 -6
  137. package/dist/chunk-a0bz6g5e.js +63 -0
  138. package/dist/chunk-a136cvvz.js +27 -0
  139. package/dist/{chunk-n5t9m8h9.js → chunk-a1bjde7d.js} +7 -7
  140. package/dist/{chunk-mvss16tj.js → chunk-a2aj2mtb.js} +414 -636
  141. package/dist/{chunk-8hsyagr8.js → chunk-a3sfy6as.js} +1 -1
  142. package/dist/{chunk-8hq5kk3y.js → chunk-a4twdmhf.js} +3 -2
  143. package/dist/chunk-ae76ded0.js +30 -0
  144. package/dist/chunk-aegyxcne.js +111 -0
  145. package/dist/chunk-aj1dcvrh.js +131 -0
  146. package/dist/{chunk-1yabrspp.js → chunk-amxm6996.js} +2 -2
  147. package/dist/{chunk-t6h4wf3k.js → chunk-ar39mr9c.js} +11 -11
  148. package/dist/{chunk-r6b58y3x.js → chunk-ase86y73.js} +1 -3
  149. package/dist/chunk-asfxrz4f.js +94 -0
  150. package/dist/chunk-axj46c2c.js +196 -0
  151. package/dist/{chunk-m5eb5pt2.js → chunk-ayz6f38j.js} +6 -6
  152. package/dist/{chunk-5b7119h5.js → chunk-b00zd850.js} +8 -6
  153. package/dist/chunk-b2abjkf7.js +126 -0
  154. package/dist/{chunk-8bedvdm1.js → chunk-b81hd3m6.js} +1 -1
  155. package/dist/chunk-bcfd2zw7.js +20 -0
  156. package/dist/{chunk-n5516f5q.js → chunk-bd8zk9tn.js} +4 -4
  157. package/dist/chunk-bhdt6k7w.js +15 -0
  158. package/dist/{chunk-jy35mvy3.js → chunk-bmjmrk76.js} +7 -7
  159. package/dist/chunk-bqaqz1j1.js +126 -0
  160. package/dist/chunk-bsbmmfyt.js +17 -0
  161. package/dist/{chunk-snvypj85.js → chunk-bt64sq5y.js} +3 -2
  162. package/dist/{chunk-zq9xa1xe.js → chunk-bwevztsj.js} +109 -141
  163. package/dist/{chunk-vyc0rjyx.js → chunk-bwg7582d.js} +1 -1
  164. package/dist/{chunk-3be7ka25.js → chunk-bxcfz5gy.js} +1 -1
  165. package/dist/chunk-c2mn2fyg.js +1406 -0
  166. package/dist/chunk-c2tw0dep.js +1811 -0
  167. package/dist/{chunk-402jrnj6.js → chunk-c5bngssh.js} +8 -8
  168. package/dist/chunk-c6sjhj89.js +1284 -0
  169. package/dist/chunk-cb2hpe6k.js +443 -0
  170. package/dist/{chunk-91r0z5qq.js → chunk-ccr1s7qs.js} +1152 -1771
  171. package/dist/chunk-cewqh6rb.js +111 -0
  172. package/dist/{chunk-k9a8jemz.js → chunk-cg01f3ez.js} +7 -7
  173. package/dist/{chunk-f64npa3b.js → chunk-chsyvavm.js} +704 -4
  174. package/dist/{chunk-z8nbjar4.js → chunk-cmcbatgz.js} +7 -5
  175. package/dist/chunk-cnsj3vq2.js +35 -0
  176. package/dist/{chunk-rj86xm6z.js → chunk-cpwe0yw7.js} +1 -1
  177. package/dist/chunk-cqjmxeqv.js +269 -0
  178. package/dist/{chunk-qpm1tmzz.js → chunk-crefny3c.js} +125 -193
  179. package/dist/{chunk-ks0m9njy.js → chunk-d2jekryq.js} +8 -8
  180. package/dist/chunk-d4mdda98.js +94 -0
  181. package/dist/{chunk-26wtxbdc.js → chunk-d7886r6a.js} +6928 -6928
  182. package/dist/chunk-dfkgpfaj.js +135 -0
  183. package/dist/{chunk-9mfbqw9k.js → chunk-dm3n2qgd.js} +4 -4
  184. package/dist/chunk-dnj95atq.js +66 -0
  185. package/dist/{chunk-vjc1svpc.js → chunk-dqgzpb0q.js} +87 -77
  186. package/dist/chunk-drenq3c7.js +383 -0
  187. package/dist/chunk-drkm8yx2.js +34 -0
  188. package/dist/{chunk-ra8fbt9p.js → chunk-dvjzq9x9.js} +543 -874
  189. package/dist/{chunk-w7h2yphx.js → chunk-dwekpr47.js} +2 -2
  190. package/dist/{chunk-49k5ktrj.js → chunk-e18dg1md.js} +31 -16
  191. package/dist/chunk-e396ak46.js +111 -0
  192. package/dist/{chunk-r55r29js.js → chunk-e3c32vwa.js} +191 -276
  193. package/dist/chunk-e3m7kqkb.js +1185 -0
  194. package/dist/{chunk-9cc60ae5.js → chunk-ea9m4e0k.js} +79 -70
  195. package/dist/chunk-ecsa9nd5.js +63 -0
  196. package/dist/{chunk-cmdsbsb6.js → chunk-edzkkadh.js} +2 -2
  197. package/dist/chunk-ek1jasqg.js +142 -0
  198. package/dist/chunk-ep0hwv07.js +126 -0
  199. package/dist/{chunk-cs6y2pc9.js → chunk-ergam9ft.js} +5 -5
  200. package/dist/{chunk-ptwn7qw7.js → chunk-f2k8b4nd.js} +38 -10
  201. package/dist/{chunk-h0rbjg6x.js → chunk-f2mhrmww.js} +8 -1
  202. package/dist/{chunk-s84smrx4.js → chunk-f32cksgw.js} +155 -190
  203. package/dist/{chunk-vzqrbsd1.js → chunk-f69rgsm2.js} +5 -5
  204. package/dist/{chunk-f3bapa1x.js → chunk-f6rbj3gz.js} +12 -7
  205. package/dist/chunk-f7n3xete.js +113 -0
  206. package/dist/chunk-fbest4vx.js +109 -0
  207. package/dist/{chunk-v0wa5ref.js → chunk-fdtcb8qr.js} +13 -555
  208. package/dist/chunk-feh2j8m2.js +136 -0
  209. package/dist/chunk-feyzykye.js +10 -0
  210. package/dist/chunk-fkkysfev.js +158 -0
  211. package/dist/chunk-fn510gqw.js +216 -0
  212. package/dist/{chunk-ch53fgm5.js → chunk-ft9qsa01.js} +13 -11
  213. package/dist/chunk-fw0ckaxh.js +109 -0
  214. package/dist/{chunk-kd97kxjn.js → chunk-fz0ch109.js} +3 -2
  215. package/dist/{chunk-ks0dm6t3.js → chunk-fzn524wa.js} +17 -71
  216. package/dist/chunk-g1k68z1b.js +15 -0
  217. package/dist/{chunk-9t1x831d.js → chunk-g5nb4xhz.js} +86 -74
  218. package/dist/chunk-g82mdy27.js +429 -0
  219. package/dist/{chunk-68qevppc.js → chunk-g8sz060e.js} +82 -72
  220. package/dist/chunk-g9f19ttm.js +15 -0
  221. package/dist/{chunk-zz21rvr7.js → chunk-gdqxtdh4.js} +9 -6
  222. package/dist/chunk-get9fk3h.js +74 -0
  223. package/dist/{chunk-4x5ym4h2.js → chunk-gf6qjt7j.js} +130 -16
  224. package/dist/{chunk-bq6x1ehp.js → chunk-gpz0ddyz.js} +8 -8
  225. package/dist/{chunk-mwp7sj0q.js → chunk-gs5eeqmc.js} +110336 -114801
  226. package/dist/{chunk-qqfa0dqg.js → chunk-h4b85amj.js} +20 -32
  227. package/dist/{chunk-j4c8s7tn.js → chunk-h5zv78zq.js} +9 -6
  228. package/dist/{chunk-cgn27dqf.js → chunk-ha5d5zfj.js} +3 -3
  229. package/dist/{chunk-crr52hf4.js → chunk-han7cwc0.js} +14 -12
  230. package/dist/{chunk-dnyeb288.js → chunk-hbv0tk35.js} +74 -106
  231. package/dist/{chunk-nxsh6de2.js → chunk-hcgkak1j.js} +20 -125
  232. package/dist/{chunk-224x480q.js → chunk-hd1p4hrd.js} +8 -6
  233. package/dist/{chunk-tjaqa99q.js → chunk-hezj20qy.js} +3 -3
  234. package/dist/{chunk-z7pr85qw.js → chunk-hfdyez7b.js} +3 -3
  235. package/dist/chunk-hh7hqa2c.js +272 -0
  236. package/dist/chunk-hk4a2sks.js +83 -0
  237. package/dist/{chunk-5zh1fbrj.js → chunk-hq85v2s7.js} +3 -3
  238. package/dist/chunk-hr06142m.js +117 -0
  239. package/dist/chunk-j1b3r6v6.js +66 -0
  240. package/dist/{chunk-v8xem37v.js → chunk-j2fgn3kq.js} +8 -6
  241. package/dist/chunk-j2wgj22c.js +441 -0
  242. package/dist/{chunk-9gbamk79.js → chunk-j5bth84e.js} +5 -1
  243. package/dist/{chunk-vratq94g.js → chunk-j9gxwbe3.js} +1 -1
  244. package/dist/{chunk-cettj572.js → chunk-ja87jt56.js} +7 -131
  245. package/dist/{chunk-3r24h7t6.js → chunk-jaaxk89e.js} +1 -1
  246. package/dist/{chunk-f4jcw0ea.js → chunk-jaew3662.js} +18 -14
  247. package/dist/{chunk-e1ge9n4d.js → chunk-jb2nh0m0.js} +2 -2
  248. package/dist/{chunk-f9b4wb89.js → chunk-jb4fc073.js} +84 -75
  249. package/dist/chunk-jba8f3hz.js +108 -0
  250. package/dist/{chunk-er9vzjac.js → chunk-jbt0jgtc.js} +16 -14
  251. package/dist/{chunk-v399mzxk.js → chunk-jf0p00fz.js} +2 -2
  252. package/dist/{chunk-vygf94dw.js → chunk-jg4ge4de.js} +78 -69
  253. package/dist/chunk-jkvy2cmt.js +346 -0
  254. package/dist/{chunk-80qg1pzv.js → chunk-jmdy5vdy.js} +11 -9
  255. package/dist/{chunk-dqh7e4mt.js → chunk-jn08nxj8.js} +52 -42
  256. package/dist/{chunk-av73dywf.js → chunk-jna2tcvj.js} +8 -8
  257. package/dist/chunk-jwh384j5.js +126 -0
  258. package/dist/chunk-jwx2scxy.js +222 -0
  259. package/dist/{chunk-41xeh3t9.js → chunk-jy6c07wa.js} +4 -4
  260. package/dist/{chunk-ctmt7xh1.js → chunk-jy77nthd.js} +740 -907
  261. package/dist/{chunk-hzttn8j7.js → chunk-jyjpaqbt.js} +139 -135
  262. package/dist/chunk-jztjnw31.js +147 -0
  263. package/dist/chunk-k0jhzcwg.js +2540 -0
  264. package/dist/{chunk-myzwt5yw.js → chunk-k0kwfqr8.js} +9 -15
  265. package/dist/{chunk-bqfnp99q.js → chunk-k3s4yk22.js} +1 -1
  266. package/dist/{chunk-1dyeexvn.js → chunk-kd3mmsd2.js} +4 -4
  267. package/dist/{chunk-x51h62jq.js → chunk-ke78h68m.js} +78 -69
  268. package/dist/{chunk-1xkekb9y.js → chunk-kfd89dsd.js} +5 -3
  269. package/dist/chunk-ksvvwa9w.js +111 -0
  270. package/dist/{chunk-jy35z4n0.js → chunk-m1z5td19.js} +9 -9
  271. package/dist/{chunk-jafes477.js → chunk-m2bcpk8j.js} +4 -3
  272. package/dist/{chunk-n6fbyke9.js → chunk-m2mzpskw.js} +3 -3
  273. package/dist/{chunk-s2dmn3yg.js → chunk-m47q5mxt.js} +5 -5
  274. package/dist/{chunk-s7qj2hg5.js → chunk-m8vyp6rw.js} +2 -2
  275. package/dist/chunk-mm4m13ng.js +881 -0
  276. package/dist/{chunk-ghr4s9g6.js → chunk-mq1qrwhq.js} +79 -70
  277. package/dist/{chunk-45e9mkyr.js → chunk-mqqw60br.js} +43 -83
  278. package/dist/chunk-mtcdknc8.js +2842 -0
  279. package/dist/{chunk-cvge4pvp.js → chunk-mzd6frw6.js} +2 -2
  280. package/dist/{chunk-n2874aq5.js → chunk-n1neft0d.js} +13 -7
  281. package/dist/{chunk-bcrxtdcy.js → chunk-n2mysxn1.js} +40 -30
  282. package/dist/chunk-n4wkxbq0.js +365 -0
  283. package/dist/chunk-n57dw6h9.js +128 -0
  284. package/dist/chunk-n5wf3b82.js +118 -0
  285. package/dist/{chunk-zgrg0wk3.js → chunk-n7ce94nd.js} +27 -67
  286. package/dist/{chunk-me2ef6g4.js → chunk-n8mpqdje.js} +1 -1
  287. package/dist/{chunk-g5sg6y9q.js → chunk-na2e0dfj.js} +82 -72
  288. package/dist/chunk-netzwgv1.js +154 -0
  289. package/dist/{chunk-xszk7n10.js → chunk-nh3cd07f.js} +1 -1
  290. package/dist/{chunk-5tx8dsy0.js → chunk-npjsp3z3.js} +10493 -18453
  291. package/dist/{chunk-5hva0tsg.js → chunk-p2yv7m0g.js} +6 -6
  292. package/dist/chunk-p4rmbc1e.js +409 -0
  293. package/dist/chunk-p7jdncj4.js +122 -0
  294. package/dist/{chunk-zk2wsm7d.js → chunk-p7vkh4wx.js} +2 -2
  295. package/dist/{chunk-da4ve9t5.js → chunk-p8crqj70.js} +10 -10
  296. package/dist/{chunk-hy3g1nv8.js → chunk-prw4xz5q.js} +9 -7
  297. package/dist/{chunk-zsfxha74.js → chunk-pshjyzq4.js} +8 -7
  298. package/dist/{chunk-684kdqez.js → chunk-q08sb44h.js} +203 -304
  299. package/dist/{chunk-n7158r58.js → chunk-q78bgdtk.js} +79 -70
  300. package/dist/{chunk-e5pntxye.js → chunk-q7tpyeb3.js} +6 -4
  301. package/dist/{chunk-7ymfj7m3.js → chunk-q82r31er.js} +1 -1
  302. package/dist/chunk-qajrkk97.js +298 -0
  303. package/dist/chunk-qbrsmra3.js +23 -0
  304. package/dist/chunk-qhfn4vgv.js +66 -0
  305. package/dist/{chunk-d7mx1phm.js → chunk-qndzvkdx.js} +61 -103
  306. package/dist/{chunk-35y0r56v.js → chunk-qtfc6wdh.js} +1 -4
  307. package/dist/{chunk-v9y80148.js → chunk-qwcnwn5t.js} +100 -191
  308. package/dist/chunk-qwehvedn.js +440 -0
  309. package/dist/{chunk-2cgdr2n7.js → chunk-qwk9fq7r.js} +78 -69
  310. package/dist/chunk-qy75c2vm.js +70 -0
  311. package/dist/{chunk-rryx19hp.js → chunk-r2k2jy0y.js} +2 -2
  312. package/dist/chunk-r47p0ff0.js +61 -0
  313. package/dist/{chunk-t3bf8hcf.js → chunk-r5tk54yt.js} +2 -2
  314. package/dist/{chunk-bt9krt49.js → chunk-r8q993g6.js} +38 -32
  315. package/dist/{chunk-veb0gkcf.js → chunk-ra2rykps.js} +78 -69
  316. package/dist/{chunk-gbcqdr0x.js → chunk-rav5xp8h.js} +1 -1
  317. package/dist/chunk-rbe0tcn9.js +120 -0
  318. package/dist/chunk-rd5cfz3k.js +68 -0
  319. package/dist/{chunk-cenpqc2t.js → chunk-rdvaan98.js} +8 -6
  320. package/dist/{chunk-dr4qq42x.js → chunk-rgbbtszq.js} +9 -9
  321. package/dist/chunk-rjsb9s3q.js +206 -0
  322. package/dist/{chunk-fdwa7gem.js → chunk-rkak3kjw.js} +7 -7
  323. package/dist/{chunk-a6s8wnhe.js → chunk-rnam0xc5.js} +4 -4
  324. package/dist/chunk-rqkqbppr.js +112 -0
  325. package/dist/{chunk-ye18m1zb.js → chunk-rqvqqrpg.js} +38 -8
  326. package/dist/{chunk-rw466wqn.js → chunk-rvkvehat.js} +5284 -3093
  327. package/dist/chunk-s1baskk7.js +14 -0
  328. package/dist/{chunk-jt0pha6y.js → chunk-s5gnvx67.js} +227 -198
  329. package/dist/chunk-s7dtt7tw.js +109 -0
  330. package/dist/chunk-s9ftt1fh.js +135 -0
  331. package/dist/chunk-sc6sy490.js +240 -0
  332. package/dist/chunk-sh9er84d.js +1073 -0
  333. package/dist/{chunk-faycqscv.js → chunk-sk9xag9g.js} +2 -2
  334. package/dist/{chunk-zpc0kwkb.js → chunk-t0g8wbcq.js} +7 -7
  335. package/dist/chunk-tbgm1v8n.js +146 -0
  336. package/dist/{chunk-35b0ek0j.js → chunk-tcdv4gp8.js} +13 -9
  337. package/dist/{chunk-mt25echc.js → chunk-tezak8rx.js} +1 -1
  338. package/dist/chunk-thk6yn51.js +154 -0
  339. package/dist/{chunk-s2gm9vfk.js → chunk-tkf24yhv.js} +7 -7
  340. package/dist/{chunk-6td4c2eq.js → chunk-tkrjcekq.js} +54 -72
  341. package/dist/{chunk-9rcbyag3.js → chunk-tmdbrszg.js} +2 -2
  342. package/dist/chunk-tw2g1yhq.js +118 -0
  343. package/dist/chunk-twzjxwhf.js +182 -0
  344. package/dist/{chunk-m94pnhfa.js → chunk-v4e4f711.js} +39 -29
  345. package/dist/{chunk-b51jjfh5.js → chunk-v5k7zmqm.js} +43 -32
  346. package/dist/chunk-var1et7e.js +66 -0
  347. package/dist/chunk-vd11xbz3.js +304 -0
  348. package/dist/{chunk-hqmz36b3.js → chunk-vf612n57.js} +21 -101
  349. package/dist/chunk-vfhqj46w.js +144 -0
  350. package/dist/chunk-vkxx8ymr.js +2377 -0
  351. package/dist/{chunk-n9x557ea.js → chunk-vs094cby.js} +2332 -4220
  352. package/dist/{chunk-dxc7begm.js → chunk-vtb8z6as.js} +14 -10
  353. package/dist/{chunk-x51mdzqq.js → chunk-vzd3cjy9.js} +3 -3
  354. package/dist/chunk-w2es9743.js +439 -0
  355. package/dist/{chunk-8z039kef.js → chunk-w92b262y.js} +53 -54
  356. package/dist/chunk-wa1dpga1.js +236 -0
  357. package/dist/{chunk-qf2v384j.js → chunk-wbmacbfb.js} +9 -7
  358. package/dist/{chunk-ryj80g9p.js → chunk-wbn46nb4.js} +136 -178
  359. package/dist/{chunk-t9z6njcr.js → chunk-wtycm8km.js} +9 -9
  360. package/dist/{chunk-q6rax9kh.js → chunk-wymtgh88.js} +5 -5
  361. package/dist/{chunk-pa7saazk.js → chunk-x0aj8rh8.js} +28 -56
  362. package/dist/{chunk-1szr63w0.js → chunk-x69w7xr7.js} +86 -74
  363. package/dist/{chunk-k5gdea6r.js → chunk-x6qmm22r.js} +84 -75
  364. package/dist/{chunk-zrse3zpz.js → chunk-xbprynsc.js} +18 -46
  365. package/dist/chunk-xc0v11v6.js +914 -0
  366. package/dist/chunk-xed18bb5.js +233 -0
  367. package/dist/{chunk-gjyc3293.js → chunk-xj76qk4z.js} +288 -499
  368. package/dist/chunk-xmd9eezd.js +83 -0
  369. package/dist/chunk-xrzrbw0f.js +142 -0
  370. package/dist/{chunk-fzxg8v1y.js → chunk-xycy3c8q.js} +15 -12
  371. package/dist/chunk-y0m0rd5v.js +140 -0
  372. package/dist/chunk-y2vtmzre.js +137 -0
  373. package/dist/{chunk-vybkxr18.js → chunk-y5z1cjbk.js} +42 -32
  374. package/dist/chunk-y60q54ph.js +111 -0
  375. package/dist/{chunk-d7vv2ydf.js → chunk-y78t50v0.js} +2 -2
  376. package/dist/{chunk-xkr7as9h.js → chunk-y9bgt2k1.js} +13 -9
  377. package/dist/chunk-ycwdzwz5.js +233 -0
  378. package/dist/chunk-yfyc2y1v.js +136 -0
  379. package/dist/chunk-yg6gtf9j.js +152 -0
  380. package/dist/{chunk-kyer92r4.js → chunk-yk8vcecd.js} +33 -5
  381. package/dist/{chunk-hkn7tzgv.js → chunk-ym5r3jnk.js} +1 -1
  382. package/dist/chunk-yr6gqw17.js +132 -0
  383. package/dist/chunk-yw62vhjz.js +445 -0
  384. package/dist/{chunk-athjeyrt.js → chunk-yw79dz62.js} +4 -4
  385. package/dist/{chunk-5mrhhmas.js → chunk-yx64nmbh.js} +8 -5
  386. package/dist/chunk-yy232vtj.js +84 -0
  387. package/dist/chunk-z1bs6d7k.js +24 -0
  388. package/dist/chunk-z4mgvsdj.js +456 -0
  389. package/dist/chunk-z6e5jp2w.js +119 -0
  390. package/dist/{chunk-t7cbhqd2.js → chunk-z6zt2ns7.js} +111 -123
  391. package/dist/chunk-z735r3p2.js +114 -0
  392. package/dist/{chunk-rjz6btwk.js → chunk-z7ssqvt6.js} +4972 -4638
  393. package/dist/{chunk-bpts9jbq.js → chunk-z8nv1ah0.js} +39 -31
  394. package/dist/chunk-z9mbssbe.js +128 -0
  395. package/dist/chunk-zdctabq6.js +264 -0
  396. package/dist/{chunk-ve60fbtd.js → chunk-ze6zvkg6.js} +2 -2
  397. package/dist/{chunk-t0rgmccj.js → chunk-zejm280k.js} +1 -1
  398. package/dist/{chunk-krstc7m7.js → chunk-zfapazzd.js} +15 -11
  399. package/dist/{chunk-2j0j79p0.js → chunk-zg4ae27v.js} +8 -8
  400. package/dist/chunk-zqxe8qnw.js +3590 -0
  401. package/dist/{chunk-q6dpqj3z.js → chunk-zs2ddzfv.js} +10 -7
  402. package/dist/chunk-zy80g72r.js +512 -0
  403. package/dist/{chunk-g3t0act8.js → chunk-zzm33q8x.js} +1 -1
  404. package/dist/{chunk-s8fzxy94.js → chunk-zzzc1ead.js} +17 -13
  405. package/dist/cli.js +63 -11
  406. package/dist/vendor/audio-capture/arm64-darwin/audio-capture.node +0 -0
  407. package/dist/vendor/audio-capture/arm64-linux/audio-capture.node +0 -0
  408. package/dist/vendor/audio-capture/arm64-win32/audio-capture.node +0 -0
  409. package/dist/vendor/audio-capture/x64-darwin/audio-capture.node +0 -0
  410. package/dist/vendor/audio-capture/x64-linux/audio-capture.node +0 -0
  411. package/dist/vendor/audio-capture/x64-win32/audio-capture.node +0 -0
  412. package/package.json +8 -5
  413. package/scripts/postinstall.cjs +319 -0
  414. package/dist/chunk-0291smg3.js +0 -42
  415. package/dist/chunk-04g2ty3v.js +0 -104
  416. package/dist/chunk-069x95ne.js +0 -764
  417. package/dist/chunk-06x02eab.js +0 -655
  418. package/dist/chunk-09pjmga5.js +0 -713
  419. package/dist/chunk-0g90je6r.js +0 -145
  420. package/dist/chunk-0paqc2yw.js +0 -15
  421. package/dist/chunk-0rddv9vb.js +0 -328
  422. package/dist/chunk-162w6yv3.js +0 -756
  423. package/dist/chunk-1gjbaa3n.js +0 -128
  424. package/dist/chunk-23wg4mnt.js +0 -404
  425. package/dist/chunk-2gbjtg7c.js +0 -102
  426. package/dist/chunk-2v1q0ezq.js +0 -102
  427. package/dist/chunk-37n7jkxe.js +0 -436
  428. package/dist/chunk-38svjnh4.js +0 -158
  429. package/dist/chunk-3bg1089y.js +0 -616
  430. package/dist/chunk-3d8ck5ne.js +0 -112
  431. package/dist/chunk-3g6rf9sz.js +0 -106
  432. package/dist/chunk-3x3rr2n5.js +0 -57
  433. package/dist/chunk-4f6q3d38.js +0 -117
  434. package/dist/chunk-4h57km3m.js +0 -74
  435. package/dist/chunk-4kyh2618.js +0 -99
  436. package/dist/chunk-4w9vc9vc.js +0 -119
  437. package/dist/chunk-53hqpp5z.js +0 -208
  438. package/dist/chunk-5deqy8r0.js +0 -143
  439. package/dist/chunk-5m2rmc2k.js +0 -128
  440. package/dist/chunk-5wp9pkpt.js +0 -539
  441. package/dist/chunk-5ym9f6w3.js +0 -263
  442. package/dist/chunk-6f938733.js +0 -1027
  443. package/dist/chunk-6nenxecd.js +0 -115
  444. package/dist/chunk-6rja0h86.js +0 -1593
  445. package/dist/chunk-70q6dp4d.js +0 -96
  446. package/dist/chunk-7bn0wzs3.js +0 -1493
  447. package/dist/chunk-7e2e0bfm.js +0 -65
  448. package/dist/chunk-7ywadnax.js +0 -490
  449. package/dist/chunk-7z33j54s.js +0 -142
  450. package/dist/chunk-8yvfkzyh.js +0 -58
  451. package/dist/chunk-9abpx1kv.js +0 -2833
  452. package/dist/chunk-9ks2nswb.js +0 -114
  453. package/dist/chunk-9wrds5tr.js +0 -109
  454. package/dist/chunk-ab2twken.js +0 -102
  455. package/dist/chunk-abncjeag.js +0 -97
  456. package/dist/chunk-am6w4x6y.js +0 -103
  457. package/dist/chunk-b1xt9jqg.js +0 -28
  458. package/dist/chunk-b73bd7db.js +0 -496
  459. package/dist/chunk-bc7nvynh.js +0 -195
  460. package/dist/chunk-br17dhef.js +0 -103
  461. package/dist/chunk-c3k0sdey.js +0 -281
  462. package/dist/chunk-c909bmyv.js +0 -103
  463. package/dist/chunk-cftsv9w4.js +0 -129
  464. package/dist/chunk-cj1a7npk.js +0 -99
  465. package/dist/chunk-cpma9zs5.js +0 -335
  466. package/dist/chunk-cyscs4k5.js +0 -1330
  467. package/dist/chunk-czr7y063.js +0 -348
  468. package/dist/chunk-d93sndem.js +0 -372
  469. package/dist/chunk-ddz8xbpd.js +0 -481
  470. package/dist/chunk-dkhqx4hk.js +0 -84
  471. package/dist/chunk-dsrharmv.js +0 -359
  472. package/dist/chunk-eqmy5d05.js +0 -56
  473. package/dist/chunk-f2crxw2c.js +0 -5400
  474. package/dist/chunk-f8zga40p.js +0 -234
  475. package/dist/chunk-fbgm2ym6.js +0 -990
  476. package/dist/chunk-fcbbsswe.js +0 -119
  477. package/dist/chunk-fda654nt.js +0 -6121
  478. package/dist/chunk-ffmv9ezj.js +0 -104
  479. package/dist/chunk-fmjte7md.js +0 -38
  480. package/dist/chunk-fqtwqxxc.js +0 -293
  481. package/dist/chunk-g8k85nkd.js +0 -802
  482. package/dist/chunk-ge4ak7dj.js +0 -127
  483. package/dist/chunk-gpqemecy.js +0 -126
  484. package/dist/chunk-h19p6s3b.js +0 -131
  485. package/dist/chunk-j0sk1rct.js +0 -998
  486. package/dist/chunk-j1wfpa1a.js +0 -70
  487. package/dist/chunk-j829fx31.js +0 -3458
  488. package/dist/chunk-jqctzrvd.js +0 -722
  489. package/dist/chunk-jx817w05.js +0 -11
  490. package/dist/chunk-ka6sab33.js +0 -174
  491. package/dist/chunk-krjsvmwp.js +0 -101
  492. package/dist/chunk-kvpe50pm.js +0 -311
  493. package/dist/chunk-mez504fj.js +0 -113
  494. package/dist/chunk-mj6wbrae.js +0 -105
  495. package/dist/chunk-n0k8xrey.js +0 -319
  496. package/dist/chunk-n0pg2kpe.js +0 -122
  497. package/dist/chunk-n4qtqkp0.js +0 -295
  498. package/dist/chunk-n9meha2m.js +0 -73
  499. package/dist/chunk-ndk7q5n3.js +0 -169
  500. package/dist/chunk-ng6n9t4h.js +0 -56
  501. package/dist/chunk-p3pz13x2.js +0 -1933
  502. package/dist/chunk-p9ez6zgq.js +0 -2656
  503. package/dist/chunk-ph750kx1.js +0 -550
  504. package/dist/chunk-pxb99zqs.js +0 -117
  505. package/dist/chunk-q1yqc5n3.js +0 -100
  506. package/dist/chunk-q5b91nhh.js +0 -40
  507. package/dist/chunk-qtfqk0jr.js +0 -131
  508. package/dist/chunk-qzfmdh1t.js +0 -388
  509. package/dist/chunk-r3cv0j9n.js +0 -456
  510. package/dist/chunk-rx0pbgym.js +0 -97
  511. package/dist/chunk-s624rd5j.js +0 -531
  512. package/dist/chunk-satndwqj.js +0 -285
  513. package/dist/chunk-ssrxnkd1.js +0 -109
  514. package/dist/chunk-t2pgctqx.js +0 -106
  515. package/dist/chunk-t7sgwf31.js +0 -644
  516. package/dist/chunk-tth904tj.js +0 -53
  517. package/dist/chunk-typpbjhy.js +0 -128
  518. package/dist/chunk-vp6nrhdq.js +0 -102
  519. package/dist/chunk-vtjm53nt.js +0 -432
  520. package/dist/chunk-w412n7tq.js +0 -469
  521. package/dist/chunk-w4153rky.js +0 -1885
  522. package/dist/chunk-wdgv15as.js +0 -212
  523. package/dist/chunk-wgn9kydv.js +0 -58
  524. package/dist/chunk-whknbrk0.js +0 -184
  525. package/dist/chunk-x1k8e1xc.js +0 -56
  526. package/dist/chunk-x45xx6sc.js +0 -105
  527. package/dist/chunk-x4xvqbe5.js +0 -1166
  528. package/dist/chunk-x8b7vft8.js +0 -132
  529. package/dist/chunk-xaycc8qe.js +0 -44
  530. package/dist/chunk-xd4785ks.js +0 -73
  531. package/dist/chunk-xjxgmxhq.js +0 -463
  532. package/dist/chunk-xx2x3tz9.js +0 -166
  533. package/dist/chunk-y2j23eem.js +0 -101
  534. package/dist/chunk-y83j09wv.js +0 -123
  535. package/dist/chunk-yh8460pb.js +0 -119
  536. package/dist/chunk-z6nhchdb.js +0 -60
  537. package/dist/chunk-zbt73sj7.js +0 -192
  538. package/dist/chunk-zmwaatmq.js +0 -118
  539. package/dist/chunk-zvdg9tex.js +0 -135
  540. package/dist/chunk-zwa780cx.js +0 -584
  541. package/dist/{chunk-whvdag1y.js → chunk-3bfs3x0h.js} +9 -9
  542. package/dist/{chunk-27xc1csx.js → chunk-dggvswz1.js} +3 -3
@@ -7,20 +7,17 @@ import {
7
7
  readJSONLFile,
8
8
  safeParseJSON,
9
9
  stripBOM
10
- } from "./chunk-bmvb57qb.js";
10
+ } from "./chunk-905d2hee.js";
11
11
  import {
12
12
  expandPath,
13
13
  init_path,
14
14
  normalizePathForConfigKey
15
- } from "./chunk-fdwa7gem.js";
16
- import {
17
- sanitizePath
18
- } from "./chunk-vratq94g.js";
15
+ } from "./chunk-rkak3kjw.js";
19
16
  import {
20
17
  getAWSClientProxyConfig,
21
18
  getProxyFetchOptions,
22
19
  init_proxy
23
- } from "./chunk-5hva0tsg.js";
20
+ } from "./chunk-p2yv7m0g.js";
24
21
  import {
25
22
  count,
26
23
  getAgentId,
@@ -33,30 +30,38 @@ import {
33
30
  lock,
34
31
  lockSync,
35
32
  uniq
36
- } from "./chunk-0e1xsncc.js";
33
+ } from "./chunk-1cwdhk7a.js";
34
+ import {
35
+ sanitizePath
36
+ } from "./chunk-j9gxwbe3.js";
37
37
  import {
38
38
  init_lazySchema,
39
39
  lazySchema
40
40
  } from "./chunk-64c1avct.js";
41
41
  import {
42
- init_sleep,
43
- sleep
44
- } from "./chunk-8g5pe1gr.js";
42
+ EXTERNAL_PERMISSION_MODES,
43
+ PERMISSION_MODES,
44
+ init_permissions
45
+ } from "./chunk-qbrsmra3.js";
45
46
  import {
46
47
  detectVcs,
47
48
  getLinuxDistroInfo,
48
49
  getPlatform,
49
50
  getWslVersion,
50
51
  init_platform
51
- } from "./chunk-tjaqa99q.js";
52
+ } from "./chunk-hezj20qy.js";
53
+ import {
54
+ init_sleep,
55
+ sleep
56
+ } from "./chunk-8g5pe1gr.js";
52
57
  import {
53
58
  init_v4,
54
59
  v4_default
55
- } from "./chunk-4pbx3g7s.js";
60
+ } from "./chunk-8g747a8x.js";
56
61
  import {
57
62
  exports_external,
58
63
  toJSONSchema
59
- } from "./chunk-26wtxbdc.js";
64
+ } from "./chunk-d7886r6a.js";
60
65
  import {
61
66
  require_src as require_src2,
62
67
  require_src1 as require_src3,
@@ -65,7 +70,7 @@ import {
65
70
  import {
66
71
  exports_common,
67
72
  init_common
68
- } from "./chunk-rryx19hp.js";
73
+ } from "./chunk-r2k2jy0y.js";
69
74
  import {
70
75
  init_normalization,
71
76
  normalizeNameForMCP
@@ -78,7 +83,7 @@ import {
78
83
  init_bundledMode,
79
84
  init_env,
80
85
  isInBundledMode
81
- } from "./chunk-9g827w4j.js";
86
+ } from "./chunk-2q39ej51.js";
82
87
  import {
83
88
  ALL_OAUTH_SCOPES,
84
89
  CLAUDE_AI_INFERENCE_SCOPE,
@@ -87,19 +92,23 @@ import {
87
92
  OAUTH_BETA_HEADER,
88
93
  getOauthConfig,
89
94
  init_oauth
90
- } from "./chunk-7ymfj7m3.js";
95
+ } from "./chunk-q82r31er.js";
91
96
  import {
92
97
  require_src
93
98
  } from "./chunk-p2816w9z.js";
94
99
  import {
95
100
  init_startupProfiler,
96
101
  profileCheckpoint
97
- } from "./chunk-jqctzrvd.js";
102
+ } from "./chunk-z4mgvsdj.js";
103
+ import {
104
+ init_source,
105
+ source_default
106
+ } from "./chunk-rvkvehat.js";
98
107
  import {
99
108
  init_analytics,
100
109
  logEvent,
101
110
  stripProtoFields
102
- } from "./chunk-h0rbjg6x.js";
111
+ } from "./chunk-f2mhrmww.js";
103
112
  import {
104
113
  dirIsInGitRepo,
105
114
  findCanonicalGitRoot,
@@ -107,22 +116,22 @@ import {
107
116
  init_diagLogs,
108
117
  init_git,
109
118
  logForDiagnosticsNoPII
110
- } from "./chunk-dr4qq42x.js";
119
+ } from "./chunk-rgbbtszq.js";
111
120
  import {
112
121
  init_memoize as init_memoize2,
113
122
  memoizeWithTTLAsync
114
- } from "./chunk-d18z9pna.js";
123
+ } from "./chunk-1thgdca1.js";
115
124
  import {
116
125
  execFileNoThrow,
117
126
  execFileNoThrowWithCwd,
118
127
  execSyncWithDefaults_DEPRECATED,
119
128
  init_execFileNoThrow,
120
129
  init_execFileNoThrowPortable
121
- } from "./chunk-athjeyrt.js";
130
+ } from "./chunk-yw79dz62.js";
122
131
  import {
123
132
  getCwd,
124
133
  init_cwd
125
- } from "./chunk-8bedvdm1.js";
134
+ } from "./chunk-b81hd3m6.js";
126
135
  import {
127
136
  getEssentialTrafficOnlyReason,
128
137
  init_log,
@@ -130,14 +139,13 @@ import {
130
139
  isEssentialTrafficOnly,
131
140
  isTelemetryDisabled,
132
141
  logError
133
- } from "./chunk-p7g7pf3f.js";
142
+ } from "./chunk-61ahbn23.js";
134
143
  import {
135
144
  execa,
136
145
  execaSync,
137
146
  init_execa
138
- } from "./chunk-ggqx30m9.js";
147
+ } from "./chunk-5z28bqne.js";
139
148
  import {
140
- ConfigParseError,
141
149
  _assignValue_default,
142
150
  _baseAssignValue_default,
143
151
  _cloneBuffer_default,
@@ -149,8 +157,6 @@ import {
149
157
  _getPrototype_default,
150
158
  _initCloneObject_default,
151
159
  clone,
152
- errorMessage,
153
- getErrnoCode,
154
160
  getFsImplementation,
155
161
  init__assignValue,
156
162
  init__baseAssignValue,
@@ -165,13 +171,10 @@ import {
165
171
  init_cleanupRegistry,
166
172
  init_cloneDeep,
167
173
  init_debug,
168
- init_errors,
169
174
  init_fsOperations,
170
175
  init_keysIn,
171
176
  init_slowOperations,
172
177
  isDebugToStdErr,
173
- isENOENT,
174
- isFsInaccessible,
175
178
  jsonParse,
176
179
  jsonStringify,
177
180
  keysIn_default,
@@ -179,9 +182,17 @@ import {
179
182
  logForDebugging,
180
183
  registerCleanup,
181
184
  safeResolvePath,
182
- toError,
183
185
  writeFileSync_DEPRECATED
184
- } from "./chunk-nxsh6de2.js";
186
+ } from "./chunk-hcgkak1j.js";
187
+ import {
188
+ ConfigParseError,
189
+ errorMessage,
190
+ getErrnoCode,
191
+ init_errors,
192
+ isENOENT,
193
+ isFsInaccessible,
194
+ toError
195
+ } from "./chunk-z6e5jp2w.js";
185
196
  import {
186
197
  getAWSRegion,
187
198
  getClaudeConfigHomeDir,
@@ -191,7 +202,7 @@ import {
191
202
  isEnvDefinedFalsy,
192
203
  isEnvTruthy,
193
204
  isRunningOnHomespace
194
- } from "./chunk-3r24h7t6.js";
205
+ } from "./chunk-jaaxk89e.js";
195
206
  import {
196
207
  _Stack_default,
197
208
  _arrayMap_default,
@@ -238,7 +249,6 @@ import {
238
249
  init_isArray,
239
250
  init_isArrayLike,
240
251
  init_isBuffer,
241
- init_isObjectLike,
242
252
  init_isTypedArray,
243
253
  init_settingsCache,
244
254
  init_signal,
@@ -247,7 +257,6 @@ import {
247
257
  isArrayLike_default,
248
258
  isArray_default,
249
259
  isBuffer_default,
250
- isObjectLike_default,
251
260
  isTypedArray_default,
252
261
  preferThirdPartyAuthentication,
253
262
  resetSettingsCache,
@@ -258,19 +267,25 @@ import {
258
267
  setModelStrings,
259
268
  setOauthTokenFromFd,
260
269
  setSessionSettingsCache
261
- } from "./chunk-qqfa0dqg.js";
270
+ } from "./chunk-h4b85amj.js";
271
+ import {
272
+ init_isObjectLike,
273
+ isObjectLike_default
274
+ } from "./chunk-07069jq1.js";
262
275
  import {
263
- _baseGetTag_default,
264
276
  eq_default,
265
- init__baseGetTag,
266
277
  init_eq,
267
278
  init_isFunction,
268
- init_isObject,
269
279
  init_memoize,
270
280
  isFunction_default,
271
- isObject_default,
272
281
  memoize_default
273
- } from "./chunk-hqmz36b3.js";
282
+ } from "./chunk-vf612n57.js";
283
+ import {
284
+ _baseGetTag_default,
285
+ init__baseGetTag,
286
+ init_isObject,
287
+ isObject_default
288
+ } from "./chunk-d4mdda98.js";
274
289
  import {
275
290
  init_sdk
276
291
  } from "./chunk-4g3v8y12.js";
@@ -280,7 +295,7 @@ import {
280
295
  import {
281
296
  axios_default,
282
297
  init_axios
283
- } from "./chunk-xszk7n10.js";
298
+ } from "./chunk-nh3cd07f.js";
284
299
  import {
285
300
  __commonJS,
286
301
  __esm,
@@ -290,502 +305,6 @@ import {
290
305
  __toESM
291
306
  } from "./chunk-qp2qdcda.js";
292
307
 
293
- // node_modules/.bun/chalk@5.6.2/node_modules/chalk/source/vendor/ansi-styles/index.js
294
- function assembleStyles() {
295
- const codes = new Map;
296
- for (const [groupName, group] of Object.entries(styles)) {
297
- for (const [styleName, style] of Object.entries(group)) {
298
- styles[styleName] = {
299
- open: `\x1B[${style[0]}m`,
300
- close: `\x1B[${style[1]}m`
301
- };
302
- group[styleName] = styles[styleName];
303
- codes.set(style[0], style[1]);
304
- }
305
- Object.defineProperty(styles, groupName, {
306
- value: group,
307
- enumerable: false
308
- });
309
- }
310
- Object.defineProperty(styles, "codes", {
311
- value: codes,
312
- enumerable: false
313
- });
314
- styles.color.close = "\x1B[39m";
315
- styles.bgColor.close = "\x1B[49m";
316
- styles.color.ansi = wrapAnsi16();
317
- styles.color.ansi256 = wrapAnsi256();
318
- styles.color.ansi16m = wrapAnsi16m();
319
- styles.bgColor.ansi = wrapAnsi16(ANSI_BACKGROUND_OFFSET);
320
- styles.bgColor.ansi256 = wrapAnsi256(ANSI_BACKGROUND_OFFSET);
321
- styles.bgColor.ansi16m = wrapAnsi16m(ANSI_BACKGROUND_OFFSET);
322
- Object.defineProperties(styles, {
323
- rgbToAnsi256: {
324
- value(red, green, blue) {
325
- if (red === green && green === blue) {
326
- if (red < 8) {
327
- return 16;
328
- }
329
- if (red > 248) {
330
- return 231;
331
- }
332
- return Math.round((red - 8) / 247 * 24) + 232;
333
- }
334
- return 16 + 36 * Math.round(red / 255 * 5) + 6 * Math.round(green / 255 * 5) + Math.round(blue / 255 * 5);
335
- },
336
- enumerable: false
337
- },
338
- hexToRgb: {
339
- value(hex) {
340
- const matches = /[a-f\d]{6}|[a-f\d]{3}/i.exec(hex.toString(16));
341
- if (!matches) {
342
- return [0, 0, 0];
343
- }
344
- let [colorString] = matches;
345
- if (colorString.length === 3) {
346
- colorString = [...colorString].map((character) => character + character).join("");
347
- }
348
- const integer = Number.parseInt(colorString, 16);
349
- return [
350
- integer >> 16 & 255,
351
- integer >> 8 & 255,
352
- integer & 255
353
- ];
354
- },
355
- enumerable: false
356
- },
357
- hexToAnsi256: {
358
- value: (hex) => styles.rgbToAnsi256(...styles.hexToRgb(hex)),
359
- enumerable: false
360
- },
361
- ansi256ToAnsi: {
362
- value(code) {
363
- if (code < 8) {
364
- return 30 + code;
365
- }
366
- if (code < 16) {
367
- return 90 + (code - 8);
368
- }
369
- let red;
370
- let green;
371
- let blue;
372
- if (code >= 232) {
373
- red = ((code - 232) * 10 + 8) / 255;
374
- green = red;
375
- blue = red;
376
- } else {
377
- code -= 16;
378
- const remainder = code % 36;
379
- red = Math.floor(code / 36) / 5;
380
- green = Math.floor(remainder / 6) / 5;
381
- blue = remainder % 6 / 5;
382
- }
383
- const value = Math.max(red, green, blue) * 2;
384
- if (value === 0) {
385
- return 30;
386
- }
387
- let result = 30 + (Math.round(blue) << 2 | Math.round(green) << 1 | Math.round(red));
388
- if (value === 2) {
389
- result += 60;
390
- }
391
- return result;
392
- },
393
- enumerable: false
394
- },
395
- rgbToAnsi: {
396
- value: (red, green, blue) => styles.ansi256ToAnsi(styles.rgbToAnsi256(red, green, blue)),
397
- enumerable: false
398
- },
399
- hexToAnsi: {
400
- value: (hex) => styles.ansi256ToAnsi(styles.hexToAnsi256(hex)),
401
- enumerable: false
402
- }
403
- });
404
- return styles;
405
- }
406
- var ANSI_BACKGROUND_OFFSET = 10, wrapAnsi16 = (offset = 0) => (code) => `\x1B[${code + offset}m`, wrapAnsi256 = (offset = 0) => (code) => `\x1B[${38 + offset};5;${code}m`, wrapAnsi16m = (offset = 0) => (red, green, blue) => `\x1B[${38 + offset};2;${red};${green};${blue}m`, styles, modifierNames, foregroundColorNames, backgroundColorNames, colorNames, ansiStyles, ansi_styles_default;
407
- var init_ansi_styles = __esm(() => {
408
- styles = {
409
- modifier: {
410
- reset: [0, 0],
411
- bold: [1, 22],
412
- dim: [2, 22],
413
- italic: [3, 23],
414
- underline: [4, 24],
415
- overline: [53, 55],
416
- inverse: [7, 27],
417
- hidden: [8, 28],
418
- strikethrough: [9, 29]
419
- },
420
- color: {
421
- black: [30, 39],
422
- red: [31, 39],
423
- green: [32, 39],
424
- yellow: [33, 39],
425
- blue: [34, 39],
426
- magenta: [35, 39],
427
- cyan: [36, 39],
428
- white: [37, 39],
429
- blackBright: [90, 39],
430
- gray: [90, 39],
431
- grey: [90, 39],
432
- redBright: [91, 39],
433
- greenBright: [92, 39],
434
- yellowBright: [93, 39],
435
- blueBright: [94, 39],
436
- magentaBright: [95, 39],
437
- cyanBright: [96, 39],
438
- whiteBright: [97, 39]
439
- },
440
- bgColor: {
441
- bgBlack: [40, 49],
442
- bgRed: [41, 49],
443
- bgGreen: [42, 49],
444
- bgYellow: [43, 49],
445
- bgBlue: [44, 49],
446
- bgMagenta: [45, 49],
447
- bgCyan: [46, 49],
448
- bgWhite: [47, 49],
449
- bgBlackBright: [100, 49],
450
- bgGray: [100, 49],
451
- bgGrey: [100, 49],
452
- bgRedBright: [101, 49],
453
- bgGreenBright: [102, 49],
454
- bgYellowBright: [103, 49],
455
- bgBlueBright: [104, 49],
456
- bgMagentaBright: [105, 49],
457
- bgCyanBright: [106, 49],
458
- bgWhiteBright: [107, 49]
459
- }
460
- };
461
- modifierNames = Object.keys(styles.modifier);
462
- foregroundColorNames = Object.keys(styles.color);
463
- backgroundColorNames = Object.keys(styles.bgColor);
464
- colorNames = [...foregroundColorNames, ...backgroundColorNames];
465
- ansiStyles = assembleStyles();
466
- ansi_styles_default = ansiStyles;
467
- });
468
-
469
- // node_modules/.bun/chalk@5.6.2/node_modules/chalk/source/vendor/supports-color/index.js
470
- import process2 from "process";
471
- import os from "os";
472
- import tty from "tty";
473
- function hasFlag(flag, argv = globalThis.Deno ? globalThis.Deno.args : process2.argv) {
474
- const prefix = flag.startsWith("-") ? "" : flag.length === 1 ? "-" : "--";
475
- const position = argv.indexOf(prefix + flag);
476
- const terminatorPosition = argv.indexOf("--");
477
- return position !== -1 && (terminatorPosition === -1 || position < terminatorPosition);
478
- }
479
- function envForceColor() {
480
- if ("FORCE_COLOR" in env2) {
481
- if (env2.FORCE_COLOR === "true") {
482
- return 1;
483
- }
484
- if (env2.FORCE_COLOR === "false") {
485
- return 0;
486
- }
487
- return env2.FORCE_COLOR.length === 0 ? 1 : Math.min(Number.parseInt(env2.FORCE_COLOR, 10), 3);
488
- }
489
- }
490
- function translateLevel(level) {
491
- if (level === 0) {
492
- return false;
493
- }
494
- return {
495
- level,
496
- hasBasic: true,
497
- has256: level >= 2,
498
- has16m: level >= 3
499
- };
500
- }
501
- function _supportsColor(haveStream, { streamIsTTY, sniffFlags = true } = {}) {
502
- const noFlagForceColor = envForceColor();
503
- if (noFlagForceColor !== undefined) {
504
- flagForceColor = noFlagForceColor;
505
- }
506
- const forceColor = sniffFlags ? flagForceColor : noFlagForceColor;
507
- if (forceColor === 0) {
508
- return 0;
509
- }
510
- if (sniffFlags) {
511
- if (hasFlag("color=16m") || hasFlag("color=full") || hasFlag("color=truecolor")) {
512
- return 3;
513
- }
514
- if (hasFlag("color=256")) {
515
- return 2;
516
- }
517
- }
518
- if ("TF_BUILD" in env2 && "AGENT_NAME" in env2) {
519
- return 1;
520
- }
521
- if (haveStream && !streamIsTTY && forceColor === undefined) {
522
- return 0;
523
- }
524
- const min = forceColor || 0;
525
- if (env2.TERM === "dumb") {
526
- return min;
527
- }
528
- if (process2.platform === "win32") {
529
- const osRelease = os.release().split(".");
530
- if (Number(osRelease[0]) >= 10 && Number(osRelease[2]) >= 10586) {
531
- return Number(osRelease[2]) >= 14931 ? 3 : 2;
532
- }
533
- return 1;
534
- }
535
- if ("CI" in env2) {
536
- if (["GITHUB_ACTIONS", "GITEA_ACTIONS", "CIRCLECI"].some((key) => (key in env2))) {
537
- return 3;
538
- }
539
- if (["TRAVIS", "APPVEYOR", "GITLAB_CI", "BUILDKITE", "DRONE"].some((sign) => (sign in env2)) || env2.CI_NAME === "codeship") {
540
- return 1;
541
- }
542
- return min;
543
- }
544
- if ("TEAMCITY_VERSION" in env2) {
545
- return /^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(env2.TEAMCITY_VERSION) ? 1 : 0;
546
- }
547
- if (env2.COLORTERM === "truecolor") {
548
- return 3;
549
- }
550
- if (env2.TERM === "xterm-kitty") {
551
- return 3;
552
- }
553
- if (env2.TERM === "xterm-ghostty") {
554
- return 3;
555
- }
556
- if (env2.TERM === "wezterm") {
557
- return 3;
558
- }
559
- if ("TERM_PROGRAM" in env2) {
560
- const version = Number.parseInt((env2.TERM_PROGRAM_VERSION || "").split(".")[0], 10);
561
- switch (env2.TERM_PROGRAM) {
562
- case "iTerm.app": {
563
- return version >= 3 ? 3 : 2;
564
- }
565
- case "Apple_Terminal": {
566
- return 2;
567
- }
568
- }
569
- }
570
- if (/-256(color)?$/i.test(env2.TERM)) {
571
- return 2;
572
- }
573
- if (/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(env2.TERM)) {
574
- return 1;
575
- }
576
- if ("COLORTERM" in env2) {
577
- return 1;
578
- }
579
- return min;
580
- }
581
- function createSupportsColor(stream, options = {}) {
582
- const level = _supportsColor(stream, {
583
- streamIsTTY: stream && stream.isTTY,
584
- ...options
585
- });
586
- return translateLevel(level);
587
- }
588
- var env2, flagForceColor, supportsColor, supports_color_default;
589
- var init_supports_color = __esm(() => {
590
- ({ env: env2 } = process2);
591
- if (hasFlag("no-color") || hasFlag("no-colors") || hasFlag("color=false") || hasFlag("color=never")) {
592
- flagForceColor = 0;
593
- } else if (hasFlag("color") || hasFlag("colors") || hasFlag("color=true") || hasFlag("color=always")) {
594
- flagForceColor = 1;
595
- }
596
- supportsColor = {
597
- stdout: createSupportsColor({ isTTY: tty.isatty(1) }),
598
- stderr: createSupportsColor({ isTTY: tty.isatty(2) })
599
- };
600
- supports_color_default = supportsColor;
601
- });
602
-
603
- // node_modules/.bun/chalk@5.6.2/node_modules/chalk/source/utilities.js
604
- function stringReplaceAll(string, substring, replacer) {
605
- let index = string.indexOf(substring);
606
- if (index === -1) {
607
- return string;
608
- }
609
- const substringLength = substring.length;
610
- let endIndex = 0;
611
- let returnValue = "";
612
- do {
613
- returnValue += string.slice(endIndex, index) + substring + replacer;
614
- endIndex = index + substringLength;
615
- index = string.indexOf(substring, endIndex);
616
- } while (index !== -1);
617
- returnValue += string.slice(endIndex);
618
- return returnValue;
619
- }
620
- function stringEncaseCRLFWithFirstIndex(string, prefix, postfix, index) {
621
- let endIndex = 0;
622
- let returnValue = "";
623
- do {
624
- const gotCR = string[index - 1] === "\r";
625
- returnValue += string.slice(endIndex, gotCR ? index - 1 : index) + prefix + (gotCR ? `\r
626
- ` : `
627
- `) + postfix;
628
- endIndex = index + 1;
629
- index = string.indexOf(`
630
- `, endIndex);
631
- } while (index !== -1);
632
- returnValue += string.slice(endIndex);
633
- return returnValue;
634
- }
635
- var init_utilities = () => {};
636
-
637
- // node_modules/.bun/chalk@5.6.2/node_modules/chalk/source/index.js
638
- class Chalk {
639
- constructor(options) {
640
- return chalkFactory(options);
641
- }
642
- }
643
- function createChalk(options) {
644
- return chalkFactory(options);
645
- }
646
- var stdoutColor, stderrColor, GENERATOR, STYLER, IS_EMPTY, levelMapping, styles2, applyOptions = (object, options = {}) => {
647
- if (options.level && !(Number.isInteger(options.level) && options.level >= 0 && options.level <= 3)) {
648
- throw new Error("The `level` option should be an integer from 0 to 3");
649
- }
650
- const colorLevel = stdoutColor ? stdoutColor.level : 0;
651
- object.level = options.level === undefined ? colorLevel : options.level;
652
- }, chalkFactory = (options) => {
653
- const chalk = (...strings) => strings.join(" ");
654
- applyOptions(chalk, options);
655
- Object.setPrototypeOf(chalk, createChalk.prototype);
656
- return chalk;
657
- }, getModelAnsi = (model, level, type, ...arguments_) => {
658
- if (model === "rgb") {
659
- if (level === "ansi16m") {
660
- return ansi_styles_default[type].ansi16m(...arguments_);
661
- }
662
- if (level === "ansi256") {
663
- return ansi_styles_default[type].ansi256(ansi_styles_default.rgbToAnsi256(...arguments_));
664
- }
665
- return ansi_styles_default[type].ansi(ansi_styles_default.rgbToAnsi(...arguments_));
666
- }
667
- if (model === "hex") {
668
- return getModelAnsi("rgb", level, type, ...ansi_styles_default.hexToRgb(...arguments_));
669
- }
670
- return ansi_styles_default[type][model](...arguments_);
671
- }, usedModels, proto, createStyler = (open, close, parent) => {
672
- let openAll;
673
- let closeAll;
674
- if (parent === undefined) {
675
- openAll = open;
676
- closeAll = close;
677
- } else {
678
- openAll = parent.openAll + open;
679
- closeAll = close + parent.closeAll;
680
- }
681
- return {
682
- open,
683
- close,
684
- openAll,
685
- closeAll,
686
- parent
687
- };
688
- }, createBuilder = (self, _styler, _isEmpty) => {
689
- const builder = (...arguments_) => applyStyle(builder, arguments_.length === 1 ? "" + arguments_[0] : arguments_.join(" "));
690
- Object.setPrototypeOf(builder, proto);
691
- builder[GENERATOR] = self;
692
- builder[STYLER] = _styler;
693
- builder[IS_EMPTY] = _isEmpty;
694
- return builder;
695
- }, applyStyle = (self, string) => {
696
- if (self.level <= 0 || !string) {
697
- return self[IS_EMPTY] ? "" : string;
698
- }
699
- let styler = self[STYLER];
700
- if (styler === undefined) {
701
- return string;
702
- }
703
- const { openAll, closeAll } = styler;
704
- if (string.includes("\x1B")) {
705
- while (styler !== undefined) {
706
- string = stringReplaceAll(string, styler.close, styler.open);
707
- styler = styler.parent;
708
- }
709
- }
710
- const lfIndex = string.indexOf(`
711
- `);
712
- if (lfIndex !== -1) {
713
- string = stringEncaseCRLFWithFirstIndex(string, closeAll, openAll, lfIndex);
714
- }
715
- return openAll + string + closeAll;
716
- }, chalk, chalkStderr, source_default;
717
- var init_source = __esm(() => {
718
- init_ansi_styles();
719
- init_supports_color();
720
- init_utilities();
721
- ({ stdout: stdoutColor, stderr: stderrColor } = supports_color_default);
722
- GENERATOR = Symbol("GENERATOR");
723
- STYLER = Symbol("STYLER");
724
- IS_EMPTY = Symbol("IS_EMPTY");
725
- levelMapping = [
726
- "ansi",
727
- "ansi",
728
- "ansi256",
729
- "ansi16m"
730
- ];
731
- styles2 = Object.create(null);
732
- Object.setPrototypeOf(createChalk.prototype, Function.prototype);
733
- for (const [styleName, style] of Object.entries(ansi_styles_default)) {
734
- styles2[styleName] = {
735
- get() {
736
- const builder = createBuilder(this, createStyler(style.open, style.close, this[STYLER]), this[IS_EMPTY]);
737
- Object.defineProperty(this, styleName, { value: builder });
738
- return builder;
739
- }
740
- };
741
- }
742
- styles2.visible = {
743
- get() {
744
- const builder = createBuilder(this, this[STYLER], true);
745
- Object.defineProperty(this, "visible", { value: builder });
746
- return builder;
747
- }
748
- };
749
- usedModels = ["rgb", "hex", "ansi256"];
750
- for (const model of usedModels) {
751
- styles2[model] = {
752
- get() {
753
- const { level } = this;
754
- return function(...arguments_) {
755
- const styler = createStyler(getModelAnsi(model, levelMapping[level], "color", ...arguments_), ansi_styles_default.color.close, this[STYLER]);
756
- return createBuilder(this, styler, this[IS_EMPTY]);
757
- };
758
- }
759
- };
760
- const bgModel = "bg" + model[0].toUpperCase() + model.slice(1);
761
- styles2[bgModel] = {
762
- get() {
763
- const { level } = this;
764
- return function(...arguments_) {
765
- const styler = createStyler(getModelAnsi(model, levelMapping[level], "bgColor", ...arguments_), ansi_styles_default.bgColor.close, this[STYLER]);
766
- return createBuilder(this, styler, this[IS_EMPTY]);
767
- };
768
- }
769
- };
770
- }
771
- proto = Object.defineProperties(() => {}, {
772
- ...styles2,
773
- level: {
774
- enumerable: true,
775
- get() {
776
- return this[GENERATOR].level;
777
- },
778
- set(level) {
779
- this[GENERATOR].level = level;
780
- }
781
- }
782
- });
783
- Object.defineProperties(createChalk.prototype, styles2);
784
- chalk = createChalk();
785
- chalkStderr = createChalk({ level: stderrColor ? stderrColor.level : 0 });
786
- source_default = chalk;
787
- });
788
-
789
308
  // src/utils/sequential.ts
790
309
  function sequential(fn) {
791
310
  const queue = [];
@@ -874,11 +393,11 @@ function isPlainObject(value) {
874
393
  if (!isObjectLike_default(value) || _baseGetTag_default(value) != objectTag) {
875
394
  return false;
876
395
  }
877
- var proto2 = _getPrototype_default(value);
878
- if (proto2 === null) {
396
+ var proto = _getPrototype_default(value);
397
+ if (proto === null) {
879
398
  return true;
880
399
  }
881
- var Ctor = hasOwnProperty.call(proto2, "constructor") && proto2.constructor;
400
+ var Ctor = hasOwnProperty.call(proto, "constructor") && proto.constructor;
882
401
  return typeof Ctor == "function" && Ctor instanceof Ctor && funcToString.call(Ctor) == objectCtorString;
883
402
  }
884
403
  var objectTag = "[object Object]", funcProto, objectProto, funcToString, hasOwnProperty, objectCtorString, isPlainObject_default;
@@ -4381,6 +3900,12 @@ function isAutoMemoryEnabled() {
4381
3900
  }
4382
3901
  return true;
4383
3902
  }
3903
+ function isExtractModeActive() {
3904
+ if (!getFeatureValue_CACHED_MAY_BE_STALE("tengu_passport_quail", false)) {
3905
+ return false;
3906
+ }
3907
+ return !getIsNonInteractiveSession() || getFeatureValue_CACHED_MAY_BE_STALE("tengu_slate_thimble", false);
3908
+ }
4384
3909
  function getMemoryBaseDir() {
4385
3910
  if (process.env.CLAUDE_CODE_REMOTE_MEMORY_DIR) {
4386
3911
  return process.env.CLAUDE_CODE_REMOTE_MEMORY_DIR;
@@ -7227,7 +6752,7 @@ var init_envDynamic = __esm(() => {
7227
6752
  });
7228
6753
 
7229
6754
  // src/constants/betas.ts
7230
- var CLAUDE_CODE_20250219_BETA_HEADER = "claude-code-20250219", INTERLEAVED_THINKING_BETA_HEADER = "interleaved-thinking-2025-05-14", CONTEXT_1M_BETA_HEADER = "context-1m-2025-08-07", CONTEXT_MANAGEMENT_BETA_HEADER = "context-management-2025-06-27", STRUCTURED_OUTPUTS_BETA_HEADER = "structured-outputs-2025-12-15", WEB_SEARCH_BETA_HEADER = "web-search-2025-03-05", TOOL_SEARCH_BETA_HEADER_1P = "advanced-tool-use-2025-11-20", TOOL_SEARCH_BETA_HEADER_3P = "tool-search-tool-2025-10-19", EFFORT_BETA_HEADER = "effort-2025-11-24", TASK_BUDGETS_BETA_HEADER = "task-budgets-2026-03-13", PROMPT_CACHING_SCOPE_BETA_HEADER = "prompt-caching-scope-2026-01-05", FAST_MODE_BETA_HEADER = "fast-mode-2026-02-01", REDACT_THINKING_BETA_HEADER = "redact-thinking-2026-02-12", TOKEN_EFFICIENT_TOOLS_BETA_HEADER = "token-efficient-tools-2026-03-28", AFK_MODE_BETA_HEADER = "", CLI_INTERNAL_BETA_HEADER, ADVISOR_BETA_HEADER = "advisor-tool-2026-03-01", BEDROCK_EXTRA_PARAMS_HEADERS, VERTEX_COUNT_TOKENS_ALLOWED_BETAS;
6755
+ var CLAUDE_CODE_20250219_BETA_HEADER = "claude-code-20250219", INTERLEAVED_THINKING_BETA_HEADER = "interleaved-thinking-2025-05-14", CONTEXT_1M_BETA_HEADER = "context-1m-2025-08-07", CONTEXT_MANAGEMENT_BETA_HEADER = "context-management-2025-06-27", STRUCTURED_OUTPUTS_BETA_HEADER = "structured-outputs-2025-12-15", WEB_SEARCH_BETA_HEADER = "web-search-2025-03-05", TOOL_SEARCH_BETA_HEADER_1P = "advanced-tool-use-2025-11-20", TOOL_SEARCH_BETA_HEADER_3P = "tool-search-tool-2025-10-19", EFFORT_BETA_HEADER = "effort-2025-11-24", TASK_BUDGETS_BETA_HEADER = "task-budgets-2026-03-13", PROMPT_CACHING_SCOPE_BETA_HEADER = "prompt-caching-scope-2026-01-05", FAST_MODE_BETA_HEADER = "fast-mode-2026-02-01", REDACT_THINKING_BETA_HEADER = "redact-thinking-2026-02-12", TOKEN_EFFICIENT_TOOLS_BETA_HEADER = "token-efficient-tools-2026-03-28", AFK_MODE_BETA_HEADER = "afk-mode-2026-01-31", CLI_INTERNAL_BETA_HEADER, ADVISOR_BETA_HEADER = "advisor-tool-2026-03-01", BEDROCK_EXTRA_PARAMS_HEADERS, VERTEX_COUNT_TOKENS_ALLOWED_BETAS;
7231
6756
  var init_betas = __esm(() => {
7232
6757
  CLI_INTERNAL_BETA_HEADER = process.env.USER_TYPE === "ant" ? "cli-internal-2026-02-09" : "";
7233
6758
  BEDROCK_EXTRA_PARAMS_HEADERS = new Set([
@@ -7274,7 +6799,23 @@ function getAPIProvider() {
7274
6799
  const modelType = getInitialSettings().modelType;
7275
6800
  if (modelType === "openai")
7276
6801
  return "openai";
7277
- return isEnvTruthy(process.env.CLAUDE_CODE_USE_OPENAI) ? "openai" : isEnvTruthy(process.env.CLAUDE_CODE_USE_BEDROCK) ? "bedrock" : isEnvTruthy(process.env.CLAUDE_CODE_USE_VERTEX) ? "vertex" : isEnvTruthy(process.env.CLAUDE_CODE_USE_FOUNDRY) ? "foundry" : "firstParty";
6802
+ if (modelType === "gemini")
6803
+ return "gemini";
6804
+ if (modelType === "grok")
6805
+ return "grok";
6806
+ if (isEnvTruthy(process.env.CLAUDE_CODE_USE_BEDROCK))
6807
+ return "bedrock";
6808
+ if (isEnvTruthy(process.env.CLAUDE_CODE_USE_VERTEX))
6809
+ return "vertex";
6810
+ if (isEnvTruthy(process.env.CLAUDE_CODE_USE_FOUNDRY))
6811
+ return "foundry";
6812
+ if (isEnvTruthy(process.env.CLAUDE_CODE_USE_OPENAI))
6813
+ return "openai";
6814
+ if (isEnvTruthy(process.env.CLAUDE_CODE_USE_GEMINI))
6815
+ return "gemini";
6816
+ if (isEnvTruthy(process.env.CLAUDE_CODE_USE_GROK))
6817
+ return "grok";
6818
+ return "firstParty";
7278
6819
  }
7279
6820
  function getAPIProviderForStatsig() {
7280
6821
  return getAPIProvider();
@@ -7620,77 +7161,88 @@ var init_configs = __esm(() => {
7620
7161
  bedrock: "us.anthropic.claude-3-7-sonnet-20250219-v1:0",
7621
7162
  vertex: "claude-3-7-sonnet@20250219",
7622
7163
  foundry: "claude-3-7-sonnet",
7623
- openai: "claude-3-7-sonnet-20250219"
7164
+ openai: "claude-3-7-sonnet-20250219",
7165
+ gemini: "claude-3-7-sonnet-20250219"
7624
7166
  };
7625
7167
  CLAUDE_3_5_V2_SONNET_CONFIG = {
7626
7168
  firstParty: "claude-3-5-sonnet-20241022",
7627
7169
  bedrock: "anthropic.claude-3-5-sonnet-20241022-v2:0",
7628
7170
  vertex: "claude-3-5-sonnet-v2@20241022",
7629
7171
  foundry: "claude-3-5-sonnet",
7630
- openai: "claude-3-5-sonnet-20241022"
7172
+ openai: "claude-3-5-sonnet-20241022",
7173
+ gemini: "claude-3-5-sonnet-20241022"
7631
7174
  };
7632
7175
  CLAUDE_3_5_HAIKU_CONFIG = {
7633
7176
  firstParty: "claude-3-5-haiku-20241022",
7634
7177
  bedrock: "us.anthropic.claude-3-5-haiku-20241022-v1:0",
7635
7178
  vertex: "claude-3-5-haiku@20241022",
7636
7179
  foundry: "claude-3-5-haiku",
7637
- openai: "claude-3-5-haiku-20241022"
7180
+ openai: "claude-3-5-haiku-20241022",
7181
+ gemini: "claude-3-5-haiku-20241022"
7638
7182
  };
7639
7183
  CLAUDE_HAIKU_4_5_CONFIG = {
7640
7184
  firstParty: "claude-haiku-4-5-20251001",
7641
7185
  bedrock: "us.anthropic.claude-haiku-4-5-20251001-v1:0",
7642
7186
  vertex: "claude-haiku-4-5@20251001",
7643
7187
  foundry: "claude-haiku-4-5",
7644
- openai: "claude-haiku-4-5-20251001"
7188
+ openai: "claude-haiku-4-5-20251001",
7189
+ gemini: "claude-haiku-4-5-20251001"
7645
7190
  };
7646
7191
  CLAUDE_SONNET_4_CONFIG = {
7647
7192
  firstParty: "claude-sonnet-4-20250514",
7648
7193
  bedrock: "us.anthropic.claude-sonnet-4-20250514-v1:0",
7649
7194
  vertex: "claude-sonnet-4@20250514",
7650
7195
  foundry: "claude-sonnet-4",
7651
- openai: "claude-sonnet-4-20250514"
7196
+ openai: "claude-sonnet-4-20250514",
7197
+ gemini: "claude-sonnet-4-20250514"
7652
7198
  };
7653
7199
  CLAUDE_SONNET_4_5_CONFIG = {
7654
7200
  firstParty: "claude-sonnet-4-5-20250929",
7655
7201
  bedrock: "us.anthropic.claude-sonnet-4-5-20250929-v1:0",
7656
7202
  vertex: "claude-sonnet-4-5@20250929",
7657
7203
  foundry: "claude-sonnet-4-5",
7658
- openai: "claude-sonnet-4-5-20250929"
7204
+ openai: "claude-sonnet-4-5-20250929",
7205
+ gemini: "claude-sonnet-4-5-20250929"
7659
7206
  };
7660
7207
  CLAUDE_OPUS_4_CONFIG = {
7661
7208
  firstParty: "claude-opus-4-20250514",
7662
7209
  bedrock: "us.anthropic.claude-opus-4-20250514-v1:0",
7663
7210
  vertex: "claude-opus-4@20250514",
7664
7211
  foundry: "claude-opus-4",
7665
- openai: "claude-opus-4-20250514"
7212
+ openai: "claude-opus-4-20250514",
7213
+ gemini: "claude-opus-4-20250514"
7666
7214
  };
7667
7215
  CLAUDE_OPUS_4_1_CONFIG = {
7668
7216
  firstParty: "claude-opus-4-1-20250805",
7669
7217
  bedrock: "us.anthropic.claude-opus-4-1-20250805-v1:0",
7670
7218
  vertex: "claude-opus-4-1@20250805",
7671
7219
  foundry: "claude-opus-4-1",
7672
- openai: "claude-opus-4-1-20250805"
7220
+ openai: "claude-opus-4-1-20250805",
7221
+ gemini: "claude-opus-4-1-20250805"
7673
7222
  };
7674
7223
  CLAUDE_OPUS_4_5_CONFIG = {
7675
7224
  firstParty: "claude-opus-4-5-20251101",
7676
7225
  bedrock: "us.anthropic.claude-opus-4-5-20251101-v1:0",
7677
7226
  vertex: "claude-opus-4-5@20251101",
7678
7227
  foundry: "claude-opus-4-5",
7679
- openai: "claude-opus-4-5-20251101"
7228
+ openai: "claude-opus-4-5-20251101",
7229
+ gemini: "claude-opus-4-5-20251101"
7680
7230
  };
7681
7231
  CLAUDE_OPUS_4_6_CONFIG = {
7682
7232
  firstParty: "claude-opus-4-6",
7683
7233
  bedrock: "us.anthropic.claude-opus-4-6-v1",
7684
7234
  vertex: "claude-opus-4-6",
7685
7235
  foundry: "claude-opus-4-6",
7686
- openai: "claude-opus-4-6"
7236
+ openai: "claude-opus-4-6",
7237
+ gemini: "claude-opus-4-6"
7687
7238
  };
7688
7239
  CLAUDE_SONNET_4_6_CONFIG = {
7689
7240
  firstParty: "claude-sonnet-4-6",
7690
7241
  bedrock: "us.anthropic.claude-sonnet-4-6",
7691
7242
  vertex: "claude-sonnet-4-6",
7692
7243
  foundry: "claude-sonnet-4-6",
7693
- openai: "claude-sonnet-4-6"
7244
+ openai: "claude-sonnet-4-6",
7245
+ gemini: "claude-sonnet-4-6"
7694
7246
  };
7695
7247
  ALL_MODEL_CONFIGS = {
7696
7248
  haiku35: CLAUDE_3_5_HAIKU_CONFIG,
@@ -7743,6 +7295,15 @@ function calculateUSDCost(resolvedModel, usage) {
7743
7295
  const modelCosts = getModelCosts(resolvedModel, usage);
7744
7296
  return tokensToUSDCost(modelCosts, usage);
7745
7297
  }
7298
+ function calculateCostFromTokens(model, tokens) {
7299
+ const usage = {
7300
+ input_tokens: tokens.inputTokens,
7301
+ output_tokens: tokens.outputTokens,
7302
+ cache_read_input_tokens: tokens.cacheReadInputTokens,
7303
+ cache_creation_input_tokens: tokens.cacheCreationInputTokens
7304
+ };
7305
+ return calculateUSDCost(model, usage);
7306
+ }
7746
7307
  function formatPrice(price) {
7747
7308
  if (Number.isInteger(price)) {
7748
7309
  return `$${price}`;
@@ -7818,10 +7379,16 @@ var init_modelCost = __esm(() => {
7818
7379
  });
7819
7380
 
7820
7381
  // src/constants/figures.ts
7821
- var BLACK_CIRCLE, BULLET_OPERATOR = "\u2219", TEARDROP_ASTERISK = "\u273B", UP_ARROW = "\u2191", DOWN_ARROW = "\u2193", LIGHTNING_BOLT = "\u21AF", EFFORT_LOW = "\u25CB", EFFORT_MEDIUM = "\u25D0", EFFORT_HIGH = "\u25CF", EFFORT_MAX = "\u25C9", PLAY_ICON = "\u25B6", PAUSE_ICON = "\u23F8", REFRESH_ARROW = "\u21BB", DIAMOND_OPEN = "\u25C7", DIAMOND_FILLED = "\u25C6", REFERENCE_MARK = "\u203B", BLOCKQUOTE_BAR = "\u258E", BRIDGE_READY_INDICATOR = "\xB7\u2714\uFE0E\xB7", BRIDGE_FAILED_INDICATOR = "\xD7";
7382
+ var BLACK_CIRCLE, BULLET_OPERATOR = "\u2219", TEARDROP_ASTERISK = "\u273B", UP_ARROW = "\u2191", DOWN_ARROW = "\u2193", LIGHTNING_BOLT = "\u21AF", EFFORT_LOW = "\u25CB", EFFORT_MEDIUM = "\u25D0", EFFORT_HIGH = "\u25CF", EFFORT_MAX = "\u25C9", PLAY_ICON = "\u25B6", PAUSE_ICON = "\u23F8", REFRESH_ARROW = "\u21BB", DIAMOND_OPEN = "\u25C7", DIAMOND_FILLED = "\u25C6", REFERENCE_MARK = "\u203B", FLAG_ICON = "\u2691", BLOCKQUOTE_BAR = "\u258E", BRIDGE_SPINNER_FRAMES, BRIDGE_READY_INDICATOR = "\xB7\u2714\uFE0E\xB7", BRIDGE_FAILED_INDICATOR = "\xD7";
7822
7383
  var init_figures = __esm(() => {
7823
7384
  init_env();
7824
7385
  BLACK_CIRCLE = env.platform === "darwin" ? "\u23FA" : "\u25CF";
7386
+ BRIDGE_SPINNER_FRAMES = [
7387
+ "\xB7|\xB7",
7388
+ "\xB7/\xB7",
7389
+ "\xB7\u2014\xB7",
7390
+ "\xB7\\\xB7"
7391
+ ];
7825
7392
  });
7826
7393
 
7827
7394
  // src/utils/model/aliases.ts
@@ -8055,6 +7622,13 @@ var init_stringUtils = __esm(() => {
8055
7622
 
8056
7623
  // src/utils/model/model.ts
8057
7624
  function getSmallFastModel() {
7625
+ const provider = getAPIProvider();
7626
+ if (provider === "openai" && process.env.OPENAI_SMALL_FAST_MODEL) {
7627
+ return process.env.OPENAI_SMALL_FAST_MODEL;
7628
+ }
7629
+ if (provider === "gemini" && process.env.GEMINI_SMALL_FAST_MODEL) {
7630
+ return process.env.GEMINI_SMALL_FAST_MODEL;
7631
+ }
8058
7632
  return process.env.ANTHROPIC_SMALL_FAST_MODEL || getDefaultHaikuModel();
8059
7633
  }
8060
7634
  function isNonCustomOpusModel(model) {
@@ -8085,24 +7659,45 @@ function getBestModel() {
8085
7659
  return getDefaultOpusModel();
8086
7660
  }
8087
7661
  function getDefaultOpusModel() {
7662
+ const provider = getAPIProvider();
7663
+ if (provider === "openai" && process.env.OPENAI_DEFAULT_OPUS_MODEL) {
7664
+ return process.env.OPENAI_DEFAULT_OPUS_MODEL;
7665
+ }
7666
+ if (provider === "gemini" && process.env.GEMINI_DEFAULT_OPUS_MODEL) {
7667
+ return process.env.GEMINI_DEFAULT_OPUS_MODEL;
7668
+ }
8088
7669
  if (process.env.ANTHROPIC_DEFAULT_OPUS_MODEL) {
8089
7670
  return process.env.ANTHROPIC_DEFAULT_OPUS_MODEL;
8090
7671
  }
8091
- if (getAPIProvider() !== "firstParty") {
7672
+ if (provider !== "firstParty") {
8092
7673
  return getModelStrings2().opus46;
8093
7674
  }
8094
7675
  return getModelStrings2().opus46;
8095
7676
  }
8096
7677
  function getDefaultSonnetModel() {
7678
+ const provider = getAPIProvider();
7679
+ if (provider === "openai" && process.env.OPENAI_DEFAULT_SONNET_MODEL) {
7680
+ return process.env.OPENAI_DEFAULT_SONNET_MODEL;
7681
+ }
7682
+ if (provider === "gemini" && process.env.GEMINI_DEFAULT_SONNET_MODEL) {
7683
+ return process.env.GEMINI_DEFAULT_SONNET_MODEL;
7684
+ }
8097
7685
  if (process.env.ANTHROPIC_DEFAULT_SONNET_MODEL) {
8098
7686
  return process.env.ANTHROPIC_DEFAULT_SONNET_MODEL;
8099
7687
  }
8100
- if (getAPIProvider() !== "firstParty") {
7688
+ if (provider !== "firstParty") {
8101
7689
  return getModelStrings2().sonnet45;
8102
7690
  }
8103
7691
  return getModelStrings2().sonnet46;
8104
7692
  }
8105
7693
  function getDefaultHaikuModel() {
7694
+ const provider = getAPIProvider();
7695
+ if (provider === "openai" && process.env.OPENAI_DEFAULT_HAIKU_MODEL) {
7696
+ return process.env.OPENAI_DEFAULT_HAIKU_MODEL;
7697
+ }
7698
+ if (provider === "gemini" && process.env.GEMINI_DEFAULT_HAIKU_MODEL) {
7699
+ return process.env.GEMINI_DEFAULT_HAIKU_MODEL;
7700
+ }
8106
7701
  if (process.env.ANTHROPIC_DEFAULT_HAIKU_MODEL) {
8107
7702
  return process.env.ANTHROPIC_DEFAULT_HAIKU_MODEL;
8108
7703
  }
@@ -8481,7 +8076,7 @@ async function getAnthropicClient({
8481
8076
  }
8482
8077
  };
8483
8078
  if (isEnvTruthy(process.env.CLAUDE_CODE_USE_BEDROCK)) {
8484
- const { AnthropicBedrock } = await import("./chunk-xyqr1cww.js");
8079
+ const { AnthropicBedrock } = await import("./chunk-8me0yq6v.js");
8485
8080
  const awsRegion = model === getSmallFastModel() && process.env.ANTHROPIC_SMALL_FAST_MODEL_AWS_REGION ? process.env.ANTHROPIC_SMALL_FAST_MODEL_AWS_REGION : getAWSRegion();
8486
8081
  const bedrockArgs = {
8487
8082
  ...ARGS,
@@ -8517,7 +8112,7 @@ async function getAnthropicClient({
8517
8112
  const {
8518
8113
  DefaultAzureCredential: AzureCredential,
8519
8114
  getBearerTokenProvider
8520
- } = await import("./chunk-zsfxha74.js");
8115
+ } = await import("./chunk-pshjyzq4.js");
8521
8116
  azureADTokenProvider = getBearerTokenProvider(new AzureCredential, "https://cognitiveservices.azure.com/.default");
8522
8117
  }
8523
8118
  }
@@ -8533,8 +8128,8 @@ async function getAnthropicClient({
8533
8128
  await refreshGcpCredentialsIfNeeded();
8534
8129
  }
8535
8130
  const [{ AnthropicVertex }, { GoogleAuth }] = await Promise.all([
8536
- import("./chunk-dv1wfr85.js"),
8537
- import("./chunk-mt25echc.js").then((m)=>__toESM(m.default,1))
8131
+ import("./chunk-8225arm6.js"),
8132
+ import("./chunk-tezak8rx.js").then((m)=>__toESM(m.default,1))
8538
8133
  ]);
8539
8134
  const hasProjectEnvVar = process.env["GCLOUD_PROJECT"] || process.env["GOOGLE_CLOUD_PROJECT"] || process.env["gcloud_project"] || process.env["google_cloud_project"];
8540
8135
  const hasKeyFile = process.env["GOOGLE_APPLICATION_CREDENTIALS"] || process.env["google_application_credentials"];
@@ -8859,11 +8454,11 @@ var init_context = __esm(() => {
8859
8454
  });
8860
8455
 
8861
8456
  // src/utils/model/modelSupportOverrides.ts
8862
- var TIERS, get3PModelCapabilityOverride;
8457
+ var ANTHROPIC_TIERS, OPENAI_TIERS, get3PModelCapabilityOverride;
8863
8458
  var init_modelSupportOverrides = __esm(() => {
8864
8459
  init_memoize();
8865
8460
  init_providers();
8866
- TIERS = [
8461
+ ANTHROPIC_TIERS = [
8867
8462
  {
8868
8463
  modelEnvVar: "ANTHROPIC_DEFAULT_OPUS_MODEL",
8869
8464
  capabilitiesEnvVar: "ANTHROPIC_DEFAULT_OPUS_MODEL_SUPPORTED_CAPABILITIES"
@@ -8877,12 +8472,27 @@ var init_modelSupportOverrides = __esm(() => {
8877
8472
  capabilitiesEnvVar: "ANTHROPIC_DEFAULT_HAIKU_MODEL_SUPPORTED_CAPABILITIES"
8878
8473
  }
8879
8474
  ];
8475
+ OPENAI_TIERS = [
8476
+ {
8477
+ modelEnvVar: "OPENAI_DEFAULT_OPUS_MODEL",
8478
+ capabilitiesEnvVar: "OPENAI_DEFAULT_OPUS_MODEL_SUPPORTED_CAPABILITIES"
8479
+ },
8480
+ {
8481
+ modelEnvVar: "OPENAI_DEFAULT_SONNET_MODEL",
8482
+ capabilitiesEnvVar: "OPENAI_DEFAULT_SONNET_MODEL_SUPPORTED_CAPABILITIES"
8483
+ },
8484
+ {
8485
+ modelEnvVar: "OPENAI_DEFAULT_HAIKU_MODEL",
8486
+ capabilitiesEnvVar: "OPENAI_DEFAULT_HAIKU_MODEL_SUPPORTED_CAPABILITIES"
8487
+ }
8488
+ ];
8880
8489
  get3PModelCapabilityOverride = memoize_default((model, capability) => {
8881
8490
  if (getAPIProvider() === "firstParty") {
8882
8491
  return;
8883
8492
  }
8884
8493
  const m = model.toLowerCase();
8885
- for (const tier of TIERS) {
8494
+ const tiers = getAPIProvider() === "openai" ? OPENAI_TIERS : ANTHROPIC_TIERS;
8495
+ for (const tier of tiers) {
8886
8496
  const pinned = process.env[tier.modelEnvVar];
8887
8497
  const capabilities = process.env[tier.capabilitiesEnvVar];
8888
8498
  if (!pinned || capabilities === undefined)
@@ -8961,7 +8571,25 @@ function modelSupportsStructuredOutputs(model) {
8961
8571
  return canonical.includes("claude-sonnet-4-6") || canonical.includes("claude-sonnet-4-5") || canonical.includes("claude-opus-4-1") || canonical.includes("claude-opus-4-5") || canonical.includes("claude-opus-4-6") || canonical.includes("claude-haiku-4-5");
8962
8572
  }
8963
8573
  function modelSupportsAutoMode(model) {
8964
- if (false) {}
8574
+ if (true) {
8575
+ const m = getCanonicalName(model);
8576
+ if (process.env.USER_TYPE !== "ant" && getAPIProvider() !== "firstParty") {
8577
+ return false;
8578
+ }
8579
+ const config = getFeatureValue_CACHED_MAY_BE_STALE("tengu_auto_mode_config", {});
8580
+ const rawLower = model.toLowerCase();
8581
+ if (config?.allowModels?.some((am) => am.toLowerCase() === rawLower || am.toLowerCase() === m)) {
8582
+ return true;
8583
+ }
8584
+ if (process.env.USER_TYPE === "ant") {
8585
+ if (m.includes("claude-3-"))
8586
+ return false;
8587
+ if (/claude-(opus|sonnet|haiku)-4(?!-[6-9])/.test(m))
8588
+ return false;
8589
+ return true;
8590
+ }
8591
+ return /^claude-(opus|sonnet)-4-6/.test(m);
8592
+ }
8965
8593
  return false;
8966
8594
  }
8967
8595
  function getToolSearchBetaHeader() {
@@ -9438,7 +9066,7 @@ function to1PEventFormat(metadata, userMetadata, additionalMetadata = {}) {
9438
9066
  observerMode,
9439
9067
  ...coreFields
9440
9068
  } = metadata;
9441
- const env3 = {
9069
+ const env2 = {
9442
9070
  platform: envContext.platform,
9443
9071
  platform_raw: envContext.platformRaw,
9444
9072
  arch: envContext.arch,
@@ -9460,47 +9088,47 @@ function to1PEventFormat(metadata, userMetadata, additionalMetadata = {}) {
9460
9088
  deployment_environment: envContext.deploymentEnvironment
9461
9089
  };
9462
9090
  if (envContext.remoteEnvironmentType) {
9463
- env3.remote_environment_type = envContext.remoteEnvironmentType;
9091
+ env2.remote_environment_type = envContext.remoteEnvironmentType;
9464
9092
  }
9465
9093
  if (false) {}
9466
9094
  if (envContext.claudeCodeContainerId) {
9467
- env3.claude_code_container_id = envContext.claudeCodeContainerId;
9095
+ env2.claude_code_container_id = envContext.claudeCodeContainerId;
9468
9096
  }
9469
9097
  if (envContext.claudeCodeRemoteSessionId) {
9470
- env3.claude_code_remote_session_id = envContext.claudeCodeRemoteSessionId;
9098
+ env2.claude_code_remote_session_id = envContext.claudeCodeRemoteSessionId;
9471
9099
  }
9472
9100
  if (envContext.tags) {
9473
- env3.tags = envContext.tags.split(",").map((t) => t.trim()).filter(Boolean);
9101
+ env2.tags = envContext.tags.split(",").map((t) => t.trim()).filter(Boolean);
9474
9102
  }
9475
9103
  if (envContext.githubEventName) {
9476
- env3.github_event_name = envContext.githubEventName;
9104
+ env2.github_event_name = envContext.githubEventName;
9477
9105
  }
9478
9106
  if (envContext.githubActionsRunnerEnvironment) {
9479
- env3.github_actions_runner_environment = envContext.githubActionsRunnerEnvironment;
9107
+ env2.github_actions_runner_environment = envContext.githubActionsRunnerEnvironment;
9480
9108
  }
9481
9109
  if (envContext.githubActionsRunnerOs) {
9482
- env3.github_actions_runner_os = envContext.githubActionsRunnerOs;
9110
+ env2.github_actions_runner_os = envContext.githubActionsRunnerOs;
9483
9111
  }
9484
9112
  if (envContext.githubActionRef) {
9485
- env3.github_action_ref = envContext.githubActionRef;
9113
+ env2.github_action_ref = envContext.githubActionRef;
9486
9114
  }
9487
9115
  if (envContext.wslVersion) {
9488
- env3.wsl_version = envContext.wslVersion;
9116
+ env2.wsl_version = envContext.wslVersion;
9489
9117
  }
9490
9118
  if (envContext.linuxDistroId) {
9491
- env3.linux_distro_id = envContext.linuxDistroId;
9119
+ env2.linux_distro_id = envContext.linuxDistroId;
9492
9120
  }
9493
9121
  if (envContext.linuxDistroVersion) {
9494
- env3.linux_distro_version = envContext.linuxDistroVersion;
9122
+ env2.linux_distro_version = envContext.linuxDistroVersion;
9495
9123
  }
9496
9124
  if (envContext.linuxKernel) {
9497
- env3.linux_kernel = envContext.linuxKernel;
9125
+ env2.linux_kernel = envContext.linuxKernel;
9498
9126
  }
9499
9127
  if (envContext.vcs) {
9500
- env3.vcs = envContext.vcs;
9128
+ env2.vcs = envContext.vcs;
9501
9129
  }
9502
9130
  if (envContext.versionBase) {
9503
- env3.version_base = envContext.versionBase;
9131
+ env2.version_base = envContext.versionBase;
9504
9132
  }
9505
9133
  const core = {
9506
9134
  session_id: coreFields.sessionId,
@@ -9541,7 +9169,7 @@ function to1PEventFormat(metadata, userMetadata, additionalMetadata = {}) {
9541
9169
  }
9542
9170
  if (userMetadata.githubActionsMetadata) {
9543
9171
  const ghMeta = userMetadata.githubActionsMetadata;
9544
- env3.github_actions_metadata = {
9172
+ env2.github_actions_metadata = {
9545
9173
  actor_id: ghMeta.actorId,
9546
9174
  repository_id: ghMeta.repositoryId,
9547
9175
  repository_owner_id: ghMeta.repositoryOwnerId
@@ -9555,7 +9183,7 @@ function to1PEventFormat(metadata, userMetadata, additionalMetadata = {}) {
9555
9183
  };
9556
9184
  }
9557
9185
  return {
9558
- env: env3,
9186
+ env: env2,
9559
9187
  ...processMetrics && {
9560
9188
  process: Buffer.from(jsonStringify(processMetrics)).toString("base64")
9561
9189
  },
@@ -9654,7 +9282,7 @@ var init_metadata = __esm(() => {
9654
9282
  isClaudeAiAuth: isClaudeAISubscriber(),
9655
9283
  version: "2.1.888",
9656
9284
  versionBase: getVersionBase(),
9657
- buildTime: "2026-04-04T12:51:54.993Z",
9285
+ buildTime: "2026-04-09T12:37:28.523Z",
9658
9286
  deploymentEnvironment: env.detectDeploymentEnvironment(),
9659
9287
  ...isEnvTruthy(process.env.GITHUB_ACTIONS) && {
9660
9288
  githubEventName: process.env.GITHUB_EVENT_NAME,
@@ -10564,6 +10192,12 @@ function syncRemoteEvalToDisk() {
10564
10192
  cachedGrowthBookFeatures: fresh
10565
10193
  }));
10566
10194
  }
10195
+ function getLocalGateDefault(feature) {
10196
+ if (process.env.CLAUDE_CODE_DISABLE_LOCAL_GATES) {
10197
+ return;
10198
+ }
10199
+ return LOCAL_GATE_DEFAULTS[feature];
10200
+ }
10567
10201
  function isGrowthBookEnabled() {
10568
10202
  if (process.env.CLAUDE_GB_ADAPTER_URL && process.env.CLAUDE_GB_ADAPTER_KEY) {
10569
10203
  return true;
@@ -10620,11 +10254,13 @@ async function getFeatureValueInternal(feature, defaultValue, logExposure) {
10620
10254
  return configOverrides[feature];
10621
10255
  }
10622
10256
  if (!isGrowthBookEnabled()) {
10623
- return defaultValue;
10257
+ const localDefault = getLocalGateDefault(feature);
10258
+ return localDefault !== undefined ? localDefault : defaultValue;
10624
10259
  }
10625
10260
  const growthBookClient = await initializeGrowthBook();
10626
10261
  if (!growthBookClient) {
10627
- return defaultValue;
10262
+ const localDefault = getLocalGateDefault(feature);
10263
+ return localDefault !== undefined ? localDefault : defaultValue;
10628
10264
  }
10629
10265
  let result;
10630
10266
  if (remoteEvalFeatureValues.has(feature)) {
@@ -10653,7 +10289,8 @@ function getFeatureValue_CACHED_MAY_BE_STALE(feature, defaultValue) {
10653
10289
  return configOverrides[feature];
10654
10290
  }
10655
10291
  if (!isGrowthBookEnabled()) {
10656
- return defaultValue;
10292
+ const localDefault2 = getLocalGateDefault(feature);
10293
+ return localDefault2 !== undefined ? localDefault2 : defaultValue;
10657
10294
  }
10658
10295
  if (experimentDataByFeature.has(feature)) {
10659
10296
  logExposureForFeature(feature);
@@ -10665,10 +10302,12 @@ function getFeatureValue_CACHED_MAY_BE_STALE(feature, defaultValue) {
10665
10302
  }
10666
10303
  try {
10667
10304
  const cached = getGlobalConfig().cachedGrowthBookFeatures?.[feature];
10668
- return cached !== undefined ? cached : defaultValue;
10669
- } catch {
10670
- return defaultValue;
10671
- }
10305
+ if (cached !== undefined) {
10306
+ return cached;
10307
+ }
10308
+ } catch {}
10309
+ const localDefault = getLocalGateDefault(feature);
10310
+ return localDefault !== undefined ? localDefault : defaultValue;
10672
10311
  }
10673
10312
  function getFeatureValue_CACHED_WITH_REFRESH(feature, defaultValue, _refreshIntervalMs) {
10674
10313
  return getFeatureValue_CACHED_MAY_BE_STALE(feature, defaultValue);
@@ -10683,19 +10322,27 @@ function checkStatsigFeatureGate_CACHED_MAY_BE_STALE(gate) {
10683
10322
  return Boolean(configOverrides[gate]);
10684
10323
  }
10685
10324
  if (!isGrowthBookEnabled()) {
10686
- return false;
10325
+ const localDefault2 = getLocalGateDefault(gate);
10326
+ return localDefault2 !== undefined ? Boolean(localDefault2) : false;
10687
10327
  }
10688
10328
  if (experimentDataByFeature.has(gate)) {
10689
10329
  logExposureForFeature(gate);
10690
10330
  } else {
10691
10331
  pendingExposures.add(gate);
10692
10332
  }
10693
- const config = getGlobalConfig();
10694
- const gbCached = config.cachedGrowthBookFeatures?.[gate];
10695
- if (gbCached !== undefined) {
10696
- return Boolean(gbCached);
10697
- }
10698
- return config.cachedStatsigGates?.[gate] ?? false;
10333
+ try {
10334
+ const config = getGlobalConfig();
10335
+ const gbCached = config.cachedGrowthBookFeatures?.[gate];
10336
+ if (gbCached !== undefined) {
10337
+ return Boolean(gbCached);
10338
+ }
10339
+ const statsigCached = config.cachedStatsigGates?.[gate];
10340
+ if (statsigCached !== undefined) {
10341
+ return statsigCached;
10342
+ }
10343
+ } catch {}
10344
+ const localDefault = getLocalGateDefault(gate);
10345
+ return localDefault !== undefined ? Boolean(localDefault) : false;
10699
10346
  }
10700
10347
  async function checkSecurityRestrictionGate(gate) {
10701
10348
  const overrides = getEnvOverrides();
@@ -10733,7 +10380,8 @@ async function checkGate_CACHED_OR_BLOCKING(gate) {
10733
10380
  return Boolean(configOverrides[gate]);
10734
10381
  }
10735
10382
  if (!isGrowthBookEnabled()) {
10736
- return false;
10383
+ const localDefault = getLocalGateDefault(gate);
10384
+ return localDefault !== undefined ? Boolean(localDefault) : false;
10737
10385
  }
10738
10386
  const cached = getGlobalConfig().cachedGrowthBookFeatures?.[gate];
10739
10387
  if (cached === true) {
@@ -10856,7 +10504,7 @@ async function getDynamicConfig_BLOCKS_ON_INIT(configName, defaultValue) {
10856
10504
  function getDynamicConfig_CACHED_MAY_BE_STALE(configName, defaultValue) {
10857
10505
  return getFeatureValue_CACHED_MAY_BE_STALE(configName, defaultValue);
10858
10506
  }
10859
- var client = null, currentBeforeExitHandler = null, currentExitHandler = null, clientCreatedWithAuth = false, experimentDataByFeature, remoteEvalFeatureValues, pendingExposures, loggedExposures, reinitializingPromise = null, refreshed, envOverrides = null, envOverridesParsed = false, getGrowthBookClient, initializeGrowthBook, GROWTHBOOK_REFRESH_INTERVAL_MS, refreshInterval = null, beforeExitListener = null;
10507
+ var client = null, currentBeforeExitHandler = null, currentExitHandler = null, clientCreatedWithAuth = false, experimentDataByFeature, remoteEvalFeatureValues, pendingExposures, loggedExposures, reinitializingPromise = null, refreshed, envOverrides = null, envOverridesParsed = false, LOCAL_GATE_DEFAULTS, getGrowthBookClient, initializeGrowthBook, GROWTHBOOK_REFRESH_INTERVAL_MS, refreshInterval = null, beforeExitListener = null;
10860
10508
  var init_growthbook = __esm(() => {
10861
10509
  init_esm();
10862
10510
  init_lodash();
@@ -10876,6 +10524,40 @@ var init_growthbook = __esm(() => {
10876
10524
  pendingExposures = new Set;
10877
10525
  loggedExposures = new Set;
10878
10526
  refreshed = createSignal();
10527
+ LOCAL_GATE_DEFAULTS = {
10528
+ tengu_keybinding_customization_release: true,
10529
+ tengu_streaming_tool_execution2: true,
10530
+ tengu_kairos_cron: true,
10531
+ tengu_amber_json_tools: true,
10532
+ tengu_immediate_model_command: true,
10533
+ tengu_basalt_3kr: true,
10534
+ tengu_pebble_leaf_prune: true,
10535
+ tengu_chair_sermon: true,
10536
+ tengu_lodestone_enabled: true,
10537
+ tengu_auto_background_agents: true,
10538
+ tengu_fgts: true,
10539
+ tengu_session_memory: true,
10540
+ tengu_passport_quail: true,
10541
+ tengu_moth_copse: true,
10542
+ tengu_coral_fern: true,
10543
+ tengu_chomp_inflection: true,
10544
+ tengu_hive_evidence: true,
10545
+ tengu_kairos_brief: true,
10546
+ tengu_kairos_brief_config: { enable_slash_command: true },
10547
+ tengu_sedge_lantern: true,
10548
+ tengu_onyx_plover: { enabled: true },
10549
+ tengu_willow_mode: "dialog",
10550
+ tengu_turtle_carbon: true,
10551
+ tengu_amber_stoat: true,
10552
+ tengu_amber_flint: true,
10553
+ tengu_slim_subagent_claudemd: true,
10554
+ tengu_birch_trellis: true,
10555
+ tengu_collage_kaleidoscope: true,
10556
+ tengu_compact_cache_prefix: true,
10557
+ tengu_kairos_cron_durable: true,
10558
+ tengu_attribution_header: true,
10559
+ tengu_slate_prism: true
10560
+ };
10879
10561
  getGrowthBookClient = memoize_default(() => {
10880
10562
  if (!isGrowthBookEnabled()) {
10881
10563
  return null;
@@ -11590,23 +11272,6 @@ var init_sandboxTypes = __esm(() => {
11590
11272
  }).passthrough());
11591
11273
  });
11592
11274
 
11593
- // src/types/permissions.ts
11594
- var EXTERNAL_PERMISSION_MODES, INTERNAL_PERMISSION_MODES, PERMISSION_MODES;
11595
- var init_permissions = __esm(() => {
11596
- EXTERNAL_PERMISSION_MODES = [
11597
- "acceptEdits",
11598
- "bypassPermissions",
11599
- "default",
11600
- "dontAsk",
11601
- "plan"
11602
- ];
11603
- INTERNAL_PERMISSION_MODES = [
11604
- ...EXTERNAL_PERMISSION_MODES,
11605
- ...[]
11606
- ];
11607
- PERMISSION_MODES = INTERNAL_PERMISSION_MODES;
11608
- });
11609
-
11610
11275
  // src/utils/permissions/PermissionMode.ts
11611
11276
  function isExternalPermissionMode(mode) {
11612
11277
  if (process.env.USER_TYPE !== "ant") {
@@ -11679,7 +11344,15 @@ var init_PermissionMode = __esm(() => {
11679
11344
  color: "error",
11680
11345
  external: "dontAsk"
11681
11346
  },
11682
- ...{}
11347
+ ...{
11348
+ auto: {
11349
+ title: "Auto mode",
11350
+ shortTitle: "Auto",
11351
+ symbol: "\u23F5\u23F5",
11352
+ color: "warning",
11353
+ external: "default"
11354
+ }
11355
+ }
11683
11356
  };
11684
11357
  });
11685
11358
 
@@ -12273,6 +11946,34 @@ var TASK_STOP_TOOL_NAME = "TaskStop", DESCRIPTION = `
12273
11946
  `;
12274
11947
  var init_prompt = () => {};
12275
11948
 
11949
+ // src/tools/BriefTool/prompt.ts
11950
+ var exports_prompt = {};
11951
+ __export(exports_prompt, {
11952
+ LEGACY_BRIEF_TOOL_NAME: () => LEGACY_BRIEF_TOOL_NAME,
11953
+ DESCRIPTION: () => DESCRIPTION2,
11954
+ BRIEF_TOOL_PROMPT: () => BRIEF_TOOL_PROMPT,
11955
+ BRIEF_TOOL_NAME: () => BRIEF_TOOL_NAME,
11956
+ BRIEF_PROACTIVE_SECTION: () => BRIEF_PROACTIVE_SECTION
11957
+ });
11958
+ var BRIEF_TOOL_NAME = "SendUserMessage", LEGACY_BRIEF_TOOL_NAME = "Brief", DESCRIPTION2 = "Send a message to the user", BRIEF_TOOL_PROMPT = `Send a message the user will read. Text outside this tool is visible in the detail view, but most won't open it \u2014 the answer lives here.
11959
+
11960
+ \`message\` supports markdown. \`attachments\` takes file paths (absolute or cwd-relative) for images, diffs, logs.
11961
+
11962
+ \`status\` labels intent: 'normal' when replying to what they just asked; 'proactive' when you're initiating \u2014 a scheduled task finished, a blocker surfaced during background work, you need input on something they haven't asked about. Set it honestly; downstream routing uses it.`, BRIEF_PROACTIVE_SECTION;
11963
+ var init_prompt2 = __esm(() => {
11964
+ BRIEF_PROACTIVE_SECTION = `## Talking to the user
11965
+
11966
+ ${BRIEF_TOOL_NAME} is where your replies go. Text outside it is visible if the user expands the detail view, but most won't \u2014 assume unread. Anything you want them to actually see goes through ${BRIEF_TOOL_NAME}. The failure mode: the real answer lives in plain text while ${BRIEF_TOOL_NAME} just says "done!" \u2014 they see "done!" and miss everything.
11967
+
11968
+ So: every time the user says something, the reply they actually read comes through ${BRIEF_TOOL_NAME}. Even for "hi". Even for "thanks".
11969
+
11970
+ If you can answer right away, send the answer. If you need to go look \u2014 run a command, read files, check something \u2014 ack first in one line ("On it \u2014 checking the test output"), then work, then send the result. Without the ack they're staring at a spinner.
11971
+
11972
+ For longer work: ack \u2192 work \u2192 result. Between those, send a checkpoint when something useful happened \u2014 a decision you made, a surprise you hit, a phase boundary. Skip the filler ("running tests...") \u2014 a checkpoint earns its place by carrying information.
11973
+
11974
+ Keep messages tight \u2014 the decision, the file:line, the PR number. Second person always ("your config"), never third.`;
11975
+ });
11976
+
12276
11977
  // src/utils/permissions/permissionRuleParser.ts
12277
11978
  function normalizeLegacyToolName(name) {
12278
11979
  return LEGACY_TOOL_NAME_ALIASES[name] ?? name;
@@ -12353,17 +12054,18 @@ function findLastUnescapedChar(str, char) {
12353
12054
  }
12354
12055
  return -1;
12355
12056
  }
12356
- var LEGACY_TOOL_NAME_ALIASES;
12057
+ var BRIEF_TOOL_NAME2, LEGACY_TOOL_NAME_ALIASES;
12357
12058
  var init_permissionRuleParser = __esm(() => {
12358
12059
  init_constants2();
12359
12060
  init_constants3();
12360
12061
  init_prompt();
12062
+ BRIEF_TOOL_NAME2 = (init_prompt2(), __toCommonJS(exports_prompt)).BRIEF_TOOL_NAME;
12361
12063
  LEGACY_TOOL_NAME_ALIASES = {
12362
12064
  Task: AGENT_TOOL_NAME,
12363
12065
  KillShell: TASK_STOP_TOOL_NAME,
12364
12066
  AgentOutputTool: TASK_OUTPUT_TOOL_NAME,
12365
12067
  BashOutputTool: TASK_OUTPUT_TOOL_NAME,
12366
- ...{}
12068
+ ...BRIEF_TOOL_NAME2 ? { Brief: BRIEF_TOOL_NAME2 } : {}
12367
12069
  };
12368
12070
  });
12369
12071
 
@@ -12628,9 +12330,11 @@ var init_types2 = __esm(() => {
12628
12330
  allow: exports_external.array(PermissionRuleSchema()).optional().describe("List of permission rules for allowed operations"),
12629
12331
  deny: exports_external.array(PermissionRuleSchema()).optional().describe("List of permission rules for denied operations"),
12630
12332
  ask: exports_external.array(PermissionRuleSchema()).optional().describe("List of permission rules that should always prompt for confirmation"),
12631
- defaultMode: exports_external.enum(EXTERNAL_PERMISSION_MODES).optional().describe("Default permission mode when Claude Code needs access"),
12333
+ defaultMode: exports_external.enum(PERMISSION_MODES).optional().describe("Default permission mode when Claude Code needs access"),
12632
12334
  disableBypassPermissionsMode: exports_external.enum(["disable"]).optional().describe("Disable the ability to bypass permission prompts"),
12633
- ...{},
12335
+ ...{
12336
+ disableAutoMode: exports_external.enum(["disable"]).optional().describe("Disable auto mode")
12337
+ },
12634
12338
  additionalDirectories: exports_external.array(exports_external.string()).optional().describe("Additional directories to include in the permission scope")
12635
12339
  }).passthrough());
12636
12340
  ExtraKnownMarketplaceSchema = lazySchema(() => exports_external.object({
@@ -12699,7 +12403,7 @@ var init_types2 = __esm(() => {
12699
12403
  includeCoAuthoredBy: exports_external.boolean().optional().describe("Deprecated: Use attribution instead. " + "Whether to include Claude's co-authored by attribution in commits and PRs (defaults to true)"),
12700
12404
  includeGitInstructions: exports_external.boolean().optional().describe("Include built-in commit and PR workflow instructions in Claude's system prompt (default: true)"),
12701
12405
  permissions: PermissionsSchema().optional().describe("Tool usage permissions configuration"),
12702
- modelType: exports_external.enum(["anthropic", "openai"]).optional().describe('API provider type. "anthropic" uses the Anthropic API (default), "openai" uses the OpenAI Chat Completions API (/v1/chat/completions). ' + 'When set to "openai", configure OPENAI_API_KEY, OPENAI_BASE_URL, and OPENAI_MODEL in env.'),
12406
+ modelType: exports_external.enum(["anthropic", "openai", "gemini", "grok"]).optional().describe('API provider type. "anthropic" uses the Anthropic API (default), "openai" uses the OpenAI Chat Completions API, "gemini" uses the Gemini API, and "grok" uses the xAI Grok API (OpenAI-compatible). ' + 'When set to "openai", configure OPENAI_API_KEY, OPENAI_BASE_URL, and OPENAI_MODEL. When set to "gemini", configure GEMINI_API_KEY and optional GEMINI_BASE_URL. When set to "grok", configure GROK_API_KEY (or XAI_API_KEY), optional GROK_BASE_URL, GROK_MODEL, and GROK_MODEL_MAP.'),
12703
12407
  model: exports_external.string().optional().describe("Override the default model used by Claude Code"),
12704
12408
  availableModels: exports_external.array(exports_external.string()).optional().describe("Allowlist of models that users can select. " + 'Accepts family aliases ("opus" allows any opus version), ' + 'version prefixes ("opus-4-5" allows only that version), ' + "and full model IDs. " + "If undefined, all models are available. If empty array, only the default model is available. " + "Typically set in managed settings by enterprise administrators."),
12705
12409
  modelOverrides: exports_external.record(exports_external.string(), exports_external.string()).optional().describe('Override mapping from Anthropic model ID (e.g. "claude-opus-4-6") to provider-specific ' + "model ID (e.g. a Bedrock inference profile ARN). Typically set in managed settings by " + "enterprise administrators."),
@@ -12787,7 +12491,9 @@ var init_types2 = __esm(() => {
12787
12491
  defaultEnvironmentId: exports_external.string().optional().describe("Default environment ID to use for remote sessions")
12788
12492
  }).optional().describe("Remote session configuration"),
12789
12493
  autoUpdatesChannel: exports_external.enum(["latest", "stable"]).optional().describe("Release channel for auto-updates (latest or stable)"),
12790
- ...{},
12494
+ ...{
12495
+ disableDeepLinkRegistration: exports_external.enum(["disable"]).optional().describe("Prevent claude-cli:// protocol handler registration with the OS")
12496
+ },
12791
12497
  minimumVersion: exports_external.string().optional().describe("Minimum version to stay on - prevents downgrades when switching to stable channel"),
12792
12498
  plansDirectory: exports_external.string().optional().describe("Custom directory for plan files, relative to project root. " + "If not set, defaults to ~/.claude/plans/"),
12793
12499
  ...process.env.USER_TYPE === "ant" ? {
@@ -12803,14 +12509,27 @@ var init_types2 = __esm(() => {
12803
12509
  marketplace: exports_external.string(),
12804
12510
  plugin: exports_external.string()
12805
12511
  })).optional().describe("Teams/Enterprise allowlist of channel plugins. When set, " + "replaces the default Anthropic allowlist \u2014 admins decide which " + "plugins may push inbound messages. Undefined falls back to the default. " + "Requires channelsEnabled: true."),
12806
- ...{},
12512
+ ...{
12513
+ defaultView: exports_external.enum(["chat", "transcript"]).optional().describe("Default transcript view: chat (SendUserMessage checkpoints only) or transcript (full)")
12514
+ },
12807
12515
  prefersReducedMotion: exports_external.boolean().optional().describe("Reduce or disable animations for accessibility (spinner shimmer, flash effects, etc.)"),
12808
12516
  autoMemoryEnabled: exports_external.boolean().optional().describe("Enable auto-memory for this project. When false, Claude will not read from or write to the auto-memory directory."),
12809
12517
  autoMemoryDirectory: exports_external.string().optional().describe("Custom directory path for auto-memory storage. Supports ~/ prefix for home directory expansion. Ignored if set in projectSettings (checked-in .claude/settings.json) for security. When unset, defaults to ~/.claude/projects/<sanitized-cwd>/memory/."),
12810
12518
  autoDreamEnabled: exports_external.boolean().optional().describe("Enable background memory consolidation (auto-dream). When set, overrides the server-side default."),
12811
12519
  showThinkingSummaries: exports_external.boolean().optional().describe("Show thinking summaries in the transcript view (ctrl+o). Default: false."),
12812
12520
  skipDangerousModePermissionPrompt: exports_external.boolean().optional().describe("Whether the user has accepted the bypass permissions mode dialog"),
12813
- ...{},
12521
+ ...{
12522
+ skipAutoPermissionPrompt: exports_external.boolean().optional().describe("Whether the user has accepted the auto mode opt-in dialog"),
12523
+ useAutoModeDuringPlan: exports_external.boolean().optional().describe("Whether plan mode uses auto mode semantics when auto mode is available (default: true)"),
12524
+ autoMode: exports_external.object({
12525
+ allow: exports_external.array(exports_external.string()).optional().describe("Rules for the auto mode classifier allow section"),
12526
+ soft_deny: exports_external.array(exports_external.string()).optional().describe("Rules for the auto mode classifier deny section"),
12527
+ ...process.env.USER_TYPE === "ant" ? {
12528
+ deny: exports_external.array(exports_external.string()).optional()
12529
+ } : {},
12530
+ environment: exports_external.array(exports_external.string()).optional().describe("Entries for the auto mode classifier environment section")
12531
+ }).optional().describe("Auto mode classifier prompt customization")
12532
+ },
12814
12533
  disableAutoMode: exports_external.enum(["disable"]).optional().describe("Disable auto mode"),
12815
12534
  sshConfigs: exports_external.array(exports_external.object({
12816
12535
  id: exports_external.string().describe("Unique identifier for this SSH config. Used to match configs across settings sources."),
@@ -13609,7 +13328,7 @@ function getManagedSettingsKeysForLogging(settings) {
13609
13328
  "ask",
13610
13329
  "defaultMode",
13611
13330
  "disableBypassPermissionsMode",
13612
- ...[],
13331
+ ...["disableAutoMode"],
13613
13332
  "additionalDirectories"
13614
13333
  ]),
13615
13334
  sandbox: new Set([
@@ -13788,9 +13507,67 @@ function hasSkipDangerousModePermissionPrompt() {
13788
13507
  return !!(getSettingsForSource("userSettings")?.skipDangerousModePermissionPrompt || getSettingsForSource("localSettings")?.skipDangerousModePermissionPrompt || getSettingsForSource("flagSettings")?.skipDangerousModePermissionPrompt || getSettingsForSource("policySettings")?.skipDangerousModePermissionPrompt);
13789
13508
  }
13790
13509
  function hasAutoModeOptIn() {
13791
- if (false) {}
13510
+ if (true) {
13511
+ const user = getSettingsForSource("userSettings")?.skipAutoPermissionPrompt;
13512
+ const local = getSettingsForSource("localSettings")?.skipAutoPermissionPrompt;
13513
+ const flag = getSettingsForSource("flagSettings")?.skipAutoPermissionPrompt;
13514
+ const policy = getSettingsForSource("policySettings")?.skipAutoPermissionPrompt;
13515
+ const result = !!(user || local || flag || policy);
13516
+ logForDebugging(`[auto-mode] hasAutoModeOptIn=${result} skipAutoPermissionPrompt: user=${user} local=${local} flag=${flag} policy=${policy}`);
13517
+ return result;
13518
+ }
13792
13519
  return false;
13793
13520
  }
13521
+ function getUseAutoModeDuringPlan() {
13522
+ if (true) {
13523
+ return getSettingsForSource("policySettings")?.useAutoModeDuringPlan !== false && getSettingsForSource("flagSettings")?.useAutoModeDuringPlan !== false && getSettingsForSource("userSettings")?.useAutoModeDuringPlan !== false && getSettingsForSource("localSettings")?.useAutoModeDuringPlan !== false;
13524
+ }
13525
+ return true;
13526
+ }
13527
+ function getAutoModeConfig() {
13528
+ if (true) {
13529
+ const schema = exports_external.object({
13530
+ allow: exports_external.array(exports_external.string()).optional(),
13531
+ soft_deny: exports_external.array(exports_external.string()).optional(),
13532
+ deny: exports_external.array(exports_external.string()).optional(),
13533
+ environment: exports_external.array(exports_external.string()).optional()
13534
+ });
13535
+ const allow = [];
13536
+ const soft_deny = [];
13537
+ const environment = [];
13538
+ for (const source of [
13539
+ "userSettings",
13540
+ "localSettings",
13541
+ "flagSettings",
13542
+ "policySettings"
13543
+ ]) {
13544
+ const settings = getSettingsForSource(source);
13545
+ if (!settings)
13546
+ continue;
13547
+ const result = schema.safeParse(settings.autoMode);
13548
+ if (result.success) {
13549
+ if (result.data.allow)
13550
+ allow.push(...result.data.allow);
13551
+ if (result.data.soft_deny)
13552
+ soft_deny.push(...result.data.soft_deny);
13553
+ if (process.env.USER_TYPE === "ant") {
13554
+ if (result.data.deny)
13555
+ soft_deny.push(...result.data.deny);
13556
+ }
13557
+ if (result.data.environment)
13558
+ environment.push(...result.data.environment);
13559
+ }
13560
+ }
13561
+ if (allow.length > 0 || soft_deny.length > 0 || environment.length > 0) {
13562
+ return {
13563
+ ...allow.length > 0 && { allow },
13564
+ ...soft_deny.length > 0 && { soft_deny },
13565
+ ...environment.length > 0 && { environment }
13566
+ };
13567
+ }
13568
+ }
13569
+ return;
13570
+ }
13794
13571
  function rawSettingsContainsKey(key) {
13795
13572
  for (const source of getEnabledSettingSources()) {
13796
13573
  if (source === "policySettings") {
@@ -13819,6 +13596,7 @@ function rawSettingsContainsKey(key) {
13819
13596
  var isLoadingSettings = false, getSettings_DEPRECATED;
13820
13597
  var init_settings2 = __esm(() => {
13821
13598
  init_mergeWith();
13599
+ init_v4();
13822
13600
  init_state();
13823
13601
  init_syncCacheState();
13824
13602
  init_array();
@@ -13850,7 +13628,7 @@ function findFirstMatch(profiles, substring) {
13850
13628
  return profiles.find((p) => p.includes(substring)) ?? null;
13851
13629
  }
13852
13630
  async function createBedrockClient() {
13853
- const { BedrockClient } = await import("./chunk-da4ve9t5.js");
13631
+ const { BedrockClient } = await import("./chunk-p8crqj70.js");
13854
13632
  const region = getAWSRegion();
13855
13633
  const skipAuth = isEnvTruthy(process.env.CLAUDE_CODE_SKIP_BEDROCK_AUTH);
13856
13634
  const clientConfig = {
@@ -13884,7 +13662,7 @@ async function createBedrockClient() {
13884
13662
  return new BedrockClient(clientConfig);
13885
13663
  }
13886
13664
  async function createBedrockRuntimeClient() {
13887
- const { BedrockRuntimeClient } = await import("./chunk-n5t9m8h9.js");
13665
+ const { BedrockRuntimeClient } = await import("./chunk-a1bjde7d.js");
13888
13666
  const region = getAWSRegion();
13889
13667
  const skipAuth = isEnvTruthy(process.env.CLAUDE_CODE_SKIP_BEDROCK_AUTH);
13890
13668
  const clientConfig = {
@@ -13959,7 +13737,7 @@ var init_bedrock = __esm(() => {
13959
13737
  getBedrockInferenceProfiles = memoize_default(async function() {
13960
13738
  const [client2, { ListInferenceProfilesCommand }] = await Promise.all([
13961
13739
  createBedrockClient(),
13962
- import("./chunk-da4ve9t5.js")
13740
+ import("./chunk-p8crqj70.js")
13963
13741
  ]);
13964
13742
  const allProfiles = [];
13965
13743
  let nextToken;
@@ -13985,7 +13763,7 @@ var init_bedrock = __esm(() => {
13985
13763
  try {
13986
13764
  const [client2, { GetInferenceProfileCommand }] = await Promise.all([
13987
13765
  createBedrockClient(),
13988
- import("./chunk-da4ve9t5.js")
13766
+ import("./chunk-p8crqj70.js")
13989
13767
  ]);
13990
13768
  const command = new GetInferenceProfileCommand({
13991
13769
  inferenceProfileIdentifier: profileId
@@ -14483,13 +14261,13 @@ function isValidAwsStsOutput(obj) {
14483
14261
  return typeof credentials.AccessKeyId === "string" && typeof credentials.SecretAccessKey === "string" && typeof credentials.SessionToken === "string" && credentials.AccessKeyId.length > 0 && credentials.SecretAccessKey.length > 0 && credentials.SessionToken.length > 0;
14484
14262
  }
14485
14263
  async function checkStsCallerIdentity() {
14486
- const { STSClient, GetCallerIdentityCommand } = await import("./chunk-t9z6njcr.js");
14264
+ const { STSClient, GetCallerIdentityCommand } = await import("./chunk-wtycm8km.js");
14487
14265
  await new STSClient().send(new GetCallerIdentityCommand({}));
14488
14266
  }
14489
14267
  async function clearAwsIniCache() {
14490
14268
  try {
14491
14269
  logForDebugging("Clearing AWS credential provider cache");
14492
- const { fromIni } = await import("./chunk-wsqhnjj3.js");
14270
+ const { fromIni } = await import("./chunk-1atfzck5.js");
14493
14271
  const iniProvider = fromIni({ ignoreCache: true });
14494
14272
  await iniProvider();
14495
14273
  logForDebugging("AWS credential provider cache refreshed");
@@ -14965,7 +14743,7 @@ function isAnthropicAuthEnabled() {
14965
14743
  return !!process.env.CLAUDE_CODE_OAUTH_TOKEN;
14966
14744
  }
14967
14745
  const settings = getSettings_DEPRECATED() || {};
14968
- const is3P = isEnvTruthy(process.env.CLAUDE_CODE_USE_BEDROCK) || isEnvTruthy(process.env.CLAUDE_CODE_USE_VERTEX) || isEnvTruthy(process.env.CLAUDE_CODE_USE_FOUNDRY) || settings.modelType === "openai" || !!process.env.OPENAI_BASE_URL;
14746
+ const is3P = isEnvTruthy(process.env.CLAUDE_CODE_USE_BEDROCK) || isEnvTruthy(process.env.CLAUDE_CODE_USE_VERTEX) || isEnvTruthy(process.env.CLAUDE_CODE_USE_FOUNDRY) || settings.modelType === "openai" || settings.modelType === "gemini" || !!process.env.OPENAI_BASE_URL || !!process.env.GEMINI_BASE_URL;
14969
14747
  const apiKeyHelper = settings.apiKeyHelper;
14970
14748
  const hasExternalAuthToken = process.env.ANTHROPIC_AUTH_TOKEN || apiKeyHelper || process.env.CLAUDE_CODE_API_KEY_FILE_DESCRIPTOR;
14971
14749
  const { source: apiKeySource } = getAnthropicApiKeyWithSource({
@@ -15380,7 +15158,7 @@ function isGcpAuthRefreshFromProjectSettings() {
15380
15158
  }
15381
15159
  async function checkGcpCredentialsValid() {
15382
15160
  try {
15383
- const { GoogleAuth } = await import("./chunk-mt25echc.js").then((m)=>__toESM(m.default,1));
15161
+ const { GoogleAuth } = await import("./chunk-tezak8rx.js").then((m)=>__toESM(m.default,1));
15384
15162
  const auth = new GoogleAuth({
15385
15163
  scopes: ["https://www.googleapis.com/auth/cloud-platform"]
15386
15164
  });
@@ -16432,4 +16210,4 @@ var init_client2 = __esm(() => {
16432
16210
  init_getOauthProfile();
16433
16211
  });
16434
16212
 
16435
- export { _baseSet_default, init__baseSet, pickBy_default, init_pickBy, isEqual_default, init_isEqual, init_lodash, Chalk, source_default, init_source, sequential, init_sequential, _baseFor_default, init__baseFor, isPlainObject_default, init_isPlainObject, _overRest_default, init__overRest, _setToString_default, init__setToString, detectEncodingForResolvedPath, readFileSyncWithMetadata, readFileSync, init_fileRead, setSessionCache, resetSyncCache, setEligibility, getSettingsPath, getRemoteManagedSettingsSyncFromCache, init_syncCacheState, pathExists, MAX_OUTPUT_SIZE, readFileSafe, getFileModificationTime, getFileModificationTimeAsync, writeTextContent, detectFileEncoding, detectLineEndings, convertLeadingTabsToSpaces, getDisplayPath, findSimilarFile, FILE_NOT_FOUND_CWD_NOTE, suggestPathUnderCwd, isCompactLinePrefixEnabled, addLineNumbers, stripLineNumberPrefix, isDirEmpty, readFileSyncCached, getDesktopPath, isFileWithinReadSizeLimit, normalizePathForComparison, pathsEqual, init_file, isPathGitignored, init_gitignore, SETTING_SOURCES, getSettingSourceName, getSourceDisplayName, getSettingSourceDisplayNameLowercase, getSettingSourceDisplayNameCapitalized, parseSettingSourcesFlag, getEnabledSettingSources, isSettingSourceEnabled, SOURCES, init_constants, consumeInternalWrite, clearInternalWrites, init_internalWrites, getManagedFilePath, getManagedSettingsDropInDir, init_managedPath, BLACK_CIRCLE, BULLET_OPERATOR, TEARDROP_ASTERISK, UP_ARROW, DOWN_ARROW, LIGHTNING_BOLT, EFFORT_LOW, EFFORT_MEDIUM, EFFORT_HIGH, EFFORT_MAX, PLAY_ICON, PAUSE_ICON, REFRESH_ARROW, DIAMOND_OPEN, DIAMOND_FILLED, REFERENCE_MARK, BLOCKQUOTE_BAR, BRIDGE_READY_INDICATOR, BRIDGE_FAILED_INDICATOR, init_figures, EXTERNAL_PERMISSION_MODES, PERMISSION_MODES, init_permissions, permissionModeSchema, externalPermissionModeSchema, isExternalPermissionMode, toExternalPermissionMode, permissionModeFromString, permissionModeTitle, isDefaultMode, permissionModeSymbol, getModeColor, init_PermissionMode, HOOK_EVENTS, init_agentSdkTypes, DEFAULT_HOOK_SHELL, init_shellProvider, HooksSchema, ALLOWED_OFFICIAL_MARKETPLACE_NAMES, isMarketplaceAutoUpdate, validateOfficialNameSource, PluginHooksSchema, LspServerConfigSchema, PluginManifestSchema, isLocalPluginSource, isLocalMarketplaceSource, PluginMarketplaceEntrySchema, PluginMarketplaceSchema, PluginIdSchema, InstalledPluginsFileSchemaV1, InstalledPluginsFileSchemaV2, KnownMarketplacesFileSchema, init_schemas, mcpInfoFromString, getMcpPrefix, buildMcpToolName, getToolNameForPermissionCheck, getMcpDisplayName, extractMcpToolDisplayName, init_mcpStringUtils, AGENT_TOOL_NAME, LEGACY_AGENT_TOOL_NAME, VERIFICATION_AGENT_TYPE, ONE_SHOT_BUILTIN_AGENT_TYPES, init_constants2 as init_constants1, TASK_OUTPUT_TOOL_NAME, init_constants3 as init_constants2, TASK_STOP_TOOL_NAME, DESCRIPTION, init_prompt, normalizeLegacyToolName, getLegacyToolNames, permissionRuleValueFromString, permissionRuleValueToString, init_permissionRuleParser, escapeRegExp, capitalize, plural, firstLineOf, countCharInString, normalizeFullWidthDigits, normalizeFullWidthSpace, safeJoinLines, EndTruncatingAccumulator, truncateToLines, init_stringUtils, CUSTOMIZATION_SURFACES, SettingsSchema, isMcpServerNameEntry, isMcpServerCommandEntry, isMcpServerUrlEntry, init_types2 as init_types, validateSettingsFileContent, init_validation2 as init_validation, startMdmRawRead, init_rawRead, ensureMdmSettingsLoaded, getMdmSettings, getHkcuSettings, setMdmSettingsCache, refreshMdmSettings, init_settings, getManagedFileSettingsPresence, parseSettingsFile, getSettingsRootPathForSource, getSettingsFilePathForSource, getRelativeSettingsFilePathForSource, getSettingsForSource, getPolicySettingsOrigin, updateSettingsForSource, getManagedSettingsKeysForLogging, getInitialSettings, getSettings_DEPRECATED, getSettingsWithSources, getSettingsWithErrors, hasSkipDangerousModePermissionPrompt, hasAutoModeOptIn, rawSettingsContainsKey, init_settings2 as init_settings1, createBedrockRuntimeClient, getInferenceProfileBackingModel, isFoundationModel, getBedrockRegionPrefix, applyBedrockRegionPrefix, init_bedrock, CLAUDE_OPUS_4_6_CONFIG, ALL_MODEL_CONFIGS, init_configs, getAPIProvider, getAPIProviderForStatsig, isFirstPartyAnthropicBaseUrl, init_providers, getModelStrings2 as getModelStrings, ensureModelStringsInitialized, init_modelStrings, hasConsoleBillingAccess, hasClaudeAiBillingAccess, init_billing, getMockHeaderless429Message, getMockHeaders, applyMockHeaders, shouldProcessMockLimits, isMockFastModeRateLimitScenario, checkMockFastModeRateLimit, init_mockRateLimits, getOauthProfileFromApiKey, getOauthProfileFromOauthToken, init_getOauthProfile, shouldUseClaudeAIAuth, parseScopes, buildAuthUrl, exchangeCodeForTokens, refreshOAuthToken, fetchAndStoreUserRoles, createAndStoreApiKey, isOAuthTokenExpired, fetchProfileInfo, getOrganizationUUID, populateOAuthAccountInfoIfNeeded, storeOAuthAccountInfo, init_client2 as init_client, CCR_SESSION_INGRESS_TOKEN_PATH, maybePersistTokenForSubprocesses, readTokenFromWellKnownFile, init_authFileDescriptor, clearKeychainCache, init_macOsKeychainHelpers, normalizeApiKeyForConfig, init_authPortable, isAwsCredentialsProviderError, init_aws, AwsAuthStatusManager, init_awsAuthStatusManager, CONTEXT_1M_BETA_HEADER, CONTEXT_MANAGEMENT_BETA_HEADER, STRUCTURED_OUTPUTS_BETA_HEADER, EFFORT_BETA_HEADER, TASK_BUDGETS_BETA_HEADER, PROMPT_CACHING_SCOPE_BETA_HEADER, FAST_MODE_BETA_HEADER, REDACT_THINKING_BETA_HEADER, AFK_MODE_BETA_HEADER, ADVISOR_BETA_HEADER, VERTEX_COUNT_TOKENS_ALLOWED_BETAS, init_betas, getAntModelOverrideConfig, getAntModels, resolveAntModel, init_antModels, isFastModeEnabled, isFastModeAvailable, getFastModeUnavailableReason, FAST_MODE_MODEL_DISPLAY, getFastModeModel, getInitialFastModeSetting, isFastModeSupportedByModel, onCooldownTriggered, onCooldownExpired, getFastModeRuntimeState, triggerFastModeCooldown, clearFastModeCooldown, handleFastModeRejectedByAPI, onFastModeOverageRejection, handleFastModeOverageRejection, isFastModeCooldown, getFastModeState, onOrgFastModeChanged, resolveFastModeStatusFromCache, prefetchFastModeStatus, init_fastMode, COST_TIER_3_15, COST_HAIKU_35, COST_HAIKU_45, getOpus46CostTier, MODEL_COSTS, calculateUSDCost, formatModelPricing, init_modelCost, MODEL_ALIASES, init_aliases, isModelAllowed, init_modelAllowlist, getSmallFastModel, isNonCustomOpusModel, getUserSpecifiedModelSetting, getMainLoopModel, getBestModel, getDefaultOpusModel, getDefaultSonnetModel, getDefaultHaikuModel, getRuntimeMainLoopModel, getDefaultMainLoopModelSetting, getDefaultMainLoopModel, firstPartyNameToCanonical, getCanonicalName, getClaudeAiUserDefaultModelDescription, renderDefaultModelSetting, getOpus46PricingSuffix, isOpus1mMergeEnabled, renderModelSetting, getPublicModelDisplayName, renderModelName, getPublicModelName, parseUserSpecifiedModel, resolveSkillModelOverride, isLegacyModelRemapEnabled, modelDisplayString, getMarketingNameForModel, normalizeModelStringForAPI, init_model, getAnthropicClient, CLIENT_REQUEST_ID_HEADER, init_client as init_client1, refreshModelCapabilities, init_modelCapabilities, COMPACT_MAX_OUTPUT_TOKENS, CAPPED_DEFAULT_MAX_TOKENS, ESCALATED_MAX_TOKENS, is1mContextDisabled, has1mContext, getContextWindowForModel, getSonnet1mExpTreatmentEnabled, calculateContextPercentages, getModelMaxOutputTokens, getMaxThinkingTokensForModel, init_context, get3PModelCapabilityOverride, init_modelSupportOverrides, filterAllowedSdkBetas, modelSupportsStructuredOutputs, modelSupportsAutoMode, getToolSearchBetaHeader, shouldIncludeFirstPartyOnlyBetas, shouldUseGlobalCacheScope, getModelBetas, getBedrockExtraBodyParamsBetas, getMergedBetas, clearBetasCaches, init_betas2 as init_betas1, isMacOsKeychainLocked, init_macOsKeychainStorage, getSecureStorage, init_secureStorage, startKeychainPrefetch, ensureKeychainPrefetchCompleted, init_keychainPrefetch, getToolSchemaCache, clearToolSchemaCache, init_toolSchemaCache, isAnthropicAuthEnabled, getAuthTokenSource, getAnthropicApiKey, hasAnthropicApiKeyAuth, getAnthropicApiKeyWithSource, getConfiguredApiKeyHelper, isAwsAuthRefreshFromProjectSettings, isAwsCredentialExportFromProjectSettings, calculateApiKeyHelperTTL, getApiKeyHelperElapsedMs, getApiKeyFromApiKeyHelper, getApiKeyFromApiKeyHelperCached, clearApiKeyHelperCache, prefetchApiKeyFromApiKeyHelperIfSafe, refreshAwsAuth, refreshAndGetAwsCredentials, clearAwsCredentialsCache, isGcpAuthRefreshFromProjectSettings, checkGcpCredentialsValid, refreshGcpAuth, refreshGcpCredentialsIfNeeded, clearGcpCredentialsCache, prefetchGcpCredentialsIfSafe, prefetchAwsCredentialsAndBedRockInfoIfSafe, getApiKeyFromConfigOrMacOSKeychain, saveApiKey, isCustomApiKeyApproved, removeApiKey, saveOAuthTokensIfNeeded, getClaudeAIOAuthTokens, clearOAuthTokenCache, handleOAuth401Error, getClaudeAIOAuthTokensAsync, checkAndRefreshOAuthTokenIfNeeded, isClaudeAISubscriber, hasProfileScope, is1PApiCustomer, getOauthAccountInfo, isOverageProvisioningAllowed, hasOpusAccess, getSubscriptionType, isMaxSubscriber, isTeamSubscriber, isTeamPremiumSubscriber, isEnterpriseSubscriber, isProSubscriber, getRateLimitTier, getSubscriptionName, isUsing3PServices, isOtelHeadersHelperFromProjectOrLocalSettings, getOtelHeadersFromHelper, isConsumerSubscriber, getAccountInformation, validateForceLoginOrg, exports_auth, init_auth2 as init_auth, getClaudeCodeUserAgent, init_userAgent, WORKLOAD_CRON, getWorkload, runWithWorkload, init_workloadContext, getUserAgent, getMCPUserAgent, getWebFetchUserAgent, getAuthHeaders, withOAuth401Retry, init_http, initUser, resetUserCache, getGitEmail, init_user, require_src5 as require_src, LoggerProvider, ConsoleLogRecordExporter, BatchLogRecordProcessor, init_esm2 as init_esm, isAnalyticsDisabled, isFeedbackSurveyDisabled, init_config2 as init_config, isProcessRunning, getAncestorPidsAsync, getProcessCommand, init_genericProcessUtils, initJetBrainsDetection, envDynamic, init_envDynamic, prefetchOfficialMcpUrls, init_officialRegistry, isAgentSwarmsEnabled, init_agentSwarmsEnabled, getAgentContext, runWithAgentContext, getSubagentLogName, consumeInvokingRequestId, init_agentContext, sanitizeToolNameForAnalytics, isToolDetailsLoggingEnabled, mcpToolDetailsForAnalytics, extractMcpToolDetails, extractSkillName, extractToolInputForTelemetry, getFileExtensionForAnalytics, getFileExtensionsFromBashCommand, getEventMetadata, init_metadata, isSinkKilled, init_sinkKillswitch, getEventSamplingConfig, shouldSampleEvent, shutdown1PEventLogging, is1PEventLoggingEnabled, logEventTo1P, logGrowthBookExperimentTo1P, initialize1PEventLogging, reinitialize1PEventLoggingIfConfigChanged, init_firstPartyEventLogger, onGrowthBookRefresh, hasGrowthBookEnvOverride, getAllGrowthBookFeatures, getGrowthBookConfigOverrides, setGrowthBookConfigOverride, clearGrowthBookConfigOverrides, getApiBaseUrlHost, initializeGrowthBook, getFeatureValue_DEPRECATED, getFeatureValue_CACHED_MAY_BE_STALE, getFeatureValue_CACHED_WITH_REFRESH, checkStatsigFeatureGate_CACHED_MAY_BE_STALE, checkSecurityRestrictionGate, checkGate_CACHED_OR_BLOCKING, refreshGrowthBookAfterAuthChange, resetGrowthBook, refreshGrowthBookFeatures, setupPeriodicGrowthBookRefresh, stopPeriodicGrowthBookRefresh, getDynamicConfig_BLOCKS_ON_INIT, getDynamicConfig_CACHED_MAY_BE_STALE, init_growthbook, isAutoMemoryEnabled, getMemoryBaseDir, hasAutoMemPathOverride, getAutoMemPath, getAutoMemEntrypoint, isAutoMemPath, init_paths, NOTIFICATION_CHANNELS, EDITOR_MODES, TEAMMATE_MODES, init_configConstants, DEFAULT_GLOBAL_CONFIG, GLOBAL_CONFIG_KEYS, isGlobalConfigKey, PROJECT_CONFIG_KEYS, resetTrustDialogAcceptedCacheForTesting, checkHasTrustDialogAccepted, isPathTrusted, isProjectConfigKey, saveGlobalConfig, getGlobalConfigWriteCount, CONFIG_WRITE_DISPLAY_THRESHOLD, getGlobalConfig, getRemoteControlAtStartup, getCustomApiKeyStatus, enableConfigs, getProjectPathForConfig, getCurrentProjectConfig, saveCurrentProjectConfig, isAutoUpdaterDisabled, shouldSkipPluginAutoupdate, formatAutoUpdaterDisabledReason, getAutoUpdaterDisabledReason, getOrCreateUserID, recordFirstStartTime, getMemoryPath, getManagedClaudeRulesDir, getUserClaudeRulesDir, _getConfigForTesting, _wouldLoseAuthStateForTesting, _setGlobalConfigCacheForTesting, init_config as init_config1 };
16213
+ export { _baseSet_default, init__baseSet, pickBy_default, init_pickBy, isEqual_default, init_isEqual, init_lodash, sequential, init_sequential, _baseFor_default, init__baseFor, isPlainObject_default, init_isPlainObject, _overRest_default, init__overRest, _setToString_default, init__setToString, detectEncodingForResolvedPath, readFileSyncWithMetadata, readFileSync, init_fileRead, setSessionCache, resetSyncCache, setEligibility, getSettingsPath, getRemoteManagedSettingsSyncFromCache, init_syncCacheState, pathExists, MAX_OUTPUT_SIZE, readFileSafe, getFileModificationTime, getFileModificationTimeAsync, writeTextContent, detectFileEncoding, detectLineEndings, convertLeadingTabsToSpaces, getDisplayPath, findSimilarFile, FILE_NOT_FOUND_CWD_NOTE, suggestPathUnderCwd, isCompactLinePrefixEnabled, addLineNumbers, stripLineNumberPrefix, isDirEmpty, readFileSyncCached, getDesktopPath, isFileWithinReadSizeLimit, normalizePathForComparison, pathsEqual, init_file, isPathGitignored, init_gitignore, SETTING_SOURCES, getSettingSourceName, getSourceDisplayName, getSettingSourceDisplayNameLowercase, getSettingSourceDisplayNameCapitalized, parseSettingSourcesFlag, getEnabledSettingSources, isSettingSourceEnabled, SOURCES, init_constants, consumeInternalWrite, clearInternalWrites, init_internalWrites, getManagedFilePath, getManagedSettingsDropInDir, init_managedPath, BLACK_CIRCLE, BULLET_OPERATOR, TEARDROP_ASTERISK, UP_ARROW, DOWN_ARROW, LIGHTNING_BOLT, EFFORT_LOW, EFFORT_MEDIUM, EFFORT_HIGH, EFFORT_MAX, PLAY_ICON, PAUSE_ICON, REFRESH_ARROW, DIAMOND_OPEN, DIAMOND_FILLED, REFERENCE_MARK, FLAG_ICON, BLOCKQUOTE_BAR, BRIDGE_SPINNER_FRAMES, BRIDGE_READY_INDICATOR, BRIDGE_FAILED_INDICATOR, init_figures, permissionModeSchema, externalPermissionModeSchema, isExternalPermissionMode, toExternalPermissionMode, permissionModeFromString, permissionModeTitle, isDefaultMode, permissionModeSymbol, getModeColor, init_PermissionMode, HOOK_EVENTS, init_agentSdkTypes, DEFAULT_HOOK_SHELL, init_shellProvider, HooksSchema, ALLOWED_OFFICIAL_MARKETPLACE_NAMES, isMarketplaceAutoUpdate, validateOfficialNameSource, PluginHooksSchema, LspServerConfigSchema, PluginManifestSchema, isLocalPluginSource, isLocalMarketplaceSource, PluginMarketplaceEntrySchema, PluginMarketplaceSchema, PluginIdSchema, InstalledPluginsFileSchemaV1, InstalledPluginsFileSchemaV2, KnownMarketplacesFileSchema, init_schemas, mcpInfoFromString, getMcpPrefix, buildMcpToolName, getToolNameForPermissionCheck, getMcpDisplayName, extractMcpToolDisplayName, init_mcpStringUtils, AGENT_TOOL_NAME, LEGACY_AGENT_TOOL_NAME, VERIFICATION_AGENT_TYPE, ONE_SHOT_BUILTIN_AGENT_TYPES, init_constants2 as init_constants1, TASK_OUTPUT_TOOL_NAME, init_constants3 as init_constants2, TASK_STOP_TOOL_NAME, DESCRIPTION, init_prompt, BRIEF_TOOL_NAME, LEGACY_BRIEF_TOOL_NAME, DESCRIPTION2 as DESCRIPTION1, BRIEF_TOOL_PROMPT, exports_prompt, init_prompt2 as init_prompt1, normalizeLegacyToolName, getLegacyToolNames, permissionRuleValueFromString, permissionRuleValueToString, init_permissionRuleParser, escapeRegExp, capitalize, plural, firstLineOf, countCharInString, normalizeFullWidthDigits, normalizeFullWidthSpace, safeJoinLines, EndTruncatingAccumulator, truncateToLines, init_stringUtils, CUSTOMIZATION_SURFACES, SettingsSchema, isMcpServerNameEntry, isMcpServerCommandEntry, isMcpServerUrlEntry, init_types2 as init_types, validateSettingsFileContent, init_validation2 as init_validation, startMdmRawRead, init_rawRead, ensureMdmSettingsLoaded, getMdmSettings, getHkcuSettings, setMdmSettingsCache, refreshMdmSettings, init_settings, getManagedFileSettingsPresence, parseSettingsFile, getSettingsRootPathForSource, getSettingsFilePathForSource, getRelativeSettingsFilePathForSource, getSettingsForSource, getPolicySettingsOrigin, updateSettingsForSource, getManagedSettingsKeysForLogging, getInitialSettings, getSettings_DEPRECATED, getSettingsWithSources, getSettingsWithErrors, hasSkipDangerousModePermissionPrompt, hasAutoModeOptIn, getUseAutoModeDuringPlan, getAutoModeConfig, rawSettingsContainsKey, init_settings2 as init_settings1, createBedrockRuntimeClient, getInferenceProfileBackingModel, isFoundationModel, getBedrockRegionPrefix, applyBedrockRegionPrefix, init_bedrock, CLAUDE_OPUS_4_6_CONFIG, ALL_MODEL_CONFIGS, init_configs, getAPIProvider, getAPIProviderForStatsig, isFirstPartyAnthropicBaseUrl, init_providers, getModelStrings2 as getModelStrings, ensureModelStringsInitialized, init_modelStrings, hasConsoleBillingAccess, hasClaudeAiBillingAccess, init_billing, getMockHeaderless429Message, getMockHeaders, applyMockHeaders, shouldProcessMockLimits, isMockFastModeRateLimitScenario, checkMockFastModeRateLimit, init_mockRateLimits, getOauthProfileFromApiKey, getOauthProfileFromOauthToken, init_getOauthProfile, shouldUseClaudeAIAuth, parseScopes, buildAuthUrl, exchangeCodeForTokens, refreshOAuthToken, fetchAndStoreUserRoles, createAndStoreApiKey, isOAuthTokenExpired, fetchProfileInfo, getOrganizationUUID, populateOAuthAccountInfoIfNeeded, storeOAuthAccountInfo, init_client2 as init_client, CCR_SESSION_INGRESS_TOKEN_PATH, maybePersistTokenForSubprocesses, readTokenFromWellKnownFile, init_authFileDescriptor, clearKeychainCache, init_macOsKeychainHelpers, normalizeApiKeyForConfig, init_authPortable, isAwsCredentialsProviderError, init_aws, AwsAuthStatusManager, init_awsAuthStatusManager, CONTEXT_1M_BETA_HEADER, CONTEXT_MANAGEMENT_BETA_HEADER, STRUCTURED_OUTPUTS_BETA_HEADER, EFFORT_BETA_HEADER, TASK_BUDGETS_BETA_HEADER, PROMPT_CACHING_SCOPE_BETA_HEADER, FAST_MODE_BETA_HEADER, REDACT_THINKING_BETA_HEADER, AFK_MODE_BETA_HEADER, ADVISOR_BETA_HEADER, VERTEX_COUNT_TOKENS_ALLOWED_BETAS, init_betas, getAntModelOverrideConfig, getAntModels, resolveAntModel, init_antModels, isFastModeEnabled, isFastModeAvailable, getFastModeUnavailableReason, FAST_MODE_MODEL_DISPLAY, getFastModeModel, getInitialFastModeSetting, isFastModeSupportedByModel, onCooldownTriggered, onCooldownExpired, getFastModeRuntimeState, triggerFastModeCooldown, clearFastModeCooldown, handleFastModeRejectedByAPI, onFastModeOverageRejection, handleFastModeOverageRejection, isFastModeCooldown, getFastModeState, onOrgFastModeChanged, resolveFastModeStatusFromCache, prefetchFastModeStatus, init_fastMode, COST_TIER_3_15, COST_HAIKU_35, COST_HAIKU_45, getOpus46CostTier, MODEL_COSTS, calculateUSDCost, calculateCostFromTokens, formatModelPricing, init_modelCost, MODEL_ALIASES, init_aliases, isModelAllowed, init_modelAllowlist, getSmallFastModel, isNonCustomOpusModel, getUserSpecifiedModelSetting, getMainLoopModel, getBestModel, getDefaultOpusModel, getDefaultSonnetModel, getDefaultHaikuModel, getRuntimeMainLoopModel, getDefaultMainLoopModelSetting, getDefaultMainLoopModel, firstPartyNameToCanonical, getCanonicalName, getClaudeAiUserDefaultModelDescription, renderDefaultModelSetting, getOpus46PricingSuffix, isOpus1mMergeEnabled, renderModelSetting, getPublicModelDisplayName, renderModelName, getPublicModelName, parseUserSpecifiedModel, resolveSkillModelOverride, isLegacyModelRemapEnabled, modelDisplayString, getMarketingNameForModel, normalizeModelStringForAPI, init_model, getAnthropicClient, CLIENT_REQUEST_ID_HEADER, init_client as init_client1, refreshModelCapabilities, init_modelCapabilities, COMPACT_MAX_OUTPUT_TOKENS, CAPPED_DEFAULT_MAX_TOKENS, ESCALATED_MAX_TOKENS, is1mContextDisabled, has1mContext, getContextWindowForModel, getSonnet1mExpTreatmentEnabled, calculateContextPercentages, getModelMaxOutputTokens, getMaxThinkingTokensForModel, init_context, get3PModelCapabilityOverride, init_modelSupportOverrides, filterAllowedSdkBetas, modelSupportsStructuredOutputs, modelSupportsAutoMode, getToolSearchBetaHeader, shouldIncludeFirstPartyOnlyBetas, shouldUseGlobalCacheScope, getModelBetas, getBedrockExtraBodyParamsBetas, getMergedBetas, clearBetasCaches, init_betas2 as init_betas1, isMacOsKeychainLocked, init_macOsKeychainStorage, getSecureStorage, init_secureStorage, startKeychainPrefetch, ensureKeychainPrefetchCompleted, init_keychainPrefetch, getToolSchemaCache, clearToolSchemaCache, init_toolSchemaCache, isAnthropicAuthEnabled, getAuthTokenSource, getAnthropicApiKey, hasAnthropicApiKeyAuth, getAnthropicApiKeyWithSource, getConfiguredApiKeyHelper, isAwsAuthRefreshFromProjectSettings, isAwsCredentialExportFromProjectSettings, calculateApiKeyHelperTTL, getApiKeyHelperElapsedMs, getApiKeyFromApiKeyHelper, getApiKeyFromApiKeyHelperCached, clearApiKeyHelperCache, prefetchApiKeyFromApiKeyHelperIfSafe, refreshAwsAuth, refreshAndGetAwsCredentials, clearAwsCredentialsCache, isGcpAuthRefreshFromProjectSettings, checkGcpCredentialsValid, refreshGcpAuth, refreshGcpCredentialsIfNeeded, clearGcpCredentialsCache, prefetchGcpCredentialsIfSafe, prefetchAwsCredentialsAndBedRockInfoIfSafe, getApiKeyFromConfigOrMacOSKeychain, saveApiKey, isCustomApiKeyApproved, removeApiKey, saveOAuthTokensIfNeeded, getClaudeAIOAuthTokens, clearOAuthTokenCache, handleOAuth401Error, getClaudeAIOAuthTokensAsync, checkAndRefreshOAuthTokenIfNeeded, isClaudeAISubscriber, hasProfileScope, is1PApiCustomer, getOauthAccountInfo, isOverageProvisioningAllowed, hasOpusAccess, getSubscriptionType, isMaxSubscriber, isTeamSubscriber, isTeamPremiumSubscriber, isEnterpriseSubscriber, isProSubscriber, getRateLimitTier, getSubscriptionName, isUsing3PServices, isOtelHeadersHelperFromProjectOrLocalSettings, getOtelHeadersFromHelper, isConsumerSubscriber, getAccountInformation, validateForceLoginOrg, exports_auth, init_auth2 as init_auth, getClaudeCodeUserAgent, init_userAgent, WORKLOAD_CRON, getWorkload, runWithWorkload, init_workloadContext, getUserAgent, getMCPUserAgent, getWebFetchUserAgent, getAuthHeaders, withOAuth401Retry, init_http, initUser, resetUserCache, getGitEmail, init_user, require_src5 as require_src, LoggerProvider, ConsoleLogRecordExporter, BatchLogRecordProcessor, init_esm2 as init_esm, isAnalyticsDisabled, isFeedbackSurveyDisabled, init_config2 as init_config, isProcessRunning, getAncestorPidsAsync, getProcessCommand, init_genericProcessUtils, initJetBrainsDetection, envDynamic, init_envDynamic, prefetchOfficialMcpUrls, init_officialRegistry, isAgentSwarmsEnabled, init_agentSwarmsEnabled, getAgentContext, runWithAgentContext, getSubagentLogName, consumeInvokingRequestId, init_agentContext, sanitizeToolNameForAnalytics, isToolDetailsLoggingEnabled, mcpToolDetailsForAnalytics, extractMcpToolDetails, extractSkillName, extractToolInputForTelemetry, getFileExtensionForAnalytics, getFileExtensionsFromBashCommand, getEventMetadata, init_metadata, isSinkKilled, init_sinkKillswitch, getEventSamplingConfig, shouldSampleEvent, shutdown1PEventLogging, is1PEventLoggingEnabled, logEventTo1P, logGrowthBookExperimentTo1P, initialize1PEventLogging, reinitialize1PEventLoggingIfConfigChanged, init_firstPartyEventLogger, onGrowthBookRefresh, hasGrowthBookEnvOverride, getAllGrowthBookFeatures, getGrowthBookConfigOverrides, setGrowthBookConfigOverride, clearGrowthBookConfigOverrides, getApiBaseUrlHost, initializeGrowthBook, getFeatureValue_DEPRECATED, getFeatureValue_CACHED_MAY_BE_STALE, getFeatureValue_CACHED_WITH_REFRESH, checkStatsigFeatureGate_CACHED_MAY_BE_STALE, checkSecurityRestrictionGate, checkGate_CACHED_OR_BLOCKING, refreshGrowthBookAfterAuthChange, resetGrowthBook, refreshGrowthBookFeatures, setupPeriodicGrowthBookRefresh, stopPeriodicGrowthBookRefresh, getDynamicConfig_BLOCKS_ON_INIT, getDynamicConfig_CACHED_MAY_BE_STALE, init_growthbook, isAutoMemoryEnabled, isExtractModeActive, getMemoryBaseDir, hasAutoMemPathOverride, getAutoMemPath, getAutoMemEntrypoint, isAutoMemPath, init_paths, NOTIFICATION_CHANNELS, EDITOR_MODES, TEAMMATE_MODES, init_configConstants, DEFAULT_GLOBAL_CONFIG, GLOBAL_CONFIG_KEYS, isGlobalConfigKey, PROJECT_CONFIG_KEYS, resetTrustDialogAcceptedCacheForTesting, checkHasTrustDialogAccepted, isPathTrusted, isProjectConfigKey, saveGlobalConfig, getGlobalConfigWriteCount, CONFIG_WRITE_DISPLAY_THRESHOLD, getGlobalConfig, getRemoteControlAtStartup, getCustomApiKeyStatus, enableConfigs, getProjectPathForConfig, getCurrentProjectConfig, saveCurrentProjectConfig, isAutoUpdaterDisabled, shouldSkipPluginAutoupdate, formatAutoUpdaterDisabledReason, getAutoUpdaterDisabledReason, getOrCreateUserID, recordFirstStartTime, getMemoryPath, getManagedClaudeRulesDir, getUserClaudeRulesDir, _getConfigForTesting, _wouldLoseAuthStateForTesting, _setGlobalConfigCacheForTesting, init_config as init_config1 };