claude-code-best 1.2.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 (283) hide show
  1. package/dist/{chunk-g9qte35t.js → chunk-03hxwxzh.js} +32 -29
  2. package/dist/{chunk-9pm2d2gv.js → chunk-08g51x43.js} +88 -83
  3. package/dist/{chunk-66jkaz3q.js → chunk-093r60b7.js} +2 -2
  4. package/dist/{chunk-93xsyzsp.js → chunk-0aya4737.js} +1 -1
  5. package/dist/{chunk-8201tnhf.js → chunk-0fsdxz74.js} +1 -1
  6. package/dist/{chunk-06sq1vz3.js → chunk-0mbxeb5q.js} +31 -28
  7. package/dist/{chunk-njrz6mbe.js → chunk-0pryepme.js} +6 -6
  8. package/dist/{chunk-zc6dxhk9.js → chunk-0qsm7jac.js} +6 -6
  9. package/dist/{chunk-7j3dkjqq.js → chunk-0se7sxd4.js} +2 -2
  10. package/dist/{chunk-jt6fa514.js → chunk-0xnepnph.js} +1 -1
  11. package/dist/{chunk-4f4ccg1h.js → chunk-0zsam7pn.js} +3 -3
  12. package/dist/{chunk-8bymxfn4.js → chunk-19h3a9pw.js} +5 -5
  13. package/dist/{chunk-zktbb38m.js → chunk-19wjkpe7.js} +38 -35
  14. package/dist/{chunk-1ebqpwhn.js → chunk-1hq59w8z.js} +31 -28
  15. package/dist/{chunk-gaav53dc.js → chunk-1qzk963z.js} +31 -28
  16. package/dist/{chunk-91xq5y4a.js → chunk-1rrmvwjn.js} +1 -1
  17. package/dist/{chunk-7tdcwje9.js → chunk-1tjnmcw7.js} +6 -6
  18. package/dist/{chunk-kb99zpps.js → chunk-1xj83yc8.js} +31 -28
  19. package/dist/chunk-21j2jfen.js +435 -0
  20. package/dist/{chunk-0nrq46nf.js → chunk-22gbbc5x.js} +2 -2
  21. package/dist/{chunk-fhx6nt2a.js → chunk-24r3gfks.js} +5 -5
  22. package/dist/chunk-24sahbec.js +71 -0
  23. package/dist/chunk-28az45r7.js +112 -0
  24. package/dist/{chunk-j8rnrm5n.js → chunk-2rgvd09y.js} +33 -30
  25. package/dist/{chunk-7ns74x0q.js → chunk-2wq8q15s.js} +8 -8
  26. package/dist/{chunk-dqvwn28p.js → chunk-31nce7eh.js} +1 -1
  27. package/dist/chunk-31q6p2ke.js +123 -0
  28. package/dist/{chunk-t6hmvb6k.js → chunk-3394wc12.js} +32 -29
  29. package/dist/{chunk-d6ve5pze.js → chunk-365zvqv3.js} +1 -1
  30. package/dist/{chunk-6ayqcq3h.js → chunk-36gkb95k.js} +40 -37
  31. package/dist/{chunk-a3k4w4cm.js → chunk-37y42ayh.js} +5 -5
  32. package/dist/{chunk-0qz705wz.js → chunk-3816xd5p.js} +31 -28
  33. package/dist/{chunk-05tt9tt1.js → chunk-3a6bynts.js} +31 -28
  34. package/dist/{chunk-gnmdprq3.js → chunk-3avfhw6x.js} +33 -30
  35. package/dist/{chunk-agx5w9ce.js → chunk-3b25ycrx.js} +1 -1
  36. package/dist/{chunk-zwaanw8y.js → chunk-3b4xhwhp.js} +34 -31
  37. package/dist/{chunk-t72x960a.js → chunk-3fjzvf0e.js} +33 -30
  38. package/dist/{chunk-q7n8d91g.js → chunk-3fvc0a79.js} +7 -7
  39. package/dist/chunk-3g50kcwk.js +513 -0
  40. package/dist/{chunk-8d0ev0m2.js → chunk-3jnmy0nd.js} +31 -28
  41. package/dist/{chunk-1cbhkqxg.js → chunk-3jzsxj3v.js} +4 -4
  42. package/dist/{chunk-v1jd31dw.js → chunk-3mpfxbab.js} +1 -1
  43. package/dist/{chunk-ew9rp41b.js → chunk-3v03e2kz.js} +1 -1
  44. package/dist/{chunk-4eecm90d.js → chunk-3x5hdd5g.js} +11 -11
  45. package/dist/{chunk-cxhvyf7c.js → chunk-3ygnhge8.js} +31 -28
  46. package/dist/{chunk-pt1yj9zf.js → chunk-430tvx8d.js} +31 -28
  47. package/dist/{chunk-kmhwx18d.js → chunk-43h8sw5x.js} +1 -1
  48. package/dist/{chunk-7fxjmmfw.js → chunk-44d150tz.js} +31 -28
  49. package/dist/{chunk-dd4m7t1v.js → chunk-45dj834r.js} +37 -34
  50. package/dist/{chunk-bfcet2mw.js → chunk-47j9e6m2.js} +2 -2
  51. package/dist/{chunk-s6yk6m3b.js → chunk-47wqjw88.js} +35 -32
  52. package/dist/{chunk-1csq8bf1.js → chunk-4k2270je.js} +2 -2
  53. package/dist/{chunk-h7edytkc.js → chunk-4k842par.js} +2 -2
  54. package/dist/{chunk-sfrwm87k.js → chunk-4pjqtps4.js} +2 -2
  55. package/dist/{chunk-12vk6z7z.js → chunk-4sehjy27.js} +32 -29
  56. package/dist/{chunk-r4dnnggx.js → chunk-4t86n23n.js} +1 -1
  57. package/dist/{chunk-n2n0sq7r.js → chunk-4whfjn78.js} +7 -7
  58. package/dist/{chunk-6nze0g86.js → chunk-53kt8caz.js} +31 -28
  59. package/dist/{chunk-yyax4hdg.js → chunk-5gbqknz6.js} +1 -1
  60. package/dist/{chunk-epyaq1z0.js → chunk-5kkvfgzs.js} +1 -1
  61. package/dist/{chunk-k46gxg21.js → chunk-5pxygepg.js} +2 -2
  62. package/dist/{chunk-6t62dbnb.js → chunk-5rgbq3kf.js} +1 -1
  63. package/dist/{chunk-8s9bbk3r.js → chunk-5z8w2q5k.js} +24 -20
  64. package/dist/{chunk-822wfv88.js → chunk-60k6v40t.js} +6 -6
  65. package/dist/{chunk-f0jd2p9n.js → chunk-64pp4hsr.js} +4 -4
  66. package/dist/{chunk-4xy0c1dz.js → chunk-6p1cptq5.js} +3 -3
  67. package/dist/{chunk-z9aqj026.js → chunk-6p3mtny2.js} +2 -2
  68. package/dist/{chunk-ht1nfygk.js → chunk-6rxz872v.js} +5 -5
  69. package/dist/{chunk-w9zqjhvm.js → chunk-6sjxvthw.js} +32 -29
  70. package/dist/{chunk-ka4x7mhn.js → chunk-6zn3fm1k.js} +5 -5
  71. package/dist/{chunk-837tm8ht.js → chunk-704jkbsp.js} +1 -1
  72. package/dist/{chunk-ta1dgyj1.js → chunk-71sf47by.js} +1 -1
  73. package/dist/chunk-73a5g713.js +78 -0
  74. package/dist/{chunk-p5t2vy90.js → chunk-78p7h20f.js} +3 -3
  75. package/dist/{chunk-gfx3cwrk.js → chunk-7a3b1d4s.js} +5 -5
  76. package/dist/{chunk-9m78gjpd.js → chunk-7y25wk51.js} +1 -1
  77. package/dist/{chunk-1mh5vt6v.js → chunk-81v55vtd.js} +39 -36
  78. package/dist/chunk-86715d2d.js +186 -0
  79. package/dist/{chunk-6mpsxxsf.js → chunk-8ah9easf.js} +32 -29
  80. package/dist/{chunk-sq8wkk3z.js → chunk-8baq1s87.js} +1 -1
  81. package/dist/chunk-8fy8hx84.js +386 -0
  82. package/dist/{chunk-an6z4rzv.js → chunk-8qxyxgkb.js} +32 -29
  83. package/dist/{chunk-km1wcchx.js → chunk-8xs4yp9x.js} +38 -35
  84. package/dist/{chunk-cxx0e4nv.js → chunk-9000dg9h.js} +13 -13
  85. package/dist/{chunk-vh02fvz1.js → chunk-90qsc60s.js} +32 -29
  86. package/dist/{chunk-tgcw0rzx.js → chunk-92x6xgex.js} +39 -36
  87. package/dist/{chunk-v17qee2y.js → chunk-9ctg4x6c.js} +2 -2
  88. package/dist/{chunk-68ksfahx.js → chunk-9e4z7dx7.js} +31 -28
  89. package/dist/{chunk-jerew25v.js → chunk-9hy6ejmp.js} +32 -29
  90. package/dist/{chunk-a2evk7n1.js → chunk-9jvggd30.js} +87 -82
  91. package/dist/{chunk-gk2d1x2a.js → chunk-9m729tsn.js} +6 -6
  92. package/dist/{chunk-8cwbzk7h.js → chunk-9r90d3jt.js} +32 -29
  93. package/dist/{chunk-gkbat1p9.js → chunk-9rx2m3cb.js} +31 -28
  94. package/dist/{chunk-ffhejx56.js → chunk-9sr2etaw.js} +33 -30
  95. package/dist/{chunk-yv3evkgg.js → chunk-9z8hzgve.js} +6 -6
  96. package/dist/{chunk-xext3y2y.js → chunk-9zy607vw.js} +1 -1
  97. package/dist/{chunk-559yvwh1.js → chunk-a0bz6g5e.js} +9 -9
  98. package/dist/{chunk-c1k9tg7h.js → chunk-a2aj2mtb.js} +131 -18
  99. package/dist/{chunk-16bnxyz0.js → chunk-a3sfy6as.js} +1 -1
  100. package/dist/{chunk-m17m84b7.js → chunk-aegyxcne.js} +2 -2
  101. package/dist/{chunk-em99fnet.js → chunk-aj1dcvrh.js} +37 -34
  102. package/dist/{chunk-ewx6xfzb.js → chunk-amxm6996.js} +2 -2
  103. package/dist/{chunk-gzr2601k.js → chunk-ar39mr9c.js} +6 -6
  104. package/dist/chunk-asfxrz4f.js +94 -0
  105. package/dist/chunk-axj46c2c.js +196 -0
  106. package/dist/{chunk-0ja0y3at.js → chunk-ayz6f38j.js} +1 -1
  107. package/dist/{chunk-gmnyk2t8.js → chunk-b00zd850.js} +3 -3
  108. package/dist/{chunk-sgaknx21.js → chunk-b2abjkf7.js} +32 -29
  109. package/dist/chunk-bcfd2zw7.js +20 -0
  110. package/dist/chunk-bhdt6k7w.js +15 -0
  111. package/dist/{chunk-1qf125vg.js → chunk-bqaqz1j1.js} +31 -28
  112. package/dist/chunk-bsbmmfyt.js +17 -0
  113. package/dist/{chunk-44w22kyx.js → chunk-bwevztsj.js} +32 -29
  114. package/dist/{chunk-a3mcc1sb.js → chunk-c2mn2fyg.js} +36 -33
  115. package/dist/{chunk-msv3w4qp.js → chunk-c2tw0dep.js} +7 -7
  116. package/dist/{chunk-ha0wbzc3.js → chunk-c5bngssh.js} +2 -2
  117. package/dist/{chunk-1z1gfx2c.js → chunk-cb2hpe6k.js} +2 -2
  118. package/dist/{chunk-jfsah2w3.js → chunk-ccr1s7qs.js} +101 -23
  119. package/dist/{chunk-wz0d8mna.js → chunk-cewqh6rb.js} +32 -29
  120. package/dist/{chunk-r5n8fvw0.js → chunk-cg01f3ez.js} +2 -2
  121. package/dist/{chunk-48w0df8a.js → chunk-cpwe0yw7.js} +1 -1
  122. package/dist/{chunk-jbbj16w2.js → chunk-crefny3c.js} +32 -29
  123. package/dist/{chunk-w7trx259.js → chunk-dfkgpfaj.js} +39 -36
  124. package/dist/chunk-dnj95atq.js +66 -0
  125. package/dist/{chunk-zptcqa7t.js → chunk-dqgzpb0q.js} +36 -33
  126. package/dist/chunk-drenq3c7.js +383 -0
  127. package/dist/{chunk-d8r0q4ps.js → chunk-dvjzq9x9.js} +31 -28
  128. package/dist/{chunk-b6rg3egp.js → chunk-e18dg1md.js} +6 -6
  129. package/dist/{chunk-j7pbwf9x.js → chunk-e396ak46.js} +37 -34
  130. package/dist/{chunk-bf1j3azq.js → chunk-e3c32vwa.js} +118 -223
  131. package/dist/{chunk-fbhyqxdg.js → chunk-e3m7kqkb.js} +41 -38
  132. package/dist/{chunk-wb2fvy1k.js → chunk-ea9m4e0k.js} +31 -28
  133. package/dist/{chunk-es2fdse0.js → chunk-ecsa9nd5.js} +1 -1
  134. package/dist/chunk-ek1jasqg.js +142 -0
  135. package/dist/chunk-ep0hwv07.js +126 -0
  136. package/dist/{chunk-dsbewdgm.js → chunk-f2k8b4nd.js} +1 -1
  137. package/dist/{chunk-h0rbjg6x.js → chunk-f2mhrmww.js} +8 -1
  138. package/dist/{chunk-yy59gvs4.js → chunk-f32cksgw.js} +41 -38
  139. package/dist/{chunk-k8wwyz2t.js → chunk-f7n3xete.js} +34 -31
  140. package/dist/chunk-fbest4vx.js +109 -0
  141. package/dist/{chunk-avfjb6pd.js → chunk-fdtcb8qr.js} +3 -3
  142. package/dist/{chunk-2x2aznpc.js → chunk-feh2j8m2.js} +39 -37
  143. package/dist/{chunk-mxe1f4jg.js → chunk-ft9qsa01.js} +2 -2
  144. package/dist/{chunk-e7h0nd5w.js → chunk-fw0ckaxh.js} +32 -29
  145. package/dist/{chunk-e3299veq.js → chunk-fzn524wa.js} +4 -4
  146. package/dist/{chunk-cy2hswr1.js → chunk-g1k68z1b.js} +1 -1
  147. package/dist/{chunk-d83tmb5h.js → chunk-g5nb4xhz.js} +31 -28
  148. package/dist/{chunk-abkb5pw6.js → chunk-g82mdy27.js} +31 -28
  149. package/dist/{chunk-ka3fdfyb.js → chunk-g8sz060e.js} +32 -29
  150. package/dist/{chunk-127cmycn.js → chunk-gdqxtdh4.js} +2 -2
  151. package/dist/{chunk-5hb5ev7b.js → chunk-get9fk3h.js} +6 -6
  152. package/dist/{chunk-e5hcyxae.js → chunk-gf6qjt7j.js} +8 -8
  153. package/dist/{chunk-cy6ezb6j.js → chunk-gs5eeqmc.js} +2917 -982
  154. package/dist/{chunk-9f14bkn9.js → chunk-ha5d5zfj.js} +1 -1
  155. package/dist/{chunk-c5pxerks.js → chunk-han7cwc0.js} +4 -4
  156. package/dist/{chunk-x2sp7rcv.js → chunk-hbv0tk35.js} +3 -3
  157. package/dist/{chunk-kq91dwkq.js → chunk-hd1p4hrd.js} +2 -2
  158. package/dist/{chunk-b9mhpc0v.js → chunk-hfdyez7b.js} +3 -3
  159. package/dist/{chunk-k1fvb16y.js → chunk-hh7hqa2c.js} +31 -28
  160. package/dist/{chunk-r032587e.js → chunk-hk4a2sks.js} +6 -6
  161. package/dist/{chunk-wssgdcck.js → chunk-hq85v2s7.js} +3 -3
  162. package/dist/{chunk-ftsg8bjm.js → chunk-hr06142m.js} +3 -3
  163. package/dist/{chunk-jrrmwfp4.js → chunk-j1b3r6v6.js} +6 -6
  164. package/dist/{chunk-4kk7vxed.js → chunk-j2fgn3kq.js} +2 -2
  165. package/dist/{chunk-8kfwb79z.js → chunk-j2wgj22c.js} +35 -30
  166. package/dist/{chunk-ve9wswz4.js → chunk-ja87jt56.js} +1 -1
  167. package/dist/{chunk-nv7pfr7k.js → chunk-jb2nh0m0.js} +2 -2
  168. package/dist/{chunk-053bj0m0.js → chunk-jb4fc073.js} +34 -31
  169. package/dist/chunk-jba8f3hz.js +108 -0
  170. package/dist/{chunk-dekbr08w.js → chunk-jbt0jgtc.js} +1 -1
  171. package/dist/{chunk-nwd8pb55.js → chunk-jg4ge4de.js} +31 -28
  172. package/dist/{chunk-bdy6n17s.js → chunk-jkvy2cmt.js} +31 -28
  173. package/dist/{chunk-sca71yv8.js → chunk-jmdy5vdy.js} +4 -4
  174. package/dist/{chunk-cjpt035a.js → chunk-jn08nxj8.js} +10 -10
  175. package/dist/{chunk-ws2d81aj.js → chunk-jwh384j5.js} +31 -28
  176. package/dist/{chunk-zj4fqmnc.js → chunk-jwx2scxy.js} +31 -28
  177. package/dist/{chunk-vm935era.js → chunk-jy77nthd.js} +225 -124
  178. package/dist/{chunk-mzwjvfr2.js → chunk-jyjpaqbt.js} +60 -54
  179. package/dist/{chunk-x01wtn3p.js → chunk-jztjnw31.js} +32 -29
  180. package/dist/{chunk-qfr5tcd5.js → chunk-k0jhzcwg.js} +31 -28
  181. package/dist/{chunk-snyaz093.js → chunk-k0kwfqr8.js} +2 -2
  182. package/dist/{chunk-3cvcwgsr.js → chunk-ke78h68m.js} +31 -28
  183. package/dist/{chunk-j316jjby.js → chunk-ksvvwa9w.js} +32 -29
  184. package/dist/{chunk-jng0mb4r.js → chunk-m1z5td19.js} +3 -3
  185. package/dist/{chunk-dmxte86x.js → chunk-m2mzpskw.js} +2 -2
  186. package/dist/{chunk-eaemyebz.js → chunk-m47q5mxt.js} +1 -1
  187. package/dist/{chunk-vgy0w6tt.js → chunk-m8vyp6rw.js} +2 -2
  188. package/dist/{chunk-8a2ajt5d.js → chunk-mm4m13ng.js} +31 -28
  189. package/dist/{chunk-7qmknpkq.js → chunk-mq1qrwhq.js} +32 -29
  190. package/dist/{chunk-h3pda469.js → chunk-mqqw60br.js} +11 -6
  191. package/dist/{chunk-6t87a3q6.js → chunk-mtcdknc8.js} +6 -6
  192. package/dist/{chunk-dk8287aa.js → chunk-mzd6frw6.js} +1 -1
  193. package/dist/{chunk-pcngtzr8.js → chunk-n1neft0d.js} +2 -2
  194. package/dist/{chunk-4jcqmf9w.js → chunk-n2mysxn1.js} +6 -6
  195. package/dist/{chunk-td3b74vm.js → chunk-n4wkxbq0.js} +32 -29
  196. package/dist/{chunk-b73r6ngr.js → chunk-n57dw6h9.js} +31 -28
  197. package/dist/{chunk-j3fge71v.js → chunk-n5wf3b82.js} +31 -28
  198. package/dist/{chunk-44q4jkwa.js → chunk-n7ce94nd.js} +1 -1
  199. package/dist/{chunk-d8meetqc.js → chunk-na2e0dfj.js} +31 -28
  200. package/dist/{chunk-5c6man70.js → chunk-npjsp3z3.js} +2701 -2188
  201. package/dist/{chunk-aj3azy6z.js → chunk-p4rmbc1e.js} +4 -4
  202. package/dist/{chunk-qbrh24cn.js → chunk-p7jdncj4.js} +34 -31
  203. package/dist/{chunk-2wvxddsg.js → chunk-prw4xz5q.js} +3 -3
  204. package/dist/{chunk-gv1csnc3.js → chunk-q08sb44h.js} +33 -30
  205. package/dist/{chunk-7f1ggjr2.js → chunk-q78bgdtk.js} +32 -29
  206. package/dist/{chunk-6kpbgc5w.js → chunk-qbrsmra3.js} +1 -1
  207. package/dist/{chunk-a8eaey19.js → chunk-qhfn4vgv.js} +6 -6
  208. package/dist/{chunk-8qhr4n77.js → chunk-qndzvkdx.js} +1 -1
  209. package/dist/{chunk-eqmkajs4.js → chunk-qwcnwn5t.js} +14 -12
  210. package/dist/{chunk-t9kashay.js → chunk-qwehvedn.js} +2 -2
  211. package/dist/{chunk-s1eb67v3.js → chunk-qwk9fq7r.js} +31 -28
  212. package/dist/{chunk-ah46h8rp.js → chunk-qy75c2vm.js} +6 -6
  213. package/dist/{chunk-z95yxwyb.js → chunk-r47p0ff0.js} +1 -1
  214. package/dist/{chunk-fyts9grb.js → chunk-r5tk54yt.js} +1 -1
  215. package/dist/{chunk-cvb1v08x.js → chunk-r8q993g6.js} +18 -18
  216. package/dist/{chunk-m7jtn7dk.js → chunk-ra2rykps.js} +31 -28
  217. package/dist/{chunk-zvnsjbt8.js → chunk-rav5xp8h.js} +1 -1
  218. package/dist/chunk-rbe0tcn9.js +120 -0
  219. package/dist/{chunk-28043j1k.js → chunk-rd5cfz3k.js} +1 -1
  220. package/dist/{chunk-esn3tgm2.js → chunk-rdvaan98.js} +1 -1
  221. package/dist/{chunk-y01ys1vm.js → chunk-rjsb9s3q.js} +4 -82
  222. package/dist/{chunk-2bw5nqsw.js → chunk-rnam0xc5.js} +1 -1
  223. package/dist/{chunk-vfhabc5j.js → chunk-rqkqbppr.js} +31 -28
  224. package/dist/{chunk-g1jarkx9.js → chunk-rqvqqrpg.js} +29 -29
  225. package/dist/{chunk-r7kh03er.js → chunk-s5gnvx67.js} +31 -28
  226. package/dist/{chunk-mq2mgyt9.js → chunk-s7dtt7tw.js} +13 -7
  227. package/dist/{chunk-n9e984ba.js → chunk-s9ftt1fh.js} +32 -29
  228. package/dist/{chunk-ysks0ewj.js → chunk-sc6sy490.js} +32 -29
  229. package/dist/{chunk-m1a0s9fd.js → chunk-sh9er84d.js} +31 -28
  230. package/dist/{chunk-sxqj7s2h.js → chunk-sk9xag9g.js} +1 -1
  231. package/dist/{chunk-pmxdzjq0.js → chunk-t0g8wbcq.js} +2 -2
  232. package/dist/{chunk-rtv718sv.js → chunk-tbgm1v8n.js} +4 -4
  233. package/dist/{chunk-t9wzf009.js → chunk-thk6yn51.js} +33 -30
  234. package/dist/{chunk-ydm0nfsv.js → chunk-tkf24yhv.js} +5 -5
  235. package/dist/{chunk-pdjem6h1.js → chunk-tkrjcekq.js} +2 -2
  236. package/dist/{chunk-w2kf9sxn.js → chunk-tw2g1yhq.js} +31 -28
  237. package/dist/chunk-twzjxwhf.js +182 -0
  238. package/dist/{chunk-0rn4v8sg.js → chunk-v4e4f711.js} +5 -5
  239. package/dist/{chunk-j4x0t6k2.js → chunk-v5k7zmqm.js} +5 -5
  240. package/dist/{chunk-rfs0mfg8.js → chunk-vd11xbz3.js} +31 -28
  241. package/dist/{chunk-299r6d9v.js → chunk-vfhqj46w.js} +31 -28
  242. package/dist/{chunk-zkrpbswn.js → chunk-vkxx8ymr.js} +947 -178
  243. package/dist/{chunk-py6b9d5b.js → chunk-vs094cby.js} +15 -15
  244. package/dist/{chunk-gv37c8ax.js → chunk-vzd3cjy9.js} +1 -1
  245. package/dist/{chunk-4d0de73v.js → chunk-w2es9743.js} +31 -28
  246. package/dist/chunk-wa1dpga1.js +236 -0
  247. package/dist/{chunk-et8ybmt2.js → chunk-wbmacbfb.js} +3 -3
  248. package/dist/{chunk-1sp6713v.js → chunk-wbn46nb4.js} +31 -28
  249. package/dist/{chunk-436r0x2n.js → chunk-wymtgh88.js} +2 -2
  250. package/dist/{chunk-pnkcecq2.js → chunk-x0aj8rh8.js} +4 -4
  251. package/dist/{chunk-s59kx26r.js → chunk-x69w7xr7.js} +32 -29
  252. package/dist/{chunk-8n8285ax.js → chunk-x6qmm22r.js} +33 -30
  253. package/dist/{chunk-jvkyx1b7.js → chunk-xc0v11v6.js} +31 -28
  254. package/dist/{chunk-qd9ntz7c.js → chunk-xed18bb5.js} +32 -29
  255. package/dist/{chunk-yetebjek.js → chunk-xj76qk4z.js} +16 -14
  256. package/dist/{chunk-7rzepn9c.js → chunk-xmd9eezd.js} +5 -5
  257. package/dist/{chunk-b9ndqcdv.js → chunk-xrzrbw0f.js} +34 -31
  258. package/dist/{chunk-eyjtbtt0.js → chunk-y0m0rd5v.js} +31 -28
  259. package/dist/{chunk-0dac8msw.js → chunk-y2vtmzre.js} +39 -37
  260. package/dist/{chunk-15y014gg.js → chunk-y5z1cjbk.js} +6 -6
  261. package/dist/{chunk-z0q85m5f.js → chunk-y60q54ph.js} +34 -31
  262. package/dist/{chunk-99pmbfqp.js → chunk-ycwdzwz5.js} +31 -28
  263. package/dist/{chunk-j783d5af.js → chunk-yfyc2y1v.js} +39 -37
  264. package/dist/{chunk-tavxhayf.js → chunk-yg6gtf9j.js} +34 -31
  265. package/dist/{chunk-hf85ht0m.js → chunk-yk8vcecd.js} +32 -4
  266. package/dist/{chunk-caj0ab74.js → chunk-yr6gqw17.js} +31 -28
  267. package/dist/{chunk-2mxstrx5.js → chunk-yw62vhjz.js} +4 -4
  268. package/dist/{chunk-az5x70pn.js → chunk-yx64nmbh.js} +1 -1
  269. package/dist/{chunk-d95k8xkm.js → chunk-yy232vtj.js} +9 -9
  270. package/dist/{chunk-qpzfmkct.js → chunk-z4mgvsdj.js} +1 -1
  271. package/dist/{chunk-548g1d6z.js → chunk-z6zt2ns7.js} +45 -42
  272. package/dist/{chunk-rp568bfw.js → chunk-z735r3p2.js} +31 -28
  273. package/dist/{chunk-53zsn91p.js → chunk-z8nv1ah0.js} +6 -6
  274. package/dist/{chunk-4xmb7bvy.js → chunk-z9mbssbe.js} +31 -28
  275. package/dist/{chunk-t2m6cjp1.js → chunk-zdctabq6.js} +3 -3
  276. package/dist/{chunk-bsj8e2mb.js → chunk-zg4ae27v.js} +4 -4
  277. package/dist/{chunk-2ss23j0q.js → chunk-zqxe8qnw.js} +37 -34
  278. package/dist/{chunk-c9q0phsg.js → chunk-zs2ddzfv.js} +3 -3
  279. package/dist/{chunk-229pcf6p.js → chunk-zy80g72r.js} +32 -29
  280. package/dist/cli.js +38 -10
  281. package/package.json +1 -1
  282. package/dist/chunk-01qzvbp3.js +0 -46
  283. package/dist/chunk-0paqc2yw.js +0 -15
@@ -1,69 +1,69 @@
1
1
  // @bun
2
- import"./chunk-jng0mb4r.js";
2
+ import"./chunk-m1z5td19.js";
3
3
  import {
4
4
  cliError,
5
5
  cliOk
6
6
  } from "./chunk-z2dp53wn.js";
7
7
  import {
8
8
  buildDeepLinkBanner
9
- } from "./chunk-28043j1k.js";
9
+ } from "./chunk-rd5cfz3k.js";
10
10
  import {
11
11
  filterExistingPaths,
12
12
  getKnownPathsForRepo,
13
13
  updateGithubRepoPathMapping
14
- } from "./chunk-eaemyebz.js";
14
+ } from "./chunk-m47q5mxt.js";
15
15
  import {
16
16
  computeInitialTeamContext,
17
17
  createRemoteSessionConfig,
18
18
  getModelDeprecationWarning,
19
19
  getRelevantTips,
20
20
  refreshExampleCommands
21
- } from "./chunk-eqmkajs4.js";
21
+ } from "./chunk-qwcnwn5t.js";
22
22
  import {
23
23
  processResumedConversation,
24
24
  skillChangeDetector
25
- } from "./chunk-gzr2601k.js";
25
+ } from "./chunk-ar39mr9c.js";
26
26
  import {
27
27
  installAsciicastRecorder
28
28
  } from "./chunk-ergam9ft.js";
29
- import"./chunk-mq2mgyt9.js";
30
29
  import {
31
30
  getBaseRenderOptions
32
31
  } from "./chunk-jf0p00fz.js";
33
32
  import {
34
33
  createStatsStore
35
- } from "./chunk-44q4jkwa.js";
34
+ } from "./chunk-n7ce94nd.js";
36
35
  import {
37
36
  onChangeAppState
38
- } from "./chunk-4f4ccg1h.js";
39
- import"./chunk-fyts9grb.js";
37
+ } from "./chunk-0zsam7pn.js";
38
+ import"./chunk-r5tk54yt.js";
40
39
  import {
41
40
  seedEarlyInput,
42
41
  stopCapturingEarlyInput
43
42
  } from "./chunk-46fcr28b.js";
44
43
  import"./chunk-4hv90qcz.js";
44
+ import"./chunk-s7dtt7tw.js";
45
45
  import {
46
46
  init_partition,
47
47
  partition_default
48
- } from "./chunk-v1jd31dw.js";
48
+ } from "./chunk-3mpfxbab.js";
49
49
  import {
50
50
  init_setup,
51
51
  setupClaudeInChrome,
52
52
  shouldAutoEnableClaudeInChrome,
53
53
  shouldEnableClaudeInChrome
54
- } from "./chunk-jt6fa514.js";
54
+ } from "./chunk-0xnepnph.js";
55
55
  import {
56
56
  VALID_INSTALLABLE_SCOPES,
57
57
  VALID_UPDATE_SCOPES
58
- } from "./chunk-2wvxddsg.js";
59
- import"./chunk-436r0x2n.js";
58
+ } from "./chunk-prw4xz5q.js";
59
+ import"./chunk-wymtgh88.js";
60
60
  import {
61
61
  init_releaseNotes,
62
62
  migrateChangelogFromConfig
63
- } from "./chunk-0ja0y3at.js";
64
- import"./chunk-66jkaz3q.js";
65
- import"./chunk-rtv718sv.js";
66
- import"./chunk-h7edytkc.js";
63
+ } from "./chunk-ayz6f38j.js";
64
+ import"./chunk-093r60b7.js";
65
+ import"./chunk-tbgm1v8n.js";
66
+ import"./chunk-4k842par.js";
67
67
  import {
68
68
  BROWSER_TOOLS,
69
69
  init_src as init_src2
@@ -71,7 +71,7 @@ import {
71
71
  import {
72
72
  init_sink,
73
73
  initializeAnalyticsGates
74
- } from "./chunk-wssgdcck.js";
74
+ } from "./chunk-hq85v2s7.js";
75
75
  import {
76
76
  ASK_USER_QUESTION_TOOL_NAME,
77
77
  AppStateProvider,
@@ -130,6 +130,7 @@ import {
130
130
  excludeCommandsByServer,
131
131
  excludeResourcesByServer,
132
132
  exports_BriefTool,
133
+ exports_autoModeState,
133
134
  exports_teammatePromptAddendum,
134
135
  fetchClaudeAIMcpConfigsIfEligible,
135
136
  fetchEnvironments,
@@ -138,6 +139,8 @@ import {
138
139
  generateTempFilePath,
139
140
  getActiveAgentsFromList,
140
141
  getAgentDefinitionsWithOverrides,
142
+ getAutoModeEnabledState,
143
+ getAutoModeEnabledStateIfCached,
141
144
  getCachedIdpIdToken,
142
145
  getCharBudget,
143
146
  getClaudeCodeMcpConfigs,
@@ -183,6 +186,7 @@ import {
183
186
  init_allErrors,
184
187
  init_api as init_api2,
185
188
  init_auth as init_auth2,
189
+ init_autoModeState,
186
190
  init_bundledSkills,
187
191
  init_cacheUtils,
188
192
  init_changeDetector,
@@ -261,6 +265,7 @@ import {
261
265
  initializeVersionedPlugins,
262
266
  isAdvisorEnabled,
263
267
  isBuiltInAgent,
268
+ isDefaultPermissionModeAuto,
264
269
  isEligibleForRemoteManagedSettings,
265
270
  isKairosCronEnabled,
266
271
  isKeybindingCustomizationEnabled,
@@ -318,71 +323,76 @@ import {
318
323
  shouldEnableThinkingByDefault,
319
324
  shouldShowClaudeMdExternalIncludesWarning,
320
325
  shutdownLspServerManager,
326
+ stripDangerousPermissionsForAutoMode,
321
327
  teleportToRemoteWithErrorHandling,
322
328
  uniqBy_default,
323
329
  updateSessionName,
324
330
  validateGitState,
325
331
  validateSessionRepository,
326
332
  validateUuid,
333
+ verifyAutoModeGateAccess,
327
334
  waitForPolicyLimitsToLoad,
328
335
  waitForRemoteManagedSettingsToLoad
329
- } from "./chunk-cy6ezb6j.js";
330
- import"./chunk-zejm280k.js";
331
- import {
332
- getSessionIngressAuthToken,
333
- init_sessionIngressAuth
334
- } from "./chunk-g1jarkx9.js";
335
- import"./chunk-yyax4hdg.js";
336
+ } from "./chunk-gs5eeqmc.js";
336
337
  import"./chunk-4nspekjp.js";
337
338
  import {
338
339
  exports_teammateModeSnapshot,
339
340
  init_teammateModeSnapshot
340
- } from "./chunk-kmhwx18d.js";
341
+ } from "./chunk-43h8sw5x.js";
342
+ import"./chunk-zejm280k.js";
341
343
  import {
342
344
  BASE_CHROME_PROMPT,
343
345
  CLAUDE_IN_CHROME_SKILL_HINT,
344
346
  init_prompt as init_prompt6
345
347
  } from "./chunk-var1et7e.js";
346
- import"./chunk-2gzv8nrw.js";
347
348
  import"./chunk-ehtwnxpg.js";
348
- import"./chunk-dmxte86x.js";
349
+ import"./chunk-m2mzpskw.js";
349
350
  import {
350
351
  createEmptyAttributionState,
351
352
  init_commitAttribution
352
- } from "./chunk-d6ve5pze.js";
353
+ } from "./chunk-365zvqv3.js";
354
+ import {
355
+ getSessionIngressAuthToken,
356
+ init_sessionIngressAuth
357
+ } from "./chunk-rqvqqrpg.js";
358
+ import"./chunk-5gbqknz6.js";
359
+ import"./chunk-2gzv8nrw.js";
360
+ import {
361
+ init_worktreeModeEnabled,
362
+ isWorktreeModeEnabled
363
+ } from "./chunk-cgfdkzhb.js";
353
364
  import"./chunk-bxcfz5gy.js";
354
365
  import {
355
366
  DEFAULT_TASKS_MODE_TASK_LIST_ID,
356
367
  TASK_STATUSES,
357
368
  init_tasks
358
- } from "./chunk-dekbr08w.js";
369
+ } from "./chunk-jbt0jgtc.js";
370
+ import {
371
+ initSentry,
372
+ init_sentry
373
+ } from "./chunk-ha5d5zfj.js";
374
+ import"./chunk-28az45r7.js";
375
+ import"./chunk-bhdt6k7w.js";
359
376
  import {
360
377
  CLAUDE_IN_CHROME_MCP_SERVER_NAME,
361
378
  init_common,
362
379
  isClaudeInChromeMCPServer
363
380
  } from "./chunk-f6rbj3gz.js";
364
- import {
365
- initSentry,
366
- init_sentry
367
- } from "./chunk-9f14bkn9.js";
368
- import {
369
- init_worktreeModeEnabled,
370
- isWorktreeModeEnabled
371
- } from "./chunk-cgfdkzhb.js";
381
+ import"./chunk-axj46c2c.js";
372
382
  import {
373
383
  init_referral,
374
384
  prefetchPassesEligibility
375
- } from "./chunk-k46gxg21.js";
385
+ } from "./chunk-5pxygepg.js";
376
386
  import"./chunk-j5bth84e.js";
377
- import"./chunk-8qhr4n77.js";
378
- import"./chunk-az5x70pn.js";
379
- import"./chunk-epyaq1z0.js";
387
+ import"./chunk-qndzvkdx.js";
388
+ import"./chunk-5kkvfgzs.js";
380
389
  import"./chunk-0jzdwbdc.js";
381
390
  import"./chunk-ps49ymvj.js";
382
391
  import"./chunk-p7vkh4wx.js";
383
392
  import"./chunk-cmcbatgz.js";
384
- import"./chunk-agx5w9ce.js";
385
- import"./chunk-48w0df8a.js";
393
+ import"./chunk-3b25ycrx.js";
394
+ import"./chunk-yx64nmbh.js";
395
+ import"./chunk-cpwe0yw7.js";
386
396
  import"./chunk-y78t50v0.js";
387
397
  import"./chunk-4jm600zv.js";
388
398
  import"./chunk-n8mpqdje.js";
@@ -390,17 +400,17 @@ import {
390
400
  fetchSession,
391
401
  init_api,
392
402
  prepareApiRequest
393
- } from "./chunk-dqvwn28p.js";
403
+ } from "./chunk-31nce7eh.js";
394
404
  import {
395
405
  getTelemetryAttributes,
396
406
  init_betaSessionTracing,
397
407
  init_telemetryAttributes,
398
408
  isBetaTracingEnabled
399
- } from "./chunk-esn3tgm2.js";
409
+ } from "./chunk-rdvaan98.js";
400
410
  import"./chunk-mx28h61f.js";
401
- import"./chunk-dsbewdgm.js";
402
- import"./chunk-sxqj7s2h.js";
403
- import"./chunk-8201tnhf.js";
411
+ import"./chunk-f2k8b4nd.js";
412
+ import"./chunk-sk9xag9g.js";
413
+ import"./chunk-0fsdxz74.js";
404
414
  import"./chunk-2qwgfjcj.js";
405
415
  import"./chunk-chsyvavm.js";
406
416
  import"./chunk-w92b262y.js";
@@ -436,6 +446,7 @@ import {
436
446
  getSettings_DEPRECATED,
437
447
  getSubscriptionType,
438
448
  getUserSpecifiedModelSetting,
449
+ hasAutoModeOptIn,
439
450
  hasGrowthBookEnvOverride,
440
451
  hasProfileScope,
441
452
  hasSkipDangerousModePermissionPrompt,
@@ -510,7 +521,7 @@ import {
510
521
  updateSettingsForSource,
511
522
  validateForceLoginOrg,
512
523
  withOAuth401Retry
513
- } from "./chunk-c1k9tg7h.js";
524
+ } from "./chunk-a2aj2mtb.js";
514
525
  import {
515
526
  init_json,
516
527
  safeParseJSON
@@ -539,12 +550,12 @@ import {
539
550
  } from "./chunk-64c1avct.js";
540
551
  import {
541
552
  PERMISSION_MODES
542
- } from "./chunk-6kpbgc5w.js";
543
- import"./chunk-8g5pe1gr.js";
553
+ } from "./chunk-qbrsmra3.js";
544
554
  import {
545
555
  getPlatform,
546
556
  init_platform
547
557
  } from "./chunk-hezj20qy.js";
558
+ import"./chunk-8g5pe1gr.js";
548
559
  import"./chunk-4cp6193g.js";
549
560
  import {
550
561
  init_v4
@@ -555,7 +566,7 @@ import {
555
566
  } from "./chunk-d7886r6a.js";
556
567
  import"./chunk-f5ma3nh5.js";
557
568
  import"./chunk-qz2x630m.js";
558
- import"./chunk-dk8287aa.js";
569
+ import"./chunk-mzd6frw6.js";
559
570
  import"./chunk-r2k2jy0y.js";
560
571
  import"./chunk-3c25bcsw.js";
561
572
  import {
@@ -576,7 +587,7 @@ import {
576
587
  init_startupProfiler,
577
588
  profileCheckpoint,
578
589
  profileReport
579
- } from "./chunk-qpzfmkct.js";
590
+ } from "./chunk-z4mgvsdj.js";
580
591
  import"./chunk-crmjpsqe.js";
581
592
  import {
582
593
  Byline,
@@ -598,7 +609,7 @@ import {
598
609
  import {
599
610
  init_analytics,
600
611
  logEvent
601
- } from "./chunk-h0rbjg6x.js";
612
+ } from "./chunk-f2mhrmww.js";
602
613
  import"./chunk-0vkfrmqm.js";
603
614
  import"./chunk-0xjaqda8.js";
604
615
  import {
@@ -3290,8 +3301,8 @@ var init = memoize_default(async () => {
3290
3301
  setupGracefulShutdown();
3291
3302
  profileCheckpoint("init_after_graceful_shutdown");
3292
3303
  Promise.all([
3293
- import("./chunk-gfx3cwrk.js"),
3294
- import("./chunk-0rn4v8sg.js")
3304
+ import("./chunk-7a3b1d4s.js"),
3305
+ import("./chunk-v4e4f711.js")
3295
3306
  ]).then(([fp, gb]) => {
3296
3307
  fp.initialize1PEventLogging();
3297
3308
  gb.onGrowthBookRefresh(() => {
@@ -3342,7 +3353,7 @@ var init = memoize_default(async () => {
3342
3353
  setShellIfWindows();
3343
3354
  registerCleanup(shutdownLspServerManager);
3344
3355
  registerCleanup(async () => {
3345
- const { cleanupSessionTeams } = await import("./chunk-r4dnnggx.js");
3356
+ const { cleanupSessionTeams } = await import("./chunk-4t86n23n.js");
3346
3357
  await cleanupSessionTeams();
3347
3358
  });
3348
3359
  if (isScratchpadEnabled()) {
@@ -3364,7 +3375,7 @@ var init = memoize_default(async () => {
3364
3375
  gracefulShutdownSync(1);
3365
3376
  return;
3366
3377
  }
3367
- return import("./chunk-zj4fqmnc.js").then((m) => m.showInvalidConfigDialog({ error }));
3378
+ return import("./chunk-jwx2scxy.js").then((m) => m.showInvalidConfigDialog({ error }));
3368
3379
  } else {
3369
3380
  throw error;
3370
3381
  }
@@ -3404,7 +3415,7 @@ async function doInitializeTelemetry() {
3404
3415
  }
3405
3416
  }
3406
3417
  async function setMeterState() {
3407
- const { initializeTelemetry } = await import("./chunk-gk2d1x2a.js");
3418
+ const { initializeTelemetry } = await import("./chunk-9m729tsn.js");
3408
3419
  const meter = await initializeTelemetry();
3409
3420
  if (meter) {
3410
3421
  const createAttributedCounter = (name, options) => {
@@ -3431,8 +3442,8 @@ init_history();
3431
3442
  // src/replLauncher.tsx
3432
3443
  var jsx_dev_runtime = __toESM(require_jsx_dev_runtime(), 1);
3433
3444
  async function launchRepl(root, appProps, replProps, renderAndRun) {
3434
- const { App } = await import("./chunk-b9ndqcdv.js");
3435
- const { REPL } = await import("./chunk-a2evk7n1.js");
3445
+ const { App } = await import("./chunk-xrzrbw0f.js");
3446
+ const { REPL } = await import("./chunk-9jvggd30.js");
3436
3447
  await renderAndRun(root, /* @__PURE__ */ jsx_dev_runtime.jsxDEV(App, {
3437
3448
  ...appProps,
3438
3449
  children: /* @__PURE__ */ jsx_dev_runtime.jsxDEV(REPL, {
@@ -3992,7 +4003,7 @@ async function showSetupScreens(root, permissionMode, allowDangerouslySkipPermis
3992
4003
  let onboardingShown = false;
3993
4004
  if (!config.theme || !config.hasCompletedOnboarding) {
3994
4005
  onboardingShown = true;
3995
- const { Onboarding } = await import("./chunk-gv1csnc3.js");
4006
+ const { Onboarding } = await import("./chunk-q08sb44h.js");
3996
4007
  await showSetupDialog(root, (done) => /* @__PURE__ */ jsx_dev_runtime6.jsxDEV(Onboarding, {
3997
4008
  onDone: () => {
3998
4009
  completeOnboarding();
@@ -4002,7 +4013,7 @@ async function showSetupScreens(root, permissionMode, allowDangerouslySkipPermis
4002
4013
  }
4003
4014
  if (!isEnvTruthy(process.env.CLAUBBIT)) {
4004
4015
  if (!checkHasTrustDialogAccepted()) {
4005
- const { TrustDialog } = await import("./chunk-8kfwb79z.js");
4016
+ const { TrustDialog } = await import("./chunk-j2wgj22c.js");
4006
4017
  await showSetupDialog(root, (done) => /* @__PURE__ */ jsx_dev_runtime6.jsxDEV(TrustDialog, {
4007
4018
  commands,
4008
4019
  onDone: done
@@ -4018,7 +4029,7 @@ async function showSetupScreens(root, permissionMode, allowDangerouslySkipPermis
4018
4029
  }
4019
4030
  if (await shouldShowClaudeMdExternalIncludesWarning()) {
4020
4031
  const externalIncludes = getExternalClaudeMdIncludes(await getMemoryFiles(true));
4021
- const { ClaudeMdExternalIncludesDialog } = await import("./chunk-e7h0nd5w.js");
4032
+ const { ClaudeMdExternalIncludesDialog } = await import("./chunk-fw0ckaxh.js");
4022
4033
  await showSetupDialog(root, (done) => /* @__PURE__ */ jsx_dev_runtime6.jsxDEV(ClaudeMdExternalIncludesDialog, {
4023
4034
  onDone: done,
4024
4035
  isStandaloneDialog: true,
@@ -4033,7 +4044,7 @@ async function showSetupScreens(root, permissionMode, allowDangerouslySkipPermis
4033
4044
  applyConfigEnvironmentVariables();
4034
4045
  setImmediate(() => initializeTelemetryAfterTrust());
4035
4046
  if (await isQualifiedForGrove()) {
4036
- const { GroveDialog } = await import("./chunk-j316jjby.js");
4047
+ const { GroveDialog } = await import("./chunk-ksvvwa9w.js");
4037
4048
  const decision = await showSetupDialog(root, (done) => /* @__PURE__ */ jsx_dev_runtime6.jsxDEV(GroveDialog, {
4038
4049
  showIfAlreadyViewed: false,
4039
4050
  location: onboardingShown ? "onboarding" : "policy_update_modal",
@@ -4049,7 +4060,7 @@ async function showSetupScreens(root, permissionMode, allowDangerouslySkipPermis
4049
4060
  const customApiKeyTruncated = normalizeApiKeyForConfig(process.env.ANTHROPIC_API_KEY);
4050
4061
  const keyStatus = getCustomApiKeyStatus(customApiKeyTruncated);
4051
4062
  if (keyStatus === "new") {
4052
- const { ApproveApiKey } = await import("./chunk-w9zqjhvm.js");
4063
+ const { ApproveApiKey } = await import("./chunk-6sjxvthw.js");
4053
4064
  await showSetupDialog(root, (done) => /* @__PURE__ */ jsx_dev_runtime6.jsxDEV(ApproveApiKey, {
4054
4065
  customApiKeyTruncated,
4055
4066
  onDone: done
@@ -4057,15 +4068,24 @@ async function showSetupScreens(root, permissionMode, allowDangerouslySkipPermis
4057
4068
  }
4058
4069
  }
4059
4070
  if ((permissionMode === "bypassPermissions" || allowDangerouslySkipPermissions) && !hasSkipDangerousModePermissionPrompt()) {
4060
- const { BypassPermissionsModeDialog } = await import("./chunk-0qz705wz.js");
4071
+ const { BypassPermissionsModeDialog } = await import("./chunk-3816xd5p.js");
4061
4072
  await showSetupDialog(root, (done) => /* @__PURE__ */ jsx_dev_runtime6.jsxDEV(BypassPermissionsModeDialog, {
4062
4073
  onAccept: done
4063
4074
  }, undefined, false, undefined, this));
4064
4075
  }
4065
- if (false) {}
4076
+ if (true) {
4077
+ if (permissionMode === "auto" && !hasAutoModeOptIn()) {
4078
+ const { AutoModeOptInDialog } = await import("./chunk-jba8f3hz.js");
4079
+ await showSetupDialog(root, (done) => /* @__PURE__ */ jsx_dev_runtime6.jsxDEV(AutoModeOptInDialog, {
4080
+ onAccept: done,
4081
+ onDecline: () => gracefulShutdownSync(1),
4082
+ declineExits: true
4083
+ }, undefined, false, undefined, this));
4084
+ }
4085
+ }
4066
4086
  if (false) {}
4067
4087
  if (claudeInChrome && !getGlobalConfig().hasCompletedClaudeInChromeOnboarding) {
4068
- const { ClaudeInChromeOnboarding } = await import("./chunk-zc6dxhk9.js");
4088
+ const { ClaudeInChromeOnboarding } = await import("./chunk-0qsm7jac.js");
4069
4089
  await showSetupDialog(root, (done) => /* @__PURE__ */ jsx_dev_runtime6.jsxDEV(ClaudeInChromeOnboarding, {
4070
4090
  onDone: done
4071
4091
  }, undefined, false, undefined, this));
@@ -4126,7 +4146,7 @@ function getRenderContext(exitOnCtrlC) {
4126
4146
  init_KeybindingProviderSetup();
4127
4147
  var jsx_dev_runtime7 = __toESM(require_jsx_dev_runtime(), 1);
4128
4148
  async function launchInvalidSettingsDialog(root, props) {
4129
- const { InvalidSettingsDialog } = await import("./chunk-an6z4rzv.js");
4149
+ const { InvalidSettingsDialog } = await import("./chunk-8qxyxgkb.js");
4130
4150
  return showSetupDialog(root, (done) => /* @__PURE__ */ jsx_dev_runtime7.jsxDEV(InvalidSettingsDialog, {
4131
4151
  settingsErrors: props.settingsErrors,
4132
4152
  onContinue: done,
@@ -4134,7 +4154,7 @@ async function launchInvalidSettingsDialog(root, props) {
4134
4154
  }, undefined, false, undefined, this));
4135
4155
  }
4136
4156
  async function launchTeleportResumeWrapper(root) {
4137
- const { TeleportResumeWrapper } = await import("./chunk-cxhvyf7c.js");
4157
+ const { TeleportResumeWrapper } = await import("./chunk-3ygnhge8.js");
4138
4158
  return showSetupDialog(root, (done) => /* @__PURE__ */ jsx_dev_runtime7.jsxDEV(TeleportResumeWrapper, {
4139
4159
  onComplete: done,
4140
4160
  onCancel: () => done(null),
@@ -4142,7 +4162,7 @@ async function launchTeleportResumeWrapper(root) {
4142
4162
  }, undefined, false, undefined, this));
4143
4163
  }
4144
4164
  async function launchTeleportRepoMismatchDialog(root, props) {
4145
- const { TeleportRepoMismatchDialog } = await import("./chunk-qd9ntz7c.js");
4165
+ const { TeleportRepoMismatchDialog } = await import("./chunk-xed18bb5.js");
4146
4166
  return showSetupDialog(root, (done) => /* @__PURE__ */ jsx_dev_runtime7.jsxDEV(TeleportRepoMismatchDialog, {
4147
4167
  targetRepo: props.targetRepo,
4148
4168
  initialPaths: props.initialPaths,
@@ -4153,8 +4173,8 @@ async function launchTeleportRepoMismatchDialog(root, props) {
4153
4173
  async function launchResumeChooser(root, appProps, worktreePathsPromise, resumeProps) {
4154
4174
  const [worktreePaths, { ResumeConversation }, { App }] = await Promise.all([
4155
4175
  worktreePathsPromise,
4156
- import("./chunk-9pm2d2gv.js"),
4157
- import("./chunk-b9ndqcdv.js")
4176
+ import("./chunk-08g51x43.js"),
4177
+ import("./chunk-xrzrbw0f.js")
4158
4178
  ]);
4159
4179
  await renderAndRun(root, /* @__PURE__ */ jsx_dev_runtime7.jsxDEV(App, {
4160
4180
  getFpsMetrics: appProps.getFpsMetrics,
@@ -6889,6 +6909,31 @@ init_config2();
6889
6909
  init_log();
6890
6910
  init_permissionSetup();
6891
6911
  init_settings2();
6912
+ function resetAutoModeOptInForDefaultOffer() {
6913
+ if (true) {
6914
+ const config = getGlobalConfig();
6915
+ if (config.hasResetAutoModeOptInForDefaultOffer)
6916
+ return;
6917
+ if (getAutoModeEnabledState() !== "enabled")
6918
+ return;
6919
+ try {
6920
+ const user = getSettingsForSource("userSettings");
6921
+ if (user?.skipAutoPermissionPrompt && user?.permissions?.defaultMode !== "auto") {
6922
+ updateSettingsForSource("userSettings", {
6923
+ skipAutoPermissionPrompt: undefined
6924
+ });
6925
+ logEvent("tengu_migrate_reset_auto_opt_in_for_default_offer", {});
6926
+ }
6927
+ saveGlobalConfig((c) => {
6928
+ if (c.hasResetAutoModeOptInForDefaultOffer)
6929
+ return c;
6930
+ return { ...c, hasResetAutoModeOptInForDefaultOffer: true };
6931
+ });
6932
+ } catch (error) {
6933
+ logError(new Error(`Failed to reset auto mode opt-in: ${error}`));
6934
+ }
6935
+ }
6936
+ }
6892
6937
 
6893
6938
  // src/migrations/resetProToOpusDefault.ts
6894
6939
  init_analytics();
@@ -6971,6 +7016,7 @@ var getTeammateUtils = () => (init_teammate(), __toCommonJS(exports_teammate));
6971
7016
  var getTeammatePromptAddendum = () => (init_teammatePromptAddendum(), __toCommonJS(exports_teammatePromptAddendum));
6972
7017
  var getTeammateModeSnapshot = () => (init_teammateModeSnapshot(), __toCommonJS(exports_teammateModeSnapshot));
6973
7018
  var coordinatorModeModule = null;
7019
+ var autoModeStateModule = (init_autoModeState(), __toCommonJS(exports_autoModeState));
6974
7020
  profileCheckpoint("main_tsx_imports_loaded");
6975
7021
  function logManagedSettings() {
6976
7022
  try {
@@ -7040,7 +7086,9 @@ function runMigrations() {
7040
7086
  migrateSonnet45ToSonnet46();
7041
7087
  migrateOpusToOpus1m();
7042
7088
  migrateReplBridgeEnabledToRemoteControlAtStartup();
7043
- if (false) {}
7089
+ if (true) {
7090
+ resetAutoModeOptInForDefaultOffer();
7091
+ }
7044
7092
  if (process.env.USER_TYPE === "ant") {
7045
7093
  migrateFennecToOpus();
7046
7094
  }
@@ -7190,17 +7238,17 @@ async function main() {
7190
7238
  if (true) {
7191
7239
  const handleUriIdx = process.argv.indexOf("--handle-uri");
7192
7240
  if (handleUriIdx !== -1 && process.argv[handleUriIdx + 1]) {
7193
- const { enableConfigs: enableConfigs2 } = await import("./chunk-ht1nfygk.js");
7241
+ const { enableConfigs: enableConfigs2 } = await import("./chunk-6rxz872v.js");
7194
7242
  enableConfigs2();
7195
7243
  const uri = process.argv[handleUriIdx + 1];
7196
- const { handleDeepLinkUri } = await import("./chunk-7ns74x0q.js");
7244
+ const { handleDeepLinkUri } = await import("./chunk-2wq8q15s.js");
7197
7245
  const exitCode = await handleDeepLinkUri(uri);
7198
7246
  process.exit(exitCode);
7199
7247
  }
7200
7248
  if (process.platform === "darwin" && process.env.__CFBundleIdentifier === "com.anthropic.claude-code-url-handler") {
7201
- const { enableConfigs: enableConfigs2 } = await import("./chunk-ht1nfygk.js");
7249
+ const { enableConfigs: enableConfigs2 } = await import("./chunk-6rxz872v.js");
7202
7250
  enableConfigs2();
7203
- const { handleUrlSchemeLaunch } = await import("./chunk-7ns74x0q.js");
7251
+ const { handleUrlSchemeLaunch } = await import("./chunk-2wq8q15s.js");
7204
7252
  const urlSchemeResult = await handleUrlSchemeLaunch();
7205
7253
  process.exit(urlSchemeResult ?? 1);
7206
7254
  }
@@ -7299,7 +7347,7 @@ async function run() {
7299
7347
  if (!isEnvTruthy(process.env.CLAUDE_CODE_DISABLE_TERMINAL_TITLE)) {
7300
7348
  process.title = "claude";
7301
7349
  }
7302
- const { initSinks } = await import("./chunk-559yvwh1.js");
7350
+ const { initSinks } = await import("./chunk-a0bz6g5e.js");
7303
7351
  initSinks();
7304
7352
  profileCheckpoint("preAction_after_sinks");
7305
7353
  const pluginDir = thisCommand.getOptionValue("pluginDir");
@@ -7577,7 +7625,11 @@ ${addendum}` : addendum;
7577
7625
  dangerouslySkipPermissions
7578
7626
  });
7579
7627
  setSessionBypassPermissionsMode(permissionMode === "bypassPermissions");
7580
- if (false) {}
7628
+ if (true) {
7629
+ if (options.enableAutoMode || permissionModeCli === "auto" || permissionMode === "auto" || !permissionModeCli && isDefaultPermissionModeAuto()) {
7630
+ autoModeStateModule?.setAutoModeFlagCli(true);
7631
+ }
7632
+ }
7581
7633
  let dynamicMcpConfig = {};
7582
7634
  if (mcpConfig && mcpConfig.length > 0) {
7583
7635
  const processedConfigs = mcpConfig.map((config) => config.trim()).filter((config) => config.length > 0);
@@ -7722,9 +7774,9 @@ ${hint}` : hint;
7722
7774
  }
7723
7775
  if (getPlatform() !== "unknown" && !getIsNonInteractiveSession()) {
7724
7776
  try {
7725
- const { getChicagoEnabled } = await import("./chunk-njrz6mbe.js");
7777
+ const { getChicagoEnabled } = await import("./chunk-0pryepme.js");
7726
7778
  if (getChicagoEnabled()) {
7727
- const { setupComputerUseMCP } = await import("./chunk-15y014gg.js");
7779
+ const { setupComputerUseMCP } = await import("./chunk-y5z1cjbk.js");
7728
7780
  const { mcpConfig: mcpConfig2, allowedTools: cuTools } = setupComputerUseMCP();
7729
7781
  dynamicMcpConfig = {
7730
7782
  ...dynamicMcpConfig,
@@ -7767,7 +7819,9 @@ ${hint}` : hint;
7767
7819
  }
7768
7820
  toolPermissionContext = removeDangerousPermissions(toolPermissionContext, overlyBroadBashPermissions);
7769
7821
  }
7770
- if (false) {}
7822
+ if (dangerousPermissions.length > 0) {
7823
+ toolPermissionContext = stripDangerousPermissionsForAutoMode(toolPermissionContext);
7824
+ }
7771
7825
  warnings.forEach((warning) => {
7772
7826
  console.error(warning);
7773
7827
  });
@@ -7846,7 +7900,7 @@ ${hint}` : hint;
7846
7900
  profileCheckpoint("action_before_setup");
7847
7901
  logForDebugging("[STARTUP] Running setup()...");
7848
7902
  const setupStart = Date.now();
7849
- const { setup } = await import("./chunk-1mh5vt6v.js");
7903
+ const { setup } = await import("./chunk-81v55vtd.js");
7850
7904
  const messagingSocketPath = undefined;
7851
7905
  const preSetupCwd = getCwd();
7852
7906
  if (process.env.CLAUDE_CODE_ENTRYPOINT !== "local-agent") {
@@ -8032,7 +8086,16 @@ ${customInstructions}` : customInstructions;
8032
8086
  const setupScreensStart = Date.now();
8033
8087
  const onboardingShown = await showSetupScreens(root, permissionMode, allowDangerouslySkipPermissions, commands, enableClaudeInChrome, devChannels);
8034
8088
  logForDebugging(`[STARTUP] showSetupScreens() completed in ${Date.now() - setupScreensStart}ms`);
8035
- if (false) {}
8089
+ if (remoteControlOption !== undefined) {
8090
+ const { getBridgeDisabledReason } = await import("./chunk-73a5g713.js");
8091
+ const disabledReason = await getBridgeDisabledReason();
8092
+ remoteControl = disabledReason === null;
8093
+ if (disabledReason) {
8094
+ process.stderr.write(source_default.yellow(`${disabledReason}
8095
+ --rc flag ignored.
8096
+ `));
8097
+ }
8098
+ }
8036
8099
  if (false) {}
8037
8100
  if (onboardingShown && prompt?.trim().toLowerCase() === "/login") {
8038
8101
  prompt = "";
@@ -8042,7 +8105,7 @@ ${customInstructions}` : customInstructions;
8042
8105
  refreshPolicyLimits();
8043
8106
  resetUserCache();
8044
8107
  refreshGrowthBookAfterAuthChange();
8045
- import("./chunk-7tdcwje9.js").then((m) => {
8108
+ import("./chunk-1tjnmcw7.js").then((m) => {
8046
8109
  m.clearTrustedDeviceToken();
8047
8110
  return m.enrollTrustedDevice();
8048
8111
  });
@@ -8259,7 +8322,16 @@ ${customInstructions}` : customInstructions;
8259
8322
  if (toolPermissionContext.mode === "bypassPermissions" || allowDangerouslySkipPermissions) {
8260
8323
  checkAndDisableBypassPermissions(toolPermissionContext);
8261
8324
  }
8262
- if (false) {}
8325
+ if (true) {
8326
+ verifyAutoModeGateAccess(toolPermissionContext, headlessStore.getState().fastMode).then(({ updateContext }) => {
8327
+ headlessStore.setState((prev) => {
8328
+ const nextCtx = updateContext(prev.toolPermissionContext);
8329
+ if (nextCtx === prev.toolPermissionContext)
8330
+ return prev;
8331
+ return { ...prev, toolPermissionContext: nextCtx };
8332
+ });
8333
+ });
8334
+ }
8263
8335
  if (options.sessionPersistence === false) {
8264
8336
  setSessionPersistenceDisabled(true);
8265
8337
  }
@@ -8366,14 +8438,14 @@ ${customInstructions}` : customInstructions;
8366
8438
  profileCheckpoint("after_connectMcp_claudeai");
8367
8439
  if (!isBareMode()) {
8368
8440
  startDeferredPrefetches();
8369
- import("./chunk-j7pbwf9x.js").then((m) => m.startBackgroundHousekeeping());
8441
+ import("./chunk-e396ak46.js").then((m) => m.startBackgroundHousekeeping());
8370
8442
  if (process.env.USER_TYPE === "ant") {
8371
8443
  import("./chunk-3nk79af8.js").then((m) => m.startSdkMemoryMonitor());
8372
8444
  }
8373
8445
  }
8374
8446
  logSessionTelemetry();
8375
8447
  profileCheckpoint("before_print_import");
8376
- const { runHeadless } = await import("./chunk-bf1j3azq.js");
8448
+ const { runHeadless } = await import("./chunk-e3c32vwa.js");
8377
8449
  profileCheckpoint("after_print_import");
8378
8450
  runHeadless(inputPrompt, () => headlessStore.getState(), headlessStore.setState, commandsHeadless, tools, sdkMcpConfigs, agentDefinitions.activeAgents, {
8379
8451
  continue: options.continue,
@@ -8600,7 +8672,7 @@ ${customInstructions}` : customInstructions;
8600
8672
  let resumeSucceeded = false;
8601
8673
  try {
8602
8674
  const resumeStart = performance.now();
8603
- const { clearSessionCaches } = await import("./chunk-ffhejx56.js");
8675
+ const { clearSessionCaches } = await import("./chunk-9sr2etaw.js");
8604
8676
  clearSessionCaches();
8605
8677
  const result = await loadConversationForResume(undefined, undefined);
8606
8678
  if (!result) {
@@ -8647,7 +8719,7 @@ ${customInstructions}` : customInstructions;
8647
8719
  process.exit(1);
8648
8720
  }
8649
8721
  } else if (false) {} else if (false) {} else if (false) {} else if (options.resume || options.fromPr || teleport || remote !== null) {
8650
- const { clearSessionCaches } = await import("./chunk-ffhejx56.js");
8722
+ const { clearSessionCaches } = await import("./chunk-9sr2etaw.js");
8651
8723
  clearSessionCaches();
8652
8724
  let messages = null;
8653
8725
  let processedResume;
@@ -8722,7 +8794,7 @@ Usage: claude --remote "your task description"`, () => gracefulShutdown(1));
8722
8794
  logError(toError(error));
8723
8795
  return await exitWithError(root, `Error: ${errorMessage(error) || "Failed to authenticate"}`, () => gracefulShutdown(1));
8724
8796
  }
8725
- const { getClaudeAIOAuthTokens: getTokensForRemote } = await import("./chunk-a3k4w4cm.js");
8797
+ const { getClaudeAIOAuthTokens: getTokensForRemote } = await import("./chunk-37y42ayh.js");
8726
8798
  const getAccessTokenForRemote = () => getTokensForRemote()?.accessToken ?? apiCreds.accessToken;
8727
8799
  const remoteSessionConfig = createRemoteSessionConfig(createdSession.id, getAccessTokenForRemote, apiCreds.orgUUID, hasInitialPrompt);
8728
8800
  const remoteSessionUrl = `${getRemoteSessionUrl(createdSession.id)}?m=0`;
@@ -8795,7 +8867,7 @@ Usage: claude --remote "your task description"`, () => gracefulShutdown(1));
8795
8867
  `));
8796
8868
  }
8797
8869
  await validateGitState();
8798
- const { teleportWithProgress } = await import("./chunk-99pmbfqp.js");
8870
+ const { teleportWithProgress } = await import("./chunk-ycwdzwz5.js");
8799
8871
  const result = await teleportWithProgress(root, teleport);
8800
8872
  setTeleportedSessionInfo({ sessionId: teleport });
8801
8873
  messages = result.messages;
@@ -9017,7 +9089,9 @@ Usage: claude --remote "your task description"`, () => gracefulShutdown(1));
9017
9089
  program2.addOption(new Option("--tasks [id]", '[ANT-ONLY] Tasks mode: watch for tasks and auto-process them. Optional id is used as both the task list ID and agent ID (defaults to "tasklist").').argParser(String).hideHelp());
9018
9090
  program2.option("--agent-teams", "[ANT-ONLY] Force Claude to use multi-agent mode for solving problems", () => true);
9019
9091
  }
9020
- if (false) {}
9092
+ if (true) {
9093
+ program2.addOption(new Option("--enable-auto-mode", "Opt in to auto mode").hideHelp());
9094
+ }
9021
9095
  if (false) {}
9022
9096
  if (false) {}
9023
9097
  if (true) {
@@ -9036,7 +9110,10 @@ Usage: claude --remote "your task description"`, () => gracefulShutdown(1));
9036
9110
  program2.addOption(new Option("--sdk-url <url>", "Use remote WebSocket endpoint for SDK I/O streaming (only with -p and stream-json format)").hideHelp());
9037
9111
  program2.addOption(new Option("--teleport [session]", "Resume a teleport session, optionally specify session ID").hideHelp());
9038
9112
  program2.addOption(new Option("--remote [description]", "Create a remote session with the given description").hideHelp());
9039
- if (false) {}
9113
+ if (true) {
9114
+ program2.addOption(new Option("--remote-control [name]", "Start an interactive session with Remote Control enabled (optionally named)").argParser((value) => value || true).hideHelp());
9115
+ program2.addOption(new Option("--rc [name]", "Alias for --remote-control").argParser((value) => value || true).hideHelp());
9116
+ }
9040
9117
  if (false) {}
9041
9118
  profileCheckpoint("run_main_options_built");
9042
9119
  const isPrintMode = process.argv.includes("-p") || process.argv.includes("--print");
@@ -9052,7 +9129,7 @@ Usage: claude --remote "your task description"`, () => gracefulShutdown(1));
9052
9129
  debug,
9053
9130
  verbose
9054
9131
  }) => {
9055
- const { mcpServeHandler } = await import("./chunk-gnmdprq3.js");
9132
+ const { mcpServeHandler } = await import("./chunk-3avfhw6x.js");
9056
9133
  await mcpServeHandler({ debug, verbose });
9057
9134
  });
9058
9135
  registerMcpAddCommand(mcp);
@@ -9060,27 +9137,27 @@ Usage: claude --remote "your task description"`, () => gracefulShutdown(1));
9060
9137
  registerMcpXaaIdpCommand(mcp);
9061
9138
  }
9062
9139
  mcp.command("remove <name>").description("Remove an MCP server").option("-s, --scope <scope>", "Configuration scope (local, user, or project) - if not specified, removes from whichever scope it exists in").action(async (name, options) => {
9063
- const { mcpRemoveHandler } = await import("./chunk-gnmdprq3.js");
9140
+ const { mcpRemoveHandler } = await import("./chunk-3avfhw6x.js");
9064
9141
  await mcpRemoveHandler(name, options);
9065
9142
  });
9066
9143
  mcp.command("list").description("List configured MCP servers. Note: The workspace trust dialog is skipped and stdio servers from .mcp.json are spawned for health checks. Only use this command in directories you trust.").action(async () => {
9067
- const { mcpListHandler } = await import("./chunk-gnmdprq3.js");
9144
+ const { mcpListHandler } = await import("./chunk-3avfhw6x.js");
9068
9145
  await mcpListHandler();
9069
9146
  });
9070
9147
  mcp.command("get <name>").description("Get details about an MCP server. Note: The workspace trust dialog is skipped and stdio servers from .mcp.json are spawned for health checks. Only use this command in directories you trust.").action(async (name) => {
9071
- const { mcpGetHandler } = await import("./chunk-gnmdprq3.js");
9148
+ const { mcpGetHandler } = await import("./chunk-3avfhw6x.js");
9072
9149
  await mcpGetHandler(name);
9073
9150
  });
9074
9151
  mcp.command("add-json <name> <json>").description("Add an MCP server (stdio or SSE) with a JSON string").option("-s, --scope <scope>", "Configuration scope (local, user, or project)", "local").option("--client-secret", "Prompt for OAuth client secret (or set MCP_CLIENT_SECRET env var)").action(async (name, json, options) => {
9075
- const { mcpAddJsonHandler } = await import("./chunk-gnmdprq3.js");
9152
+ const { mcpAddJsonHandler } = await import("./chunk-3avfhw6x.js");
9076
9153
  await mcpAddJsonHandler(name, json, options);
9077
9154
  });
9078
9155
  mcp.command("add-from-claude-desktop").description("Import MCP servers from Claude Desktop (Mac and WSL only)").option("-s, --scope <scope>", "Configuration scope (local, user, or project)", "local").action(async (options) => {
9079
- const { mcpAddFromDesktopHandler } = await import("./chunk-gnmdprq3.js");
9156
+ const { mcpAddFromDesktopHandler } = await import("./chunk-3avfhw6x.js");
9080
9157
  await mcpAddFromDesktopHandler(options);
9081
9158
  });
9082
9159
  mcp.command("reset-project-choices").description("Reset all approved and rejected project-scoped (.mcp.json) servers within this project").action(async () => {
9083
- const { mcpResetChoicesHandler } = await import("./chunk-gnmdprq3.js");
9160
+ const { mcpResetChoicesHandler } = await import("./chunk-3avfhw6x.js");
9084
9161
  await mcpResetChoicesHandler();
9085
9162
  });
9086
9163
  if (false) {}
@@ -9093,83 +9170,107 @@ Usage: claude --remote "your task description"`, () => gracefulShutdown(1));
9093
9170
  console: useConsole,
9094
9171
  claudeai
9095
9172
  }) => {
9096
- const { authLogin } = await import("./chunk-rp568bfw.js");
9173
+ const { authLogin } = await import("./chunk-z735r3p2.js");
9097
9174
  await authLogin({ email, sso, console: useConsole, claudeai });
9098
9175
  });
9099
9176
  auth.command("status").description("Show authentication status").option("--json", "Output as JSON (default)").option("--text", "Output as human-readable text").action(async (opts) => {
9100
- const { authStatus } = await import("./chunk-rp568bfw.js");
9177
+ const { authStatus } = await import("./chunk-z735r3p2.js");
9101
9178
  await authStatus(opts);
9102
9179
  });
9103
9180
  auth.command("logout").description("Log out from your Anthropic account").action(async () => {
9104
- const { authLogout } = await import("./chunk-rp568bfw.js");
9181
+ const { authLogout } = await import("./chunk-z735r3p2.js");
9105
9182
  await authLogout();
9106
9183
  });
9107
9184
  const coworkOption = () => new Option("--cowork", "Use cowork_plugins directory").hideHelp();
9108
9185
  const pluginCmd = program2.command("plugin").alias("plugins").description("Manage Claude Code plugins").configureHelp(createSortedHelpConfig());
9109
9186
  pluginCmd.command("validate <path>").description("Validate a plugin or marketplace manifest").addOption(coworkOption()).action(async (manifestPath, options) => {
9110
- const { pluginValidateHandler } = await import("./chunk-zptcqa7t.js");
9187
+ const { pluginValidateHandler } = await import("./chunk-dqgzpb0q.js");
9111
9188
  await pluginValidateHandler(manifestPath, options);
9112
9189
  });
9113
9190
  pluginCmd.command("list").description("List installed plugins").option("--json", "Output as JSON").option("--available", "Include available plugins from marketplaces (requires --json)").addOption(coworkOption()).action(async (options) => {
9114
- const { pluginListHandler } = await import("./chunk-zptcqa7t.js");
9191
+ const { pluginListHandler } = await import("./chunk-dqgzpb0q.js");
9115
9192
  await pluginListHandler(options);
9116
9193
  });
9117
9194
  const marketplaceCmd = pluginCmd.command("marketplace").description("Manage Claude Code marketplaces").configureHelp(createSortedHelpConfig());
9118
9195
  marketplaceCmd.command("add <source>").description("Add a marketplace from a URL, path, or GitHub repo").addOption(coworkOption()).option("--sparse <paths...>", "Limit checkout to specific directories via git sparse-checkout (for monorepos). Example: --sparse .claude-plugin plugins").option("--scope <scope>", "Where to declare the marketplace: user (default), project, or local").action(async (source, options) => {
9119
- const { marketplaceAddHandler } = await import("./chunk-zptcqa7t.js");
9196
+ const { marketplaceAddHandler } = await import("./chunk-dqgzpb0q.js");
9120
9197
  await marketplaceAddHandler(source, options);
9121
9198
  });
9122
9199
  marketplaceCmd.command("list").description("List all configured marketplaces").option("--json", "Output as JSON").addOption(coworkOption()).action(async (options) => {
9123
- const { marketplaceListHandler } = await import("./chunk-zptcqa7t.js");
9200
+ const { marketplaceListHandler } = await import("./chunk-dqgzpb0q.js");
9124
9201
  await marketplaceListHandler(options);
9125
9202
  });
9126
9203
  marketplaceCmd.command("remove <name>").alias("rm").description("Remove a configured marketplace").addOption(coworkOption()).action(async (name, options) => {
9127
- const { marketplaceRemoveHandler } = await import("./chunk-zptcqa7t.js");
9204
+ const { marketplaceRemoveHandler } = await import("./chunk-dqgzpb0q.js");
9128
9205
  await marketplaceRemoveHandler(name, options);
9129
9206
  });
9130
9207
  marketplaceCmd.command("update [name]").description("Update marketplace(s) from their source - updates all if no name specified").addOption(coworkOption()).action(async (name, options) => {
9131
- const { marketplaceUpdateHandler } = await import("./chunk-zptcqa7t.js");
9208
+ const { marketplaceUpdateHandler } = await import("./chunk-dqgzpb0q.js");
9132
9209
  await marketplaceUpdateHandler(name, options);
9133
9210
  });
9134
9211
  pluginCmd.command("install <plugin>").alias("i").description("Install a plugin from available marketplaces (use plugin@marketplace for specific marketplace)").option("-s, --scope <scope>", "Installation scope: user, project, or local", "user").addOption(coworkOption()).action(async (plugin, options) => {
9135
- const { pluginInstallHandler } = await import("./chunk-zptcqa7t.js");
9212
+ const { pluginInstallHandler } = await import("./chunk-dqgzpb0q.js");
9136
9213
  await pluginInstallHandler(plugin, options);
9137
9214
  });
9138
9215
  pluginCmd.command("uninstall <plugin>").alias("remove").alias("rm").description("Uninstall an installed plugin").option("-s, --scope <scope>", "Uninstall from scope: user, project, or local", "user").option("--keep-data", "Preserve the plugin's persistent data directory (~/.claude/plugins/data/{id}/)").addOption(coworkOption()).action(async (plugin, options) => {
9139
- const { pluginUninstallHandler } = await import("./chunk-zptcqa7t.js");
9216
+ const { pluginUninstallHandler } = await import("./chunk-dqgzpb0q.js");
9140
9217
  await pluginUninstallHandler(plugin, options);
9141
9218
  });
9142
9219
  pluginCmd.command("enable <plugin>").description("Enable a disabled plugin").option("-s, --scope <scope>", `Installation scope: ${VALID_INSTALLABLE_SCOPES.join(", ")} (default: auto-detect)`).addOption(coworkOption()).action(async (plugin, options) => {
9143
- const { pluginEnableHandler } = await import("./chunk-zptcqa7t.js");
9220
+ const { pluginEnableHandler } = await import("./chunk-dqgzpb0q.js");
9144
9221
  await pluginEnableHandler(plugin, options);
9145
9222
  });
9146
9223
  pluginCmd.command("disable [plugin]").description("Disable an enabled plugin").option("-a, --all", "Disable all enabled plugins").option("-s, --scope <scope>", `Installation scope: ${VALID_INSTALLABLE_SCOPES.join(", ")} (default: auto-detect)`).addOption(coworkOption()).action(async (plugin, options) => {
9147
- const { pluginDisableHandler } = await import("./chunk-zptcqa7t.js");
9224
+ const { pluginDisableHandler } = await import("./chunk-dqgzpb0q.js");
9148
9225
  await pluginDisableHandler(plugin, options);
9149
9226
  });
9150
9227
  pluginCmd.command("update <plugin>").description("Update a plugin to the latest version (restart required to apply)").option("-s, --scope <scope>", `Installation scope: ${VALID_UPDATE_SCOPES.join(", ")} (default: user)`).addOption(coworkOption()).action(async (plugin, options) => {
9151
- const { pluginUpdateHandler } = await import("./chunk-zptcqa7t.js");
9228
+ const { pluginUpdateHandler } = await import("./chunk-dqgzpb0q.js");
9152
9229
  await pluginUpdateHandler(plugin, options);
9153
9230
  });
9154
9231
  program2.command("setup-token").description("Set up a long-lived authentication token (requires Claude subscription)").action(async () => {
9155
9232
  const [{ setupTokenHandler }, { createRoot }] = await Promise.all([
9156
- import("./chunk-548g1d6z.js"),
9233
+ import("./chunk-z6zt2ns7.js"),
9157
9234
  import("./chunk-cqjmxeqv.js")
9158
9235
  ]);
9159
9236
  const root = await createRoot(getBaseRenderOptions(false));
9160
9237
  await setupTokenHandler(root);
9161
9238
  });
9162
9239
  program2.command("agents").description("List configured agents").option("--setting-sources <sources>", "Comma-separated list of setting sources to load (user, project, local).").action(async () => {
9163
- const { agentsHandler } = await import("./chunk-7f1ggjr2.js");
9240
+ const { agentsHandler } = await import("./chunk-q78bgdtk.js");
9164
9241
  await agentsHandler();
9165
9242
  process.exit(0);
9166
9243
  });
9167
- if (false) {}
9168
- if (false) {}
9244
+ if (true) {
9245
+ if (getAutoModeEnabledStateIfCached() !== "disabled") {
9246
+ const autoModeCmd = program2.command("auto-mode").description("Inspect auto mode classifier configuration");
9247
+ autoModeCmd.command("defaults").description("Print the default auto mode environment, allow, and deny rules as JSON").action(async () => {
9248
+ const { autoModeDefaultsHandler } = await import("./chunk-wa1dpga1.js");
9249
+ autoModeDefaultsHandler();
9250
+ process.exit(0);
9251
+ });
9252
+ autoModeCmd.command("config").description("Print the effective auto mode config as JSON: your settings where set, defaults otherwise").action(async () => {
9253
+ const { autoModeConfigHandler } = await import("./chunk-wa1dpga1.js");
9254
+ autoModeConfigHandler();
9255
+ process.exit(0);
9256
+ });
9257
+ autoModeCmd.command("critique").description("Get AI feedback on your custom auto mode rules").option("--model <model>", "Override which model is used").action(async (options) => {
9258
+ const { autoModeCritiqueHandler } = await import("./chunk-wa1dpga1.js");
9259
+ await autoModeCritiqueHandler(options);
9260
+ process.exit();
9261
+ });
9262
+ }
9263
+ }
9264
+ if (true) {
9265
+ program2.command("remote-control", { hidden: true }).alias("rc").description("Connect your local environment for remote-control sessions via claude.ai/code").action(async () => {
9266
+ const { bridgeMain } = await import("./chunk-31q6p2ke.js");
9267
+ await bridgeMain(process.argv.slice(3));
9268
+ });
9269
+ }
9169
9270
  if (false) {}
9170
9271
  program2.command("doctor").description("Check the health of your Claude Code auto-updater. Note: The workspace trust dialog is skipped and stdio servers from .mcp.json are spawned for health checks. Only use this command in directories you trust.").action(async () => {
9171
9272
  const [{ doctorHandler }, { createRoot }] = await Promise.all([
9172
- import("./chunk-548g1d6z.js"),
9273
+ import("./chunk-z6zt2ns7.js"),
9173
9274
  import("./chunk-cqjmxeqv.js")
9174
9275
  ]);
9175
9276
  const root = await createRoot(getBaseRenderOptions(false));
@@ -9193,7 +9294,7 @@ Examples:
9193
9294
  });
9194
9295
  }
9195
9296
  program2.command("install [target]").description("Install Claude Code native build. Use [target] to specify version (stable, latest, or specific version)").option("--force", "Force installation even if already installed").action(async (target, options) => {
9196
- const { installHandler } = await import("./chunk-548g1d6z.js");
9297
+ const { installHandler } = await import("./chunk-z6zt2ns7.js");
9197
9298
  await installHandler(target, options);
9198
9299
  });
9199
9300
  if (process.env.USER_TYPE === "ant") {