claude-code-best 1.1.0 → 1.2.0

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 (514) hide show
  1. package/README.md +66 -75
  2. package/dist/{chunk-q5b91nhh.js → chunk-01qzvbp3.js} +8 -2
  3. package/dist/{chunk-f9b4wb89.js → chunk-053bj0m0.js} +79 -73
  4. package/dist/chunk-05tt9tt1.js +653 -0
  5. package/dist/chunk-06sq1vz3.js +403 -0
  6. package/dist/chunk-07069jq1.js +30 -0
  7. package/dist/chunk-0dac8msw.js +135 -0
  8. package/dist/{chunk-m5eb5pt2.js → chunk-0ja0y3at.js} +6 -6
  9. package/dist/chunk-0jzdwbdc.js +14 -0
  10. package/dist/chunk-0nrq46nf.js +313 -0
  11. package/dist/chunk-0qz705wz.js +192 -0
  12. package/dist/{chunk-m94pnhfa.js → chunk-0rn4v8sg.js} +38 -28
  13. package/dist/{chunk-1cbn5kxf.js → chunk-0rpb2bdp.js} +3 -2
  14. package/dist/{chunk-zz21rvr7.js → chunk-127cmycn.js} +8 -5
  15. package/dist/chunk-12vk6z7z.js +109 -0
  16. package/dist/{chunk-vybkxr18.js → chunk-15y014gg.js} +41 -31
  17. package/dist/{chunk-44fpr6jq.js → chunk-168xb8v1.js} +4 -2
  18. package/dist/{chunk-8hsyagr8.js → chunk-16bnxyz0.js} +1 -1
  19. package/dist/{chunk-wsqhnjj3.js → chunk-1atfzck5.js} +24 -24
  20. package/dist/chunk-1cbhkqxg.js +310 -0
  21. package/dist/chunk-1csq8bf1.js +295 -0
  22. package/dist/{chunk-0e1xsncc.js → chunk-1cwdhk7a.js} +1 -1
  23. package/dist/{chunk-c8jv6rtj.js → chunk-1ebqpwhn.js} +74 -68
  24. package/dist/{chunk-vyd8jzde.js → chunk-1mh5vt6v.js} +91 -83
  25. package/dist/chunk-1qf125vg.js +123 -0
  26. package/dist/{chunk-ryj80g9p.js → chunk-1sp6713v.js} +131 -176
  27. package/dist/{chunk-d18z9pna.js → chunk-1thgdca1.js} +2 -2
  28. package/dist/chunk-1z1gfx2c.js +443 -0
  29. package/dist/{chunk-wc6wwwyb.js → chunk-21z7acxh.js} +3 -3
  30. package/dist/chunk-229pcf6p.js +509 -0
  31. package/dist/chunk-238g70xa.js +1 -1
  32. package/dist/{chunk-vpb723tx.js → chunk-23ad5t92.js} +5 -5
  33. package/dist/chunk-28043j1k.js +68 -0
  34. package/dist/chunk-299r6d9v.js +141 -0
  35. package/dist/{chunk-a6s8wnhe.js → chunk-2bw5nqsw.js} +4 -4
  36. package/dist/chunk-2mxstrx5.js +445 -0
  37. package/dist/{chunk-9g827w4j.js → chunk-2q39ej51.js} +6 -6
  38. package/dist/chunk-2qwgfjcj.js +5370 -0
  39. package/dist/chunk-2ss23j0q.js +3587 -0
  40. package/dist/{chunk-hy3g1nv8.js → chunk-2wvxddsg.js} +9 -7
  41. package/dist/chunk-2x2aznpc.js +134 -0
  42. package/dist/{chunk-bqq4zamw.js → chunk-2ys5wcxk.js} +3 -3
  43. package/dist/{chunk-x51h62jq.js → chunk-3cvcwgsr.js} +74 -68
  44. package/dist/{chunk-mecs0gpc.js → chunk-3xv7rjsy.js} +14 -11
  45. package/dist/chunk-42x5tjk2.js +42 -0
  46. package/dist/{chunk-q6rax9kh.js → chunk-436r0x2n.js} +5 -5
  47. package/dist/{chunk-zgrg0wk3.js → chunk-44q4jkwa.js} +27 -67
  48. package/dist/{chunk-zq9xa1xe.js → chunk-44w22kyx.js} +104 -139
  49. package/dist/{chunk-yhd82045.js → chunk-46fcr28b.js} +30 -9
  50. package/dist/{chunk-wm2f2f1z.js → chunk-474y75ga.js} +2 -2
  51. package/dist/{chunk-6fkwz9yk.js → chunk-478rpnqm.js} +8 -8
  52. package/dist/{chunk-rj86xm6z.js → chunk-48w0df8a.js} +1 -1
  53. package/dist/{chunk-v4t6dyyh.js → chunk-4cp6193g.js} +2 -2
  54. package/dist/chunk-4d0de73v.js +436 -0
  55. package/dist/chunk-4eecm90d.js +1030 -0
  56. package/dist/{chunk-q7tvkc86.js → chunk-4f4ccg1h.js} +10 -115
  57. package/dist/chunk-4h102wt5.js +65 -0
  58. package/dist/{chunk-3mgywd32.js → chunk-4hv90qcz.js} +1 -1
  59. package/dist/{chunk-bcrxtdcy.js → chunk-4jcqmf9w.js} +39 -29
  60. package/dist/{chunk-v8xem37v.js → chunk-4kk7vxed.js} +8 -6
  61. package/dist/chunk-4nspekjp.js +69 -0
  62. package/dist/chunk-4xmb7bvy.js +125 -0
  63. package/dist/{chunk-427m88ms.js → chunk-4xy0c1dz.js} +8 -8
  64. package/dist/{chunk-41mpwc8h.js → chunk-53c9gb9c.js} +19 -15
  65. package/dist/{chunk-bpts9jbq.js → chunk-53zsn91p.js} +39 -31
  66. package/dist/{chunk-t7cbhqd2.js → chunk-548g1d6z.js} +104 -119
  67. package/dist/chunk-559yvwh1.js +63 -0
  68. package/dist/chunk-5a6ahhvy.js +594 -0
  69. package/dist/{chunk-5tx8dsy0.js → chunk-5c6man70.js} +9531 -18004
  70. package/dist/chunk-5hb5ev7b.js +74 -0
  71. package/dist/{chunk-ggqx30m9.js → chunk-5z28bqne.js} +23 -311
  72. package/dist/{chunk-p7g7pf3f.js → chunk-61ahbn23.js} +8 -6
  73. package/dist/{chunk-0sb5scxx.js → chunk-652wnf1z.js} +5 -5
  74. package/dist/{chunk-7tqhx6dr.js → chunk-66jkaz3q.js} +109 -213
  75. package/dist/{chunk-q25bjaev.js → chunk-677as3nh.js} +2 -2
  76. package/dist/chunk-68ksfahx.js +386 -0
  77. package/dist/{chunk-xs0hwvpa.js → chunk-68pfxvxt.js} +14 -9
  78. package/dist/{chunk-epmheefa.js → chunk-69hys77v.js} +8 -8
  79. package/dist/{chunk-9g2ncq68.js → chunk-6ayqcq3h.js} +120 -127
  80. package/dist/chunk-6kpbgc5w.js +23 -0
  81. package/dist/chunk-6mpsxxsf.js +362 -0
  82. package/dist/chunk-6nze0g86.js +119 -0
  83. package/dist/{chunk-v1mgv1et.js → chunk-6p4cyhb3.js} +4 -3
  84. package/dist/{chunk-2w8633e3.js → chunk-6t62dbnb.js} +61 -100
  85. package/dist/chunk-6t87a3q6.js +2842 -0
  86. package/dist/{chunk-6mz58s8p.js → chunk-6xana182.js} +18 -14
  87. package/dist/{chunk-fpf4cgbt.js → chunk-7bfach0x.js} +9 -9
  88. package/dist/{chunk-n7158r58.js → chunk-7f1ggjr2.js} +75 -69
  89. package/dist/chunk-7fxjmmfw.js +1172 -0
  90. package/dist/{chunk-ckcagq32.js → chunk-7gqf9wej.js} +5 -5
  91. package/dist/{chunk-b1xt9jqg.js → chunk-7j3dkjqq.js} +15 -5
  92. package/dist/chunk-7ns74x0q.js +475 -0
  93. package/dist/{chunk-ghr4s9g6.js → chunk-7qmknpkq.js} +75 -69
  94. package/dist/chunk-7rzepn9c.js +83 -0
  95. package/dist/chunk-7tdcwje9.js +68 -0
  96. package/dist/{chunk-b4mnbry0.js → chunk-8201tnhf.js} +4 -4
  97. package/dist/{chunk-dv1wfr85.js → chunk-8225arm6.js} +5 -4
  98. package/dist/chunk-822wfv88.js +70 -0
  99. package/dist/chunk-837tm8ht.js +183 -0
  100. package/dist/chunk-8a2ajt5d.js +878 -0
  101. package/dist/{chunk-bj0rvnjw.js → chunk-8bymxfn4.js} +39 -29
  102. package/dist/chunk-8cwbzk7h.js +118 -0
  103. package/dist/chunk-8d0ev0m2.js +111 -0
  104. package/dist/{chunk-4pbx3g7s.js → chunk-8g747a8x.js} +1 -1
  105. package/dist/chunk-8kfwb79z.js +436 -0
  106. package/dist/{chunk-xyqr1cww.js → chunk-8me0yq6v.js} +12 -12
  107. package/dist/{chunk-k5gdea6r.js → chunk-8n8285ax.js} +78 -72
  108. package/dist/{chunk-sdj9b9wh.js → chunk-8pn8tvgg.js} +9 -154
  109. package/dist/{chunk-d7mx1phm.js → chunk-8qhr4n77.js} +61 -103
  110. package/dist/{chunk-7ejt5gqq.js → chunk-8s9bbk3r.js} +58 -45
  111. package/dist/{chunk-bmvb57qb.js → chunk-905d2hee.js} +5 -5
  112. package/dist/{chunk-fk06pejm.js → chunk-91xq5y4a.js} +9 -9
  113. package/dist/{chunk-ahjgghpe.js → chunk-93xsyzsp.js} +1 -1
  114. package/dist/chunk-99pmbfqp.js +230 -0
  115. package/dist/{chunk-cgn27dqf.js → chunk-9f14bkn9.js} +3 -3
  116. package/dist/{chunk-sa7nc0vv.js → chunk-9m78gjpd.js} +1 -1
  117. package/dist/{chunk-kq098bkj.js → chunk-9pm2d2gv.js} +245 -316
  118. package/dist/chunk-a136cvvz.js +27 -0
  119. package/dist/{chunk-n5t9m8h9.js → chunk-a1bjde7d.js} +7 -7
  120. package/dist/chunk-a2evk7n1.js +168 -0
  121. package/dist/{chunk-khdjg2v9.js → chunk-a3k4w4cm.js} +38 -28
  122. package/dist/chunk-a3mcc1sb.js +1403 -0
  123. package/dist/{chunk-8hq5kk3y.js → chunk-a4twdmhf.js} +3 -2
  124. package/dist/chunk-a8eaey19.js +66 -0
  125. package/dist/chunk-abkb5pw6.js +426 -0
  126. package/dist/chunk-ae76ded0.js +30 -0
  127. package/dist/{chunk-660kcy7p.js → chunk-agx5w9ce.js} +14 -8
  128. package/dist/chunk-ah46h8rp.js +70 -0
  129. package/dist/chunk-aj3azy6z.js +409 -0
  130. package/dist/chunk-an6z4rzv.js +158 -0
  131. package/dist/{chunk-r6b58y3x.js → chunk-ase86y73.js} +1 -3
  132. package/dist/{chunk-v0wa5ref.js → chunk-avfjb6pd.js} +13 -555
  133. package/dist/{chunk-5mrhhmas.js → chunk-az5x70pn.js} +8 -5
  134. package/dist/{chunk-49k5ktrj.js → chunk-b6rg3egp.js} +30 -15
  135. package/dist/chunk-b73r6ngr.js +125 -0
  136. package/dist/{chunk-8bedvdm1.js → chunk-b81hd3m6.js} +1 -1
  137. package/dist/{chunk-z7pr85qw.js → chunk-b9mhpc0v.js} +3 -3
  138. package/dist/chunk-b9ndqcdv.js +139 -0
  139. package/dist/{chunk-n5516f5q.js → chunk-bd8zk9tn.js} +4 -4
  140. package/dist/chunk-bdy6n17s.js +343 -0
  141. package/dist/{chunk-r55r29js.js → chunk-bf1j3azq.js} +131 -111
  142. package/dist/{chunk-83z0wrnz.js → chunk-bfcet2mw.js} +2 -2
  143. package/dist/{chunk-jy35mvy3.js → chunk-bmjmrk76.js} +7 -7
  144. package/dist/{chunk-2j0j79p0.js → chunk-bsj8e2mb.js} +8 -8
  145. package/dist/{chunk-snvypj85.js → chunk-bt64sq5y.js} +3 -2
  146. package/dist/{chunk-vyc0rjyx.js → chunk-bwg7582d.js} +1 -1
  147. package/dist/{chunk-3be7ka25.js → chunk-bxcfz5gy.js} +1 -1
  148. package/dist/{chunk-mvss16tj.js → chunk-c1k9tg7h.js} +289 -624
  149. package/dist/{chunk-crr52hf4.js → chunk-c5pxerks.js} +13 -11
  150. package/dist/chunk-c6sjhj89.js +1284 -0
  151. package/dist/{chunk-q6dpqj3z.js → chunk-c9q0phsg.js} +9 -6
  152. package/dist/chunk-caj0ab74.js +129 -0
  153. package/dist/{chunk-f64npa3b.js → chunk-chsyvavm.js} +704 -4
  154. package/dist/{chunk-dqh7e4mt.js → chunk-cjpt035a.js} +51 -41
  155. package/dist/{chunk-z8nbjar4.js → chunk-cmcbatgz.js} +7 -5
  156. package/dist/chunk-cnsj3vq2.js +35 -0
  157. package/dist/chunk-cqjmxeqv.js +269 -0
  158. package/dist/{chunk-bt9krt49.js → chunk-cvb1v08x.js} +38 -32
  159. package/dist/{chunk-j3215c49.js → chunk-cxhvyf7c.js} +227 -370
  160. package/dist/{chunk-24x87knx.js → chunk-cxx0e4nv.js} +1326 -2881
  161. package/dist/chunk-cy2hswr1.js +15 -0
  162. package/dist/{chunk-mwp7sj0q.js → chunk-cy6ezb6j.js} +115140 -121540
  163. package/dist/{chunk-ks0m9njy.js → chunk-d2jekryq.js} +8 -8
  164. package/dist/chunk-d4mdda98.js +94 -0
  165. package/dist/{chunk-33khw5gy.js → chunk-d6ve5pze.js} +7 -7
  166. package/dist/{chunk-26wtxbdc.js → chunk-d7886r6a.js} +6928 -6928
  167. package/dist/{chunk-9t1x831d.js → chunk-d83tmb5h.js} +82 -73
  168. package/dist/{chunk-g5sg6y9q.js → chunk-d8meetqc.js} +78 -71
  169. package/dist/{chunk-ra8fbt9p.js → chunk-d8r0q4ps.js} +537 -871
  170. package/dist/chunk-d95k8xkm.js +84 -0
  171. package/dist/chunk-dd4m7t1v.js +112 -0
  172. package/dist/{chunk-er9vzjac.js → chunk-dekbr08w.js} +16 -14
  173. package/dist/{chunk-cvge4pvp.js → chunk-dk8287aa.js} +1 -1
  174. package/dist/{chunk-9mfbqw9k.js → chunk-dm3n2qgd.js} +4 -4
  175. package/dist/{chunk-n6fbyke9.js → chunk-dmxte86x.js} +3 -3
  176. package/dist/{chunk-t24ytdcw.js → chunk-dqvwn28p.js} +12 -10
  177. package/dist/chunk-drkm8yx2.js +34 -0
  178. package/dist/{chunk-ptwn7qw7.js → chunk-dsbewdgm.js} +38 -10
  179. package/dist/{chunk-w7h2yphx.js → chunk-dwekpr47.js} +2 -2
  180. package/dist/{chunk-ks0dm6t3.js → chunk-e3299veq.js} +16 -70
  181. package/dist/{chunk-4x5ym4h2.js → chunk-e5hcyxae.js} +129 -15
  182. package/dist/chunk-e7h0nd5w.js +106 -0
  183. package/dist/{chunk-s2dmn3yg.js → chunk-eaemyebz.js} +5 -5
  184. package/dist/{chunk-cmdsbsb6.js → chunk-edzkkadh.js} +2 -2
  185. package/dist/chunk-em99fnet.js +128 -0
  186. package/dist/{chunk-hfzj1m07.js → chunk-epyaq1z0.js} +13 -4
  187. package/dist/{chunk-v9y80148.js → chunk-eqmkajs4.js} +96 -189
  188. package/dist/{chunk-cs6y2pc9.js → chunk-ergam9ft.js} +5 -5
  189. package/dist/chunk-es2fdse0.js +63 -0
  190. package/dist/{chunk-cenpqc2t.js → chunk-esn3tgm2.js} +8 -6
  191. package/dist/{chunk-qf2v384j.js → chunk-et8ybmt2.js} +9 -7
  192. package/dist/{chunk-aqa7w38f.js → chunk-ew9rp41b.js} +5 -5
  193. package/dist/{chunk-1yabrspp.js → chunk-ewx6xfzb.js} +2 -2
  194. package/dist/chunk-eyjtbtt0.js +137 -0
  195. package/dist/{chunk-rmbp2das.js → chunk-f0jd2p9n.js} +20 -18
  196. package/dist/{chunk-vzqrbsd1.js → chunk-f69rgsm2.js} +5 -5
  197. package/dist/{chunk-f3bapa1x.js → chunk-f6rbj3gz.js} +12 -7
  198. package/dist/chunk-fbhyqxdg.js +1182 -0
  199. package/dist/chunk-feyzykye.js +10 -0
  200. package/dist/chunk-ffhejx56.js +107 -0
  201. package/dist/{chunk-vbbf707n.js → chunk-fhx6nt2a.js} +38 -28
  202. package/dist/chunk-fkkysfev.js +158 -0
  203. package/dist/chunk-fn510gqw.js +216 -0
  204. package/dist/chunk-ftsg8bjm.js +117 -0
  205. package/dist/{chunk-t3bf8hcf.js → chunk-fyts9grb.js} +2 -2
  206. package/dist/{chunk-kd97kxjn.js → chunk-fz0ch109.js} +3 -2
  207. package/dist/{chunk-ye18m1zb.js → chunk-g1jarkx9.js} +38 -8
  208. package/dist/chunk-g9f19ttm.js +15 -0
  209. package/dist/chunk-g9qte35t.js +341 -0
  210. package/dist/chunk-gaav53dc.js +105 -0
  211. package/dist/chunk-gfx3cwrk.js +75 -0
  212. package/dist/{chunk-z9tgzh90.js → chunk-gk2d1x2a.js} +44 -33
  213. package/dist/chunk-gkbat1p9.js +121 -0
  214. package/dist/{chunk-5b7119h5.js → chunk-gmnyk2t8.js} +8 -6
  215. package/dist/{chunk-qvd0k5dn.js → chunk-gnmdprq3.js} +184 -345
  216. package/dist/{chunk-bq6x1ehp.js → chunk-gpz0ddyz.js} +8 -8
  217. package/dist/{chunk-684kdqez.js → chunk-gv1csnc3.js} +198 -302
  218. package/dist/{chunk-x51mdzqq.js → chunk-gv37c8ax.js} +3 -3
  219. package/dist/{chunk-t6h4wf3k.js → chunk-gzr2601k.js} +9 -9
  220. package/dist/{chunk-45e9mkyr.js → chunk-h3pda469.js} +37 -82
  221. package/dist/{chunk-qqfa0dqg.js → chunk-h4b85amj.js} +20 -32
  222. package/dist/{chunk-j4c8s7tn.js → chunk-h5zv78zq.js} +9 -6
  223. package/dist/{chunk-2wcbcdky.js → chunk-h7edytkc.js} +5 -5
  224. package/dist/{chunk-402jrnj6.js → chunk-ha0wbzc3.js} +8 -8
  225. package/dist/{chunk-nxsh6de2.js → chunk-hcgkak1j.js} +20 -125
  226. package/dist/{chunk-tjaqa99q.js → chunk-hezj20qy.js} +3 -3
  227. package/dist/{chunk-kyer92r4.js → chunk-hf85ht0m.js} +2 -2
  228. package/dist/{chunk-m17y8b22.js → chunk-ht1nfygk.js} +38 -28
  229. package/dist/chunk-j316jjby.js +108 -0
  230. package/dist/chunk-j3fge71v.js +115 -0
  231. package/dist/{chunk-b51jjfh5.js → chunk-j4x0t6k2.js} +42 -31
  232. package/dist/{chunk-9gbamk79.js → chunk-j5bth84e.js} +5 -1
  233. package/dist/chunk-j783d5af.js +134 -0
  234. package/dist/chunk-j7pbwf9x.js +108 -0
  235. package/dist/{chunk-0cpnzx7t.js → chunk-j8rnrm5n.js} +114 -150
  236. package/dist/{chunk-vratq94g.js → chunk-j9gxwbe3.js} +1 -1
  237. package/dist/{chunk-3r24h7t6.js → chunk-jaaxk89e.js} +1 -1
  238. package/dist/{chunk-f4jcw0ea.js → chunk-jaew3662.js} +18 -14
  239. package/dist/{chunk-qpm1tmzz.js → chunk-jbbj16w2.js} +120 -191
  240. package/dist/chunk-jerew25v.js +148 -0
  241. package/dist/{chunk-v399mzxk.js → chunk-jf0p00fz.js} +2 -2
  242. package/dist/{chunk-91r0z5qq.js → chunk-jfsah2w3.js} +1059 -1756
  243. package/dist/{chunk-av73dywf.js → chunk-jna2tcvj.js} +8 -8
  244. package/dist/{chunk-jy35z4n0.js → chunk-jng0mb4r.js} +8 -8
  245. package/dist/chunk-jrrmwfp4.js +66 -0
  246. package/dist/{chunk-3m7ge6tj.js → chunk-jt6fa514.js} +14 -12
  247. package/dist/chunk-jvkyx1b7.js +911 -0
  248. package/dist/{chunk-41xeh3t9.js → chunk-jy6c07wa.js} +4 -4
  249. package/dist/chunk-k1fvb16y.js +269 -0
  250. package/dist/{chunk-bqfnp99q.js → chunk-k3s4yk22.js} +1 -1
  251. package/dist/{chunk-4ycz58wj.js → chunk-k46gxg21.js} +68 -8
  252. package/dist/chunk-k8wwyz2t.js +110 -0
  253. package/dist/{chunk-68qevppc.js → chunk-ka3fdfyb.js} +78 -71
  254. package/dist/{chunk-vaebptnz.js → chunk-ka4x7mhn.js} +38 -28
  255. package/dist/chunk-kb99zpps.js +216 -0
  256. package/dist/{chunk-1dyeexvn.js → chunk-kd3mmsd2.js} +4 -4
  257. package/dist/{chunk-1xkekb9y.js → chunk-kfd89dsd.js} +5 -3
  258. package/dist/{chunk-ecsw41df.js → chunk-km1wcchx.js} +81 -76
  259. package/dist/{chunk-dh6c8y1j.js → chunk-kmhwx18d.js} +3 -3
  260. package/dist/{chunk-224x480q.js → chunk-kq91dwkq.js} +8 -6
  261. package/dist/chunk-m17m84b7.js +111 -0
  262. package/dist/chunk-m1a0s9fd.js +1070 -0
  263. package/dist/{chunk-jafes477.js → chunk-m2bcpk8j.js} +4 -3
  264. package/dist/{chunk-veb0gkcf.js → chunk-m7jtn7dk.js} +74 -68
  265. package/dist/chunk-mq2mgyt9.js +103 -0
  266. package/dist/chunk-msv3w4qp.js +1811 -0
  267. package/dist/{chunk-ch53fgm5.js → chunk-mxe1f4jg.js} +13 -11
  268. package/dist/{chunk-hzttn8j7.js → chunk-mzwjvfr2.js} +124 -126
  269. package/dist/{chunk-2de1vaxf.js → chunk-n2n0sq7r.js} +67 -77
  270. package/dist/{chunk-me2ef6g4.js → chunk-n8mpqdje.js} +1 -1
  271. package/dist/chunk-n9e984ba.js +132 -0
  272. package/dist/chunk-netzwgv1.js +154 -0
  273. package/dist/{chunk-xszk7n10.js → chunk-nh3cd07f.js} +1 -1
  274. package/dist/chunk-njrz6mbe.js +66 -0
  275. package/dist/{chunk-e1ge9n4d.js → chunk-nv7pfr7k.js} +2 -2
  276. package/dist/{chunk-vygf94dw.js → chunk-nwd8pb55.js} +74 -68
  277. package/dist/{chunk-5hva0tsg.js → chunk-p2yv7m0g.js} +6 -6
  278. package/dist/chunk-p5t2vy90.js +259 -0
  279. package/dist/{chunk-zk2wsm7d.js → chunk-p7vkh4wx.js} +2 -2
  280. package/dist/{chunk-da4ve9t5.js → chunk-p8crqj70.js} +10 -10
  281. package/dist/{chunk-n2874aq5.js → chunk-pcngtzr8.js} +12 -6
  282. package/dist/{chunk-6td4c2eq.js → chunk-pdjem6h1.js} +53 -71
  283. package/dist/{chunk-zpc0kwkb.js → chunk-pmxdzjq0.js} +6 -6
  284. package/dist/{chunk-pa7saazk.js → chunk-pnkcecq2.js} +27 -55
  285. package/dist/{chunk-zsfxha74.js → chunk-pshjyzq4.js} +8 -7
  286. package/dist/chunk-pt1yj9zf.js +107 -0
  287. package/dist/{chunk-n9x557ea.js → chunk-py6b9d5b.js} +2312 -4200
  288. package/dist/chunk-q7n8d91g.js +67 -0
  289. package/dist/{chunk-e5pntxye.js → chunk-q7tpyeb3.js} +6 -4
  290. package/dist/{chunk-7ymfj7m3.js → chunk-q82r31er.js} +1 -1
  291. package/dist/chunk-qajrkk97.js +298 -0
  292. package/dist/chunk-qbrh24cn.js +119 -0
  293. package/dist/chunk-qd9ntz7c.js +230 -0
  294. package/dist/chunk-qfr5tcd5.js +2537 -0
  295. package/dist/chunk-qpzfmkct.js +456 -0
  296. package/dist/{chunk-35y0r56v.js → chunk-qtfc6wdh.js} +1 -4
  297. package/dist/chunk-r032587e.js +83 -0
  298. package/dist/{chunk-rryx19hp.js → chunk-r2k2jy0y.js} +2 -2
  299. package/dist/{chunk-pgnnrm2v.js → chunk-r4dnnggx.js} +21 -17
  300. package/dist/{chunk-k9a8jemz.js → chunk-r5n8fvw0.js} +7 -7
  301. package/dist/{chunk-jt0pha6y.js → chunk-r7kh03er.js} +222 -196
  302. package/dist/{chunk-n0k8xrey.js → chunk-rfs0mfg8.js} +140 -158
  303. package/dist/{chunk-dr4qq42x.js → chunk-rgbbtszq.js} +9 -9
  304. package/dist/{chunk-fdwa7gem.js → chunk-rkak3kjw.js} +7 -7
  305. package/dist/chunk-rp568bfw.js +111 -0
  306. package/dist/chunk-rtv718sv.js +146 -0
  307. package/dist/{chunk-rw466wqn.js → chunk-rvkvehat.js} +5284 -3093
  308. package/dist/chunk-s1baskk7.js +14 -0
  309. package/dist/{chunk-2cgdr2n7.js → chunk-s1eb67v3.js} +74 -68
  310. package/dist/{chunk-1szr63w0.js → chunk-s59kx26r.js} +81 -72
  311. package/dist/chunk-s6yk6m3b.js +109 -0
  312. package/dist/{chunk-80qg1pzv.js → chunk-sca71yv8.js} +11 -9
  313. package/dist/chunk-sfrwm87k.js +151 -0
  314. package/dist/chunk-sgaknx21.js +123 -0
  315. package/dist/{chunk-myzwt5yw.js → chunk-snyaz093.js} +9 -15
  316. package/dist/{chunk-rwexx5ns.js → chunk-sq8wkk3z.js} +1 -3
  317. package/dist/{chunk-faycqscv.js → chunk-sxqj7s2h.js} +2 -2
  318. package/dist/chunk-t2m6cjp1.js +264 -0
  319. package/dist/chunk-t6hmvb6k.js +1021 -0
  320. package/dist/chunk-t72x960a.js +125 -0
  321. package/dist/chunk-t9kashay.js +440 -0
  322. package/dist/chunk-t9wzf009.js +151 -0
  323. package/dist/chunk-ta1dgyj1.js +154 -0
  324. package/dist/{chunk-5deqy8r0.js → chunk-tavxhayf.js} +77 -71
  325. package/dist/{chunk-35b0ek0j.js → chunk-tcdv4gp8.js} +13 -9
  326. package/dist/chunk-td3b74vm.js +362 -0
  327. package/dist/{chunk-mt25echc.js → chunk-tezak8rx.js} +1 -1
  328. package/dist/chunk-tgcw0rzx.js +262 -0
  329. package/dist/{chunk-9rcbyag3.js → chunk-tmdbrszg.js} +2 -2
  330. package/dist/{chunk-jknt3rxg.js → chunk-v17qee2y.js} +7 -9
  331. package/dist/{chunk-frbv3xqa.js → chunk-v1jd31dw.js} +2 -2
  332. package/dist/chunk-var1et7e.js +66 -0
  333. package/dist/{chunk-cettj572.js → chunk-ve9wswz4.js} +7 -131
  334. package/dist/{chunk-hqmz36b3.js → chunk-vf612n57.js} +21 -101
  335. package/dist/chunk-vfhabc5j.js +109 -0
  336. package/dist/{chunk-s7qj2hg5.js → chunk-vgy0w6tt.js} +2 -2
  337. package/dist/chunk-vh02fvz1.js +375 -0
  338. package/dist/{chunk-ctmt7xh1.js → chunk-vm935era.js} +619 -887
  339. package/dist/{chunk-dxc7begm.js → chunk-vtb8z6as.js} +14 -10
  340. package/dist/chunk-w2kf9sxn.js +115 -0
  341. package/dist/chunk-w7trx259.js +132 -0
  342. package/dist/{chunk-8z039kef.js → chunk-w92b262y.js} +53 -54
  343. package/dist/chunk-w9zqjhvm.js +103 -0
  344. package/dist/{chunk-9cc60ae5.js → chunk-wb2fvy1k.js} +74 -68
  345. package/dist/chunk-ws2d81aj.js +123 -0
  346. package/dist/{chunk-5zh1fbrj.js → chunk-wssgdcck.js} +2 -2
  347. package/dist/{chunk-t9z6njcr.js → chunk-wtycm8km.js} +9 -9
  348. package/dist/chunk-wz0d8mna.js +108 -0
  349. package/dist/chunk-x01wtn3p.js +144 -0
  350. package/dist/{chunk-dnyeb288.js → chunk-x2sp7rcv.js} +73 -105
  351. package/dist/{chunk-zrse3zpz.js → chunk-xbprynsc.js} +18 -46
  352. package/dist/{chunk-yxnwsp4f.js → chunk-xext3y2y.js} +8 -6
  353. package/dist/{chunk-fzxg8v1y.js → chunk-xycy3c8q.js} +15 -12
  354. package/dist/{chunk-cpma9zs5.js → chunk-y01ys1vm.js} +20 -71
  355. package/dist/{chunk-d7vv2ydf.js → chunk-y78t50v0.js} +2 -2
  356. package/dist/{chunk-xkr7as9h.js → chunk-y9bgt2k1.js} +13 -9
  357. package/dist/{chunk-s2gm9vfk.js → chunk-ydm0nfsv.js} +5 -5
  358. package/dist/{chunk-gjyc3293.js → chunk-yetebjek.js} +282 -495
  359. package/dist/{chunk-hkn7tzgv.js → chunk-ym5r3jnk.js} +1 -1
  360. package/dist/chunk-ysks0ewj.js +237 -0
  361. package/dist/chunk-yv3evkgg.js +68 -0
  362. package/dist/{chunk-athjeyrt.js → chunk-yw79dz62.js} +4 -4
  363. package/dist/{chunk-s84smrx4.js → chunk-yy59gvs4.js} +151 -189
  364. package/dist/{chunk-12pv5fez.js → chunk-yyax4hdg.js} +10 -8
  365. package/dist/chunk-z0q85m5f.js +108 -0
  366. package/dist/chunk-z1bs6d7k.js +24 -0
  367. package/dist/chunk-z6e5jp2w.js +119 -0
  368. package/dist/{chunk-rjz6btwk.js → chunk-z7ssqvt6.js} +4972 -4638
  369. package/dist/chunk-z95yxwyb.js +61 -0
  370. package/dist/{chunk-0nqrscrr.js → chunk-z9aqj026.js} +5 -5
  371. package/dist/chunk-zc6dxhk9.js +169 -0
  372. package/dist/{chunk-ve60fbtd.js → chunk-ze6zvkg6.js} +2 -2
  373. package/dist/{chunk-t0rgmccj.js → chunk-zejm280k.js} +1 -1
  374. package/dist/{chunk-krstc7m7.js → chunk-zfapazzd.js} +15 -11
  375. package/dist/chunk-zj4fqmnc.js +219 -0
  376. package/dist/chunk-zkrpbswn.js +1608 -0
  377. package/dist/chunk-zktbb38m.js +112 -0
  378. package/dist/{chunk-vjc1svpc.js → chunk-zptcqa7t.js} +82 -75
  379. package/dist/{chunk-gbcqdr0x.js → chunk-zvnsjbt8.js} +1 -1
  380. package/dist/chunk-zwaanw8y.js +110 -0
  381. package/dist/{chunk-g3t0act8.js → chunk-zzm33q8x.js} +1 -1
  382. package/dist/{chunk-s8fzxy94.js → chunk-zzzc1ead.js} +17 -13
  383. package/dist/cli.js +34 -10
  384. package/dist/vendor/audio-capture/arm64-darwin/audio-capture.node +0 -0
  385. package/dist/vendor/audio-capture/arm64-linux/audio-capture.node +0 -0
  386. package/dist/vendor/audio-capture/arm64-win32/audio-capture.node +0 -0
  387. package/dist/vendor/audio-capture/x64-darwin/audio-capture.node +0 -0
  388. package/dist/vendor/audio-capture/x64-linux/audio-capture.node +0 -0
  389. package/dist/vendor/audio-capture/x64-win32/audio-capture.node +0 -0
  390. package/package.json +8 -5
  391. package/scripts/postinstall.cjs +319 -0
  392. package/dist/chunk-0291smg3.js +0 -42
  393. package/dist/chunk-04g2ty3v.js +0 -104
  394. package/dist/chunk-069x95ne.js +0 -764
  395. package/dist/chunk-06x02eab.js +0 -655
  396. package/dist/chunk-09pjmga5.js +0 -713
  397. package/dist/chunk-0g90je6r.js +0 -145
  398. package/dist/chunk-0rddv9vb.js +0 -328
  399. package/dist/chunk-162w6yv3.js +0 -756
  400. package/dist/chunk-1gjbaa3n.js +0 -128
  401. package/dist/chunk-23wg4mnt.js +0 -404
  402. package/dist/chunk-2gbjtg7c.js +0 -102
  403. package/dist/chunk-2v1q0ezq.js +0 -102
  404. package/dist/chunk-37n7jkxe.js +0 -436
  405. package/dist/chunk-38svjnh4.js +0 -158
  406. package/dist/chunk-3bg1089y.js +0 -616
  407. package/dist/chunk-3d8ck5ne.js +0 -112
  408. package/dist/chunk-3g6rf9sz.js +0 -106
  409. package/dist/chunk-3x3rr2n5.js +0 -57
  410. package/dist/chunk-4f6q3d38.js +0 -117
  411. package/dist/chunk-4h57km3m.js +0 -74
  412. package/dist/chunk-4kyh2618.js +0 -99
  413. package/dist/chunk-4w9vc9vc.js +0 -119
  414. package/dist/chunk-53hqpp5z.js +0 -208
  415. package/dist/chunk-5m2rmc2k.js +0 -128
  416. package/dist/chunk-5wp9pkpt.js +0 -539
  417. package/dist/chunk-5ym9f6w3.js +0 -263
  418. package/dist/chunk-6f938733.js +0 -1027
  419. package/dist/chunk-6nenxecd.js +0 -115
  420. package/dist/chunk-6rja0h86.js +0 -1593
  421. package/dist/chunk-70q6dp4d.js +0 -96
  422. package/dist/chunk-7bn0wzs3.js +0 -1493
  423. package/dist/chunk-7e2e0bfm.js +0 -65
  424. package/dist/chunk-7ywadnax.js +0 -490
  425. package/dist/chunk-7z33j54s.js +0 -142
  426. package/dist/chunk-8yvfkzyh.js +0 -58
  427. package/dist/chunk-9abpx1kv.js +0 -2833
  428. package/dist/chunk-9ks2nswb.js +0 -114
  429. package/dist/chunk-9wrds5tr.js +0 -109
  430. package/dist/chunk-ab2twken.js +0 -102
  431. package/dist/chunk-abncjeag.js +0 -97
  432. package/dist/chunk-am6w4x6y.js +0 -103
  433. package/dist/chunk-b73bd7db.js +0 -496
  434. package/dist/chunk-bc7nvynh.js +0 -195
  435. package/dist/chunk-br17dhef.js +0 -103
  436. package/dist/chunk-c3k0sdey.js +0 -281
  437. package/dist/chunk-c909bmyv.js +0 -103
  438. package/dist/chunk-cftsv9w4.js +0 -129
  439. package/dist/chunk-cj1a7npk.js +0 -99
  440. package/dist/chunk-cyscs4k5.js +0 -1330
  441. package/dist/chunk-czr7y063.js +0 -348
  442. package/dist/chunk-d93sndem.js +0 -372
  443. package/dist/chunk-ddz8xbpd.js +0 -481
  444. package/dist/chunk-dkhqx4hk.js +0 -84
  445. package/dist/chunk-dsrharmv.js +0 -359
  446. package/dist/chunk-eqmy5d05.js +0 -56
  447. package/dist/chunk-f2crxw2c.js +0 -5400
  448. package/dist/chunk-f8zga40p.js +0 -234
  449. package/dist/chunk-fbgm2ym6.js +0 -990
  450. package/dist/chunk-fcbbsswe.js +0 -119
  451. package/dist/chunk-fda654nt.js +0 -6121
  452. package/dist/chunk-ffmv9ezj.js +0 -104
  453. package/dist/chunk-fmjte7md.js +0 -38
  454. package/dist/chunk-fqtwqxxc.js +0 -293
  455. package/dist/chunk-g8k85nkd.js +0 -802
  456. package/dist/chunk-ge4ak7dj.js +0 -127
  457. package/dist/chunk-gpqemecy.js +0 -126
  458. package/dist/chunk-h19p6s3b.js +0 -131
  459. package/dist/chunk-j0sk1rct.js +0 -998
  460. package/dist/chunk-j1wfpa1a.js +0 -70
  461. package/dist/chunk-j829fx31.js +0 -3458
  462. package/dist/chunk-jqctzrvd.js +0 -722
  463. package/dist/chunk-jx817w05.js +0 -11
  464. package/dist/chunk-ka6sab33.js +0 -174
  465. package/dist/chunk-krjsvmwp.js +0 -101
  466. package/dist/chunk-kvpe50pm.js +0 -311
  467. package/dist/chunk-mez504fj.js +0 -113
  468. package/dist/chunk-mj6wbrae.js +0 -105
  469. package/dist/chunk-n0pg2kpe.js +0 -122
  470. package/dist/chunk-n4qtqkp0.js +0 -295
  471. package/dist/chunk-n9meha2m.js +0 -73
  472. package/dist/chunk-ndk7q5n3.js +0 -169
  473. package/dist/chunk-ng6n9t4h.js +0 -56
  474. package/dist/chunk-p3pz13x2.js +0 -1933
  475. package/dist/chunk-p9ez6zgq.js +0 -2656
  476. package/dist/chunk-ph750kx1.js +0 -550
  477. package/dist/chunk-pxb99zqs.js +0 -117
  478. package/dist/chunk-q1yqc5n3.js +0 -100
  479. package/dist/chunk-qtfqk0jr.js +0 -131
  480. package/dist/chunk-qzfmdh1t.js +0 -388
  481. package/dist/chunk-r3cv0j9n.js +0 -456
  482. package/dist/chunk-rx0pbgym.js +0 -97
  483. package/dist/chunk-s624rd5j.js +0 -531
  484. package/dist/chunk-satndwqj.js +0 -285
  485. package/dist/chunk-ssrxnkd1.js +0 -109
  486. package/dist/chunk-t2pgctqx.js +0 -106
  487. package/dist/chunk-t7sgwf31.js +0 -644
  488. package/dist/chunk-tth904tj.js +0 -53
  489. package/dist/chunk-typpbjhy.js +0 -128
  490. package/dist/chunk-vp6nrhdq.js +0 -102
  491. package/dist/chunk-vtjm53nt.js +0 -432
  492. package/dist/chunk-w412n7tq.js +0 -469
  493. package/dist/chunk-w4153rky.js +0 -1885
  494. package/dist/chunk-wdgv15as.js +0 -212
  495. package/dist/chunk-wgn9kydv.js +0 -58
  496. package/dist/chunk-whknbrk0.js +0 -184
  497. package/dist/chunk-x1k8e1xc.js +0 -56
  498. package/dist/chunk-x45xx6sc.js +0 -105
  499. package/dist/chunk-x4xvqbe5.js +0 -1166
  500. package/dist/chunk-x8b7vft8.js +0 -132
  501. package/dist/chunk-xaycc8qe.js +0 -44
  502. package/dist/chunk-xd4785ks.js +0 -73
  503. package/dist/chunk-xjxgmxhq.js +0 -463
  504. package/dist/chunk-xx2x3tz9.js +0 -166
  505. package/dist/chunk-y2j23eem.js +0 -101
  506. package/dist/chunk-y83j09wv.js +0 -123
  507. package/dist/chunk-yh8460pb.js +0 -119
  508. package/dist/chunk-z6nhchdb.js +0 -60
  509. package/dist/chunk-zbt73sj7.js +0 -192
  510. package/dist/chunk-zmwaatmq.js +0 -118
  511. package/dist/chunk-zvdg9tex.js +0 -135
  512. package/dist/chunk-zwa780cx.js +0 -584
  513. package/dist/{chunk-whvdag1y.js → chunk-3bfs3x0h.js} +9 -9
  514. package/dist/{chunk-27xc1csx.js → chunk-dggvswz1.js} +3 -3
@@ -1,80 +1,85 @@
1
1
  // @bun
2
- import"./chunk-jy35z4n0.js";
2
+ import"./chunk-jng0mb4r.js";
3
3
  import {
4
4
  cliError,
5
5
  cliOk
6
6
  } from "./chunk-z2dp53wn.js";
7
+ import {
8
+ buildDeepLinkBanner
9
+ } from "./chunk-28043j1k.js";
7
10
  import {
8
11
  filterExistingPaths,
9
12
  getKnownPathsForRepo,
10
13
  updateGithubRepoPathMapping
11
- } from "./chunk-s2dmn3yg.js";
14
+ } from "./chunk-eaemyebz.js";
12
15
  import {
13
16
  computeInitialTeamContext,
14
17
  createRemoteSessionConfig,
15
18
  getModelDeprecationWarning,
16
19
  getRelevantTips,
17
20
  refreshExampleCommands
18
- } from "./chunk-v9y80148.js";
21
+ } from "./chunk-eqmkajs4.js";
19
22
  import {
20
23
  processResumedConversation,
21
24
  skillChangeDetector
22
- } from "./chunk-t6h4wf3k.js";
25
+ } from "./chunk-gzr2601k.js";
23
26
  import {
24
27
  installAsciicastRecorder
25
- } from "./chunk-cs6y2pc9.js";
26
- import"./chunk-bc7nvynh.js";
28
+ } from "./chunk-ergam9ft.js";
29
+ import"./chunk-mq2mgyt9.js";
27
30
  import {
28
31
  getBaseRenderOptions
29
- } from "./chunk-v399mzxk.js";
32
+ } from "./chunk-jf0p00fz.js";
30
33
  import {
31
34
  createStatsStore
32
- } from "./chunk-zgrg0wk3.js";
35
+ } from "./chunk-44q4jkwa.js";
33
36
  import {
34
- applyConfigEnvironmentVariables,
35
- applySafeConfigEnvironmentVariables,
36
37
  onChangeAppState
37
- } from "./chunk-q7tvkc86.js";
38
- import"./chunk-t3bf8hcf.js";
39
- import"./chunk-x8b7vft8.js";
40
- import"./chunk-3mgywd32.js";
38
+ } from "./chunk-4f4ccg1h.js";
39
+ import"./chunk-fyts9grb.js";
40
+ import {
41
+ seedEarlyInput,
42
+ stopCapturingEarlyInput
43
+ } from "./chunk-46fcr28b.js";
44
+ import"./chunk-4hv90qcz.js";
45
+ import {
46
+ init_partition,
47
+ partition_default
48
+ } from "./chunk-v1jd31dw.js";
41
49
  import {
42
50
  init_setup,
43
51
  setupClaudeInChrome,
44
52
  shouldAutoEnableClaudeInChrome,
45
53
  shouldEnableClaudeInChrome
46
- } from "./chunk-3m7ge6tj.js";
47
- import {
48
- init_partition,
49
- partition_default
50
- } from "./chunk-frbv3xqa.js";
54
+ } from "./chunk-jt6fa514.js";
51
55
  import {
52
56
  VALID_INSTALLABLE_SCOPES,
53
57
  VALID_UPDATE_SCOPES
54
- } from "./chunk-hy3g1nv8.js";
55
- import"./chunk-q6rax9kh.js";
58
+ } from "./chunk-2wvxddsg.js";
59
+ import"./chunk-436r0x2n.js";
56
60
  import {
57
61
  init_releaseNotes,
58
62
  migrateChangelogFromConfig
59
- } from "./chunk-m5eb5pt2.js";
60
- import"./chunk-7tqhx6dr.js";
61
- import"./chunk-rx0pbgym.js";
62
- import"./chunk-zbt73sj7.js";
63
- import"./chunk-2wcbcdky.js";
63
+ } from "./chunk-0ja0y3at.js";
64
+ import"./chunk-66jkaz3q.js";
65
+ import"./chunk-rtv718sv.js";
66
+ import"./chunk-h7edytkc.js";
64
67
  import {
65
68
  BROWSER_TOOLS,
66
- init_src
67
- } from "./chunk-hkn7tzgv.js";
69
+ init_src as init_src2
70
+ } from "./chunk-ym5r3jnk.js";
68
71
  import {
69
72
  init_sink,
70
73
  initializeAnalyticsGates
71
- } from "./chunk-5zh1fbrj.js";
74
+ } from "./chunk-wssgdcck.js";
72
75
  import {
73
76
  ASK_USER_QUESTION_TOOL_NAME,
74
77
  AppStateProvider,
75
78
  CLAUDE_CODE_GUIDE_AGENT_TYPE,
76
79
  CRON_CREATE_TOOL_NAME,
77
80
  CRON_DELETE_TOOL_NAME,
81
+ CRON_LIST_TOOL_NAME,
82
+ ConfigurableShortcutHint,
78
83
  DEFAULT_BINDINGS,
79
84
  DEFAULT_MAX_AGE_DAYS,
80
85
  ENTER_PLAN_MODE_TOOL_NAME,
@@ -92,9 +97,10 @@ import {
92
97
  acquireIdpIdToken,
93
98
  addMcpConfig,
94
99
  addToHistory,
100
+ applyConfigEnvironmentVariables,
101
+ applySafeConfigEnvironmentVariables,
95
102
  areMcpConfigsAllowedWithEnterpriseMcpConfig,
96
103
  asSessionId,
97
- assertMinVersion,
98
104
  buildConsolidationPrompt,
99
105
  cacheSessionTitle,
100
106
  canUserConfigureAdvisor,
@@ -167,6 +173,7 @@ import {
167
173
  init_AppState,
168
174
  init_AppStateStore,
169
175
  init_BriefTool,
176
+ init_ConfigurableShortcutHint,
170
177
  init_CustomSelect,
171
178
  init_KeybindingProviderSetup,
172
179
  init_SelectMulti,
@@ -176,7 +183,6 @@ import {
176
183
  init_allErrors,
177
184
  init_api as init_api2,
178
185
  init_auth as init_auth2,
179
- init_autoUpdater,
180
186
  init_bundledSkills,
181
187
  init_cacheUtils,
182
188
  init_changeDetector,
@@ -211,6 +217,7 @@ import {
211
217
  init_internalLogging,
212
218
  init_loadAgentsDir,
213
219
  init_loadUserBindings,
220
+ init_managedEnv,
214
221
  init_managedPlugins,
215
222
  init_manager,
216
223
  init_mapValues,
@@ -223,10 +230,10 @@ import {
223
230
  init_policyLimits,
224
231
  init_preconditions,
225
232
  init_product,
226
- init_prompt12 as init_prompt4,
227
- init_prompt6 as init_prompt,
228
- init_prompt8 as init_prompt2,
229
- init_prompt9 as init_prompt3,
233
+ init_prompt12 as init_prompt5,
234
+ init_prompt6 as init_prompt2,
235
+ init_prompt8 as init_prompt3,
236
+ init_prompt9 as init_prompt4,
230
237
  init_promptSuggestion,
231
238
  init_remoteManagedSettings,
232
239
  init_reservedShortcuts,
@@ -285,6 +292,7 @@ import {
285
292
  parseMcpConfig,
286
293
  parseMcpConfigFromFilePath,
287
294
  parsePRReference,
295
+ parseToolListFromCLI,
288
296
  prefetchAllMcpResources,
289
297
  processMessagesForTeleportResume,
290
298
  processSessionStartHooks,
@@ -318,52 +326,45 @@ import {
318
326
  validateUuid,
319
327
  waitForPolicyLimitsToLoad,
320
328
  waitForRemoteManagedSettingsToLoad
321
- } from "./chunk-mwp7sj0q.js";
322
- import"./chunk-t0rgmccj.js";
329
+ } from "./chunk-cy6ezb6j.js";
330
+ import"./chunk-zejm280k.js";
323
331
  import {
324
332
  getSessionIngressAuthToken,
325
333
  init_sessionIngressAuth
326
- } from "./chunk-ye18m1zb.js";
327
- import"./chunk-12pv5fez.js";
328
- import {
329
- initSentry,
330
- init_sentry
331
- } from "./chunk-cgn27dqf.js";
334
+ } from "./chunk-g1jarkx9.js";
335
+ import"./chunk-yyax4hdg.js";
336
+ import"./chunk-4nspekjp.js";
332
337
  import {
333
338
  exports_teammateModeSnapshot,
334
339
  init_teammateModeSnapshot
335
- } from "./chunk-dh6c8y1j.js";
340
+ } from "./chunk-kmhwx18d.js";
336
341
  import {
337
342
  BASE_CHROME_PROMPT,
338
- Byline,
339
343
  CLAUDE_IN_CHROME_SKILL_HINT,
340
- ConfigurableShortcutHint,
341
- Dialog,
342
- KeyboardShortcutHint,
343
- init_Byline,
344
- init_ConfigurableShortcutHint,
345
- init_Dialog,
346
- init_KeyboardShortcutHint,
347
- init_prompt as init_prompt5
348
- } from "./chunk-xjxgmxhq.js";
344
+ init_prompt as init_prompt6
345
+ } from "./chunk-var1et7e.js";
349
346
  import"./chunk-2gzv8nrw.js";
350
347
  import"./chunk-ehtwnxpg.js";
351
- import"./chunk-n6fbyke9.js";
348
+ import"./chunk-dmxte86x.js";
352
349
  import {
353
350
  createEmptyAttributionState,
354
351
  init_commitAttribution
355
- } from "./chunk-33khw5gy.js";
356
- import"./chunk-3be7ka25.js";
352
+ } from "./chunk-d6ve5pze.js";
353
+ import"./chunk-bxcfz5gy.js";
357
354
  import {
358
355
  DEFAULT_TASKS_MODE_TASK_LIST_ID,
359
356
  TASK_STATUSES,
360
357
  init_tasks
361
- } from "./chunk-er9vzjac.js";
358
+ } from "./chunk-dekbr08w.js";
362
359
  import {
363
360
  CLAUDE_IN_CHROME_MCP_SERVER_NAME,
364
361
  init_common,
365
362
  isClaudeInChromeMCPServer
366
- } from "./chunk-f3bapa1x.js";
363
+ } from "./chunk-f6rbj3gz.js";
364
+ import {
365
+ initSentry,
366
+ init_sentry
367
+ } from "./chunk-9f14bkn9.js";
367
368
  import {
368
369
  init_worktreeModeEnabled,
369
370
  isWorktreeModeEnabled
@@ -371,66 +372,47 @@ import {
371
372
  import {
372
373
  init_referral,
373
374
  prefetchPassesEligibility
374
- } from "./chunk-4ycz58wj.js";
375
- import"./chunk-4kyh2618.js";
376
- import"./chunk-9gbamk79.js";
377
- import"./chunk-d7mx1phm.js";
378
- import"./chunk-hfzj1m07.js";
379
- import"./chunk-g8k85nkd.js";
380
- import {
381
- Link,
382
- SHOW_CURSOR,
383
- ThemedBox_default,
384
- ThemedText,
385
- init_dec,
386
- init_ink,
387
- init_terminal,
388
- isSynchronizedOutputSupported,
389
- require_compiler_runtime
390
- } from "./chunk-rw466wqn.js";
391
- import {
392
- init_earlyInput,
393
- seedEarlyInput,
394
- stopCapturingEarlyInput
395
- } from "./chunk-yhd82045.js";
375
+ } from "./chunk-k46gxg21.js";
376
+ import"./chunk-j5bth84e.js";
377
+ import"./chunk-8qhr4n77.js";
378
+ import"./chunk-az5x70pn.js";
379
+ import"./chunk-epyaq1z0.js";
380
+ import"./chunk-0jzdwbdc.js";
396
381
  import"./chunk-ps49ymvj.js";
397
- import {
398
- require_jsx_dev_runtime
399
- } from "./chunk-g338npwr.js";
400
- import"./chunk-zk2wsm7d.js";
401
- import"./chunk-z8nbjar4.js";
402
- import"./chunk-660kcy7p.js";
403
- import"./chunk-rj86xm6z.js";
404
- import"./chunk-d7vv2ydf.js";
382
+ import"./chunk-p7vkh4wx.js";
383
+ import"./chunk-cmcbatgz.js";
384
+ import"./chunk-agx5w9ce.js";
385
+ import"./chunk-48w0df8a.js";
386
+ import"./chunk-y78t50v0.js";
405
387
  import"./chunk-4jm600zv.js";
406
- import"./chunk-me2ef6g4.js";
388
+ import"./chunk-n8mpqdje.js";
407
389
  import {
408
390
  fetchSession,
409
391
  init_api,
410
392
  prepareApiRequest
411
- } from "./chunk-t24ytdcw.js";
393
+ } from "./chunk-dqvwn28p.js";
412
394
  import {
413
395
  getTelemetryAttributes,
414
396
  init_betaSessionTracing,
415
397
  init_telemetryAttributes,
416
398
  isBetaTracingEnabled
417
- } from "./chunk-cenpqc2t.js";
399
+ } from "./chunk-esn3tgm2.js";
418
400
  import"./chunk-mx28h61f.js";
419
- import"./chunk-ptwn7qw7.js";
420
- import"./chunk-b4mnbry0.js";
421
- import"./chunk-faycqscv.js";
422
- import"./chunk-fbgm2ym6.js";
423
- import"./chunk-f64npa3b.js";
424
- import"./chunk-8z039kef.js";
401
+ import"./chunk-dsbewdgm.js";
402
+ import"./chunk-sxqj7s2h.js";
403
+ import"./chunk-8201tnhf.js";
404
+ import"./chunk-2qwgfjcj.js";
405
+ import"./chunk-chsyvavm.js";
406
+ import"./chunk-w92b262y.js";
425
407
  import {
426
408
  AGENT_TOOL_NAME,
427
- PERMISSION_MODES,
428
409
  SettingsSchema,
429
410
  checkHasTrustDialogAccepted,
430
411
  enableConfigs,
431
412
  ensureKeychainPrefetchCompleted,
432
413
  ensureMdmSettingsLoaded,
433
414
  ensureModelStringsInitialized,
415
+ exports_prompt,
434
416
  filterAllowedSdkBetas,
435
417
  getAPIProvider,
436
418
  getAnthropicApiKey,
@@ -482,11 +464,11 @@ import {
482
464
  init_officialRegistry,
483
465
  init_paths,
484
466
  init_pickBy,
467
+ init_prompt1 as init_prompt,
485
468
  init_providers,
486
469
  init_rawRead,
487
470
  init_settings,
488
471
  init_settings1 as init_settings2,
489
- init_source,
490
472
  init_stringUtils,
491
473
  init_types,
492
474
  init_user,
@@ -496,6 +478,7 @@ import {
496
478
  isAnalyticsDisabled,
497
479
  isAutoMemoryEnabled,
498
480
  isAutoUpdaterDisabled,
481
+ isClaudeAISubscriber,
499
482
  isEqual_default,
500
483
  isFastModeEnabled,
501
484
  isLegacyModelRemapEnabled,
@@ -522,89 +505,108 @@ import {
522
505
  resolveFastModeStatusFromCache,
523
506
  saveCurrentProjectConfig,
524
507
  saveGlobalConfig,
525
- source_default,
526
508
  startKeychainPrefetch,
527
509
  startMdmRawRead,
528
510
  updateSettingsForSource,
529
511
  validateForceLoginOrg,
530
512
  withOAuth401Retry
531
- } from "./chunk-mvss16tj.js";
513
+ } from "./chunk-c1k9tg7h.js";
532
514
  import {
533
515
  init_json,
534
516
  safeParseJSON
535
- } from "./chunk-bmvb57qb.js";
517
+ } from "./chunk-905d2hee.js";
536
518
  import {
537
519
  init_windowsPaths,
538
520
  setShellIfWindows
539
- } from "./chunk-fdwa7gem.js";
540
- import"./chunk-vratq94g.js";
521
+ } from "./chunk-rkak3kjw.js";
541
522
  import {
542
523
  configureGlobalAgents,
543
524
  configureGlobalMTLS,
544
525
  init_mtls,
545
526
  init_proxy
546
- } from "./chunk-5hva0tsg.js";
527
+ } from "./chunk-p2yv7m0g.js";
547
528
  import {
548
529
  count,
549
530
  exports_teammate,
550
531
  init_array,
551
532
  init_teammate,
552
533
  uniq
553
- } from "./chunk-0e1xsncc.js";
534
+ } from "./chunk-1cwdhk7a.js";
535
+ import"./chunk-j9gxwbe3.js";
554
536
  import {
555
537
  init_lazySchema,
556
538
  lazySchema
557
539
  } from "./chunk-64c1avct.js";
540
+ import {
541
+ PERMISSION_MODES
542
+ } from "./chunk-6kpbgc5w.js";
558
543
  import"./chunk-8g5pe1gr.js";
559
544
  import {
560
545
  getPlatform,
561
546
  init_platform
562
- } from "./chunk-tjaqa99q.js";
563
- import"./chunk-v4t6dyyh.js";
547
+ } from "./chunk-hezj20qy.js";
548
+ import"./chunk-4cp6193g.js";
564
549
  import {
565
550
  init_v4
566
- } from "./chunk-4pbx3g7s.js";
551
+ } from "./chunk-8g747a8x.js";
567
552
  import {
568
553
  exports_external,
569
554
  toJSONSchema
570
- } from "./chunk-26wtxbdc.js";
555
+ } from "./chunk-d7886r6a.js";
571
556
  import"./chunk-f5ma3nh5.js";
572
557
  import"./chunk-qz2x630m.js";
573
- import"./chunk-cvge4pvp.js";
574
- import"./chunk-rryx19hp.js";
558
+ import"./chunk-dk8287aa.js";
559
+ import"./chunk-r2k2jy0y.js";
575
560
  import"./chunk-3c25bcsw.js";
576
561
  import {
577
562
  init_bundledMode,
578
563
  isInBundledMode
579
- } from "./chunk-9g827w4j.js";
564
+ } from "./chunk-2q39ej51.js";
580
565
  import {
581
566
  OAUTH_BETA_HEADER,
582
567
  getOauthConfig,
583
568
  init_oauth
584
- } from "./chunk-7ymfj7m3.js";
569
+ } from "./chunk-q82r31er.js";
585
570
  import"./chunk-p2816w9z.js";
586
571
  import"./chunk-v9smspw2.js";
587
572
  import"./chunk-v1kzp02e.js";
588
- import"./chunk-0vkfrmqm.js";
589
- import"./chunk-0xjaqda8.js";
590
573
  import {
591
574
  formatFileSize,
592
575
  init_format,
593
576
  init_startupProfiler,
594
577
  profileCheckpoint,
595
578
  profileReport
596
- } from "./chunk-jqctzrvd.js";
579
+ } from "./chunk-qpzfmkct.js";
597
580
  import"./chunk-crmjpsqe.js";
581
+ import {
582
+ Byline,
583
+ Dialog,
584
+ KeyboardShortcutHint,
585
+ Link,
586
+ SHOW_CURSOR,
587
+ ThemedBox_default,
588
+ ThemedText,
589
+ init_source,
590
+ init_src,
591
+ isSynchronizedOutputSupported,
592
+ source_default
593
+ } from "./chunk-rvkvehat.js";
594
+ import {
595
+ require_jsx_dev_runtime,
596
+ require_react
597
+ } from "./chunk-g338npwr.js";
598
598
  import {
599
599
  init_analytics,
600
600
  logEvent
601
601
  } from "./chunk-h0rbjg6x.js";
602
+ import"./chunk-0vkfrmqm.js";
603
+ import"./chunk-0xjaqda8.js";
602
604
  import {
603
605
  detectCurrentRepository,
604
606
  detectCurrentRepositoryWithHost,
605
607
  init_detectRepository,
606
608
  parseGitRemote
607
- } from "./chunk-wc6wwwyb.js";
609
+ } from "./chunk-21z7acxh.js";
608
610
  import {
609
611
  findGitRoot,
610
612
  getBranch,
@@ -613,61 +615,62 @@ import {
613
615
  getWorktreeCount,
614
616
  init_diagLogs,
615
617
  init_git,
616
- init_gitFilesystem,
617
618
  logForDiagnosticsNoPII
618
- } from "./chunk-dr4qq42x.js";
619
- import"./chunk-d18z9pna.js";
619
+ } from "./chunk-rgbbtszq.js";
620
+ import"./chunk-1thgdca1.js";
620
621
  import"./chunk-qnfx3qtx.js";
621
- import"./chunk-athjeyrt.js";
622
+ import"./chunk-yw79dz62.js";
622
623
  import {
623
624
  getCwd,
624
625
  init_cwd
625
- } from "./chunk-8bedvdm1.js";
626
+ } from "./chunk-b81hd3m6.js";
626
627
  import {
627
628
  init_log,
628
629
  init_privacyLevel,
629
630
  isEssentialTrafficOnly,
630
631
  logError
631
- } from "./chunk-p7g7pf3f.js";
632
+ } from "./chunk-61ahbn23.js";
632
633
  import"./chunk-8tnsngw2.js";
633
634
  import {
634
635
  init_which,
635
636
  which
636
- } from "./chunk-cmdsbsb6.js";
637
- import"./chunk-vyc0rjyx.js";
637
+ } from "./chunk-edzkkadh.js";
638
+ import"./chunk-bwg7582d.js";
638
639
  import {
639
640
  execa,
640
641
  init_execa
641
- } from "./chunk-ggqx30m9.js";
642
- import"./chunk-7wm5s02e.js";
642
+ } from "./chunk-5z28bqne.js";
643
+ import"./chunk-qajrkk97.js";
643
644
  import {
644
- ConfigParseError,
645
- TeleportOperationError,
646
645
  enableDebugLogging,
647
- errorMessage,
648
646
  getDebugLogPath,
649
- getErrnoCode,
650
647
  getFsImplementation,
651
648
  init_cleanupRegistry,
652
649
  init_debug,
653
- init_errors,
654
650
  init_fsOperations,
655
651
  init_slowOperations,
656
- isENOENT,
657
652
  jsonParse,
658
653
  jsonStringify,
659
654
  logForDebugging,
660
655
  registerCleanup,
661
656
  safeResolvePath,
662
657
  setHasFormattedOutput,
663
- toError,
664
658
  writeFileSync_DEPRECATED
665
- } from "./chunk-nxsh6de2.js";
659
+ } from "./chunk-hcgkak1j.js";
666
660
  import {
667
661
  init_process,
668
662
  peekForStdinData,
669
663
  writeToStderr
670
664
  } from "./chunk-fbv4apne.js";
665
+ import {
666
+ ConfigParseError,
667
+ TeleportOperationError,
668
+ errorMessage,
669
+ getErrnoCode,
670
+ init_errors,
671
+ isENOENT,
672
+ toError
673
+ } from "./chunk-z6e5jp2w.js";
671
674
  import {
672
675
  hasNodeOption,
673
676
  init_envUtils,
@@ -676,7 +679,7 @@ import {
676
679
  isInProtectedNamespace,
677
680
  isRunningOnHomespace,
678
681
  parseEnvVars
679
- } from "./chunk-3r24h7t6.js";
682
+ } from "./chunk-jaaxk89e.js";
680
683
  import {
681
684
  getInitialMainLoopModel,
682
685
  getIsNonInteractiveSession,
@@ -685,6 +688,7 @@ import {
685
688
  getSdkBetas,
686
689
  getSessionCounter,
687
690
  getSessionId,
691
+ getUserMsgOptIn,
688
692
  init_settingsCache,
689
693
  init_state,
690
694
  resetSettingsCache,
@@ -711,18 +715,22 @@ import {
711
715
  setTeleportedSessionInfo,
712
716
  setUserMsgOptIn,
713
717
  switchSession
714
- } from "./chunk-qqfa0dqg.js";
718
+ } from "./chunk-h4b85amj.js";
719
+ import"./chunk-07069jq1.js";
715
720
  import {
716
721
  init_memoize,
717
722
  memoize_default
718
- } from "./chunk-hqmz36b3.js";
723
+ } from "./chunk-vf612n57.js";
724
+ import"./chunk-d4mdda98.js";
725
+ import"./chunk-7wm5s02e.js";
719
726
  import"./chunk-4g3v8y12.js";
720
727
  import"./chunk-7739pg2c.js";
721
728
  import {
722
729
  axios_default,
723
730
  init_axios
724
- } from "./chunk-xszk7n10.js";
725
- import"./chunk-sdj9b9wh.js";
731
+ } from "./chunk-nh3cd07f.js";
732
+ import"./chunk-8pn8tvgg.js";
733
+ import"./chunk-netzwgv1.js";
726
734
  import {
727
735
  __commonJS,
728
736
  __esm,
@@ -3132,8 +3140,8 @@ var BASE58 = "123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz", BASE_
3132
3140
  var init_scheduleRemoteAgents = __esm(() => {
3133
3141
  init_growthbook();
3134
3142
  init_policyLimits();
3135
- init_prompt2();
3136
- init_prompt4();
3143
+ init_prompt3();
3144
+ init_prompt5();
3137
3145
  init_auth();
3138
3146
  init_preconditions();
3139
3147
  init_debug();
@@ -3252,6 +3260,7 @@ init_envDynamic();
3252
3260
  init_envUtils();
3253
3261
  init_errors();
3254
3262
  init_gracefulShutdown();
3263
+ init_managedEnv();
3255
3264
  init_mtls();
3256
3265
  init_filesystem();
3257
3266
  init_proxy();
@@ -3281,8 +3290,8 @@ var init = memoize_default(async () => {
3281
3290
  setupGracefulShutdown();
3282
3291
  profileCheckpoint("init_after_graceful_shutdown");
3283
3292
  Promise.all([
3284
- import("./chunk-7e2e0bfm.js"),
3285
- import("./chunk-m94pnhfa.js")
3293
+ import("./chunk-gfx3cwrk.js"),
3294
+ import("./chunk-0rn4v8sg.js")
3286
3295
  ]).then(([fp, gb]) => {
3287
3296
  fp.initialize1PEventLogging();
3288
3297
  gb.onGrowthBookRefresh(() => {
@@ -3322,8 +3331,8 @@ var init = memoize_default(async () => {
3322
3331
  preconnectAnthropicApi();
3323
3332
  if (isEnvTruthy(process.env.CLAUDE_CODE_REMOTE)) {
3324
3333
  try {
3325
- const { initUpstreamProxy, getUpstreamProxyEnv } = await import("./chunk-xs0hwvpa.js");
3326
- const { registerUpstreamProxyEnvFn } = await import("./chunk-v1mgv1et.js");
3334
+ const { initUpstreamProxy, getUpstreamProxyEnv } = await import("./chunk-68pfxvxt.js");
3335
+ const { registerUpstreamProxyEnvFn } = await import("./chunk-6p4cyhb3.js");
3327
3336
  registerUpstreamProxyEnvFn(getUpstreamProxyEnv);
3328
3337
  await initUpstreamProxy();
3329
3338
  } catch (err) {
@@ -3333,7 +3342,7 @@ var init = memoize_default(async () => {
3333
3342
  setShellIfWindows();
3334
3343
  registerCleanup(shutdownLspServerManager);
3335
3344
  registerCleanup(async () => {
3336
- const { cleanupSessionTeams } = await import("./chunk-pgnnrm2v.js");
3345
+ const { cleanupSessionTeams } = await import("./chunk-r4dnnggx.js");
3337
3346
  await cleanupSessionTeams();
3338
3347
  });
3339
3348
  if (isScratchpadEnabled()) {
@@ -3355,7 +3364,7 @@ var init = memoize_default(async () => {
3355
3364
  gracefulShutdownSync(1);
3356
3365
  return;
3357
3366
  }
3358
- return import("./chunk-n4qtqkp0.js").then((m) => m.showInvalidConfigDialog({ error }));
3367
+ return import("./chunk-zj4fqmnc.js").then((m) => m.showInvalidConfigDialog({ error }));
3359
3368
  } else {
3360
3369
  throw error;
3361
3370
  }
@@ -3395,7 +3404,7 @@ async function doInitializeTelemetry() {
3395
3404
  }
3396
3405
  }
3397
3406
  async function setMeterState() {
3398
- const { initializeTelemetry } = await import("./chunk-z9tgzh90.js");
3407
+ const { initializeTelemetry } = await import("./chunk-gk2d1x2a.js");
3399
3408
  const meter = await initializeTelemetry();
3400
3409
  if (meter) {
3401
3410
  const createAttributedCounter = (name, options) => {
@@ -3422,12 +3431,8 @@ init_history();
3422
3431
  // src/replLauncher.tsx
3423
3432
  var jsx_dev_runtime = __toESM(require_jsx_dev_runtime(), 1);
3424
3433
  async function launchRepl(root, appProps, replProps, renderAndRun) {
3425
- const {
3426
- App
3427
- } = await import("./chunk-xx2x3tz9.js");
3428
- const {
3429
- REPL
3430
- } = await import("./chunk-38svjnh4.js");
3434
+ const { App } = await import("./chunk-b9ndqcdv.js");
3435
+ const { REPL } = await import("./chunk-a2evk7n1.js");
3431
3436
  await renderAndRun(root, /* @__PURE__ */ jsx_dev_runtime.jsxDEV(App, {
3432
3437
  ...appProps,
3433
3438
  children: /* @__PURE__ */ jsx_dev_runtime.jsxDEV(REPL, {
@@ -3553,9 +3558,9 @@ init_agentSwarmsEnabled();
3553
3558
  init_array();
3554
3559
  init_auth();
3555
3560
  init_config2();
3556
- init_earlyInput();
3557
3561
  init_effort();
3558
3562
  init_fastMode();
3563
+ init_managedEnv();
3559
3564
  init_messages();
3560
3565
  init_platform();
3561
3566
  init_sessionIngressAuth();
@@ -3628,7 +3633,7 @@ init_gracefulShutdown();
3628
3633
  init_state();
3629
3634
  import { appendFileSync } from "fs";
3630
3635
  init_context2();
3631
- init_terminal();
3636
+ init_src();
3632
3637
  init_KeybindingProviderSetup();
3633
3638
  init_growthbook();
3634
3639
  init_grove();
@@ -3637,324 +3642,189 @@ init_grove();
3637
3642
  init_analytics();
3638
3643
  init_settings2();
3639
3644
  init_CustomSelect();
3640
- init_Dialog();
3641
- var import_compiler_runtime2 = __toESM(require_compiler_runtime(), 1);
3645
+ init_src();
3642
3646
 
3643
3647
  // src/components/MCPServerDialogCopy.tsx
3644
- init_ink();
3645
- var import_compiler_runtime = __toESM(require_compiler_runtime(), 1);
3648
+ init_src();
3646
3649
  var jsx_dev_runtime2 = __toESM(require_jsx_dev_runtime(), 1);
3647
3650
  function MCPServerDialogCopy() {
3648
- const $ = import_compiler_runtime.c(1);
3649
- let t0;
3650
- if ($[0] === Symbol.for("react.memo_cache_sentinel")) {
3651
- t0 = /* @__PURE__ */ jsx_dev_runtime2.jsxDEV(ThemedText, {
3652
- children: [
3653
- "MCP servers may execute code or access system resources. All tool calls require approval. Learn more in the",
3654
- " ",
3655
- /* @__PURE__ */ jsx_dev_runtime2.jsxDEV(Link, {
3656
- url: "https://code.claude.com/docs/en/mcp",
3657
- children: "MCP documentation"
3658
- }, undefined, false, undefined, this),
3659
- "."
3660
- ]
3661
- }, undefined, true, undefined, this);
3662
- $[0] = t0;
3663
- } else {
3664
- t0 = $[0];
3665
- }
3666
- return t0;
3651
+ return /* @__PURE__ */ jsx_dev_runtime2.jsxDEV(ThemedText, {
3652
+ children: [
3653
+ "MCP servers may execute code or access system resources. All tool calls require approval. Learn more in the",
3654
+ " ",
3655
+ /* @__PURE__ */ jsx_dev_runtime2.jsxDEV(Link, {
3656
+ url: "https://code.claude.com/docs/en/mcp",
3657
+ children: "MCP documentation"
3658
+ }, undefined, false, undefined, this),
3659
+ "."
3660
+ ]
3661
+ }, undefined, true, undefined, this);
3667
3662
  }
3668
3663
 
3669
3664
  // src/components/MCPServerApprovalDialog.tsx
3670
3665
  var jsx_dev_runtime3 = __toESM(require_jsx_dev_runtime(), 1);
3671
- function MCPServerApprovalDialog(t0) {
3672
- const $ = import_compiler_runtime2.c(13);
3673
- const {
3674
- serverName,
3675
- onDone
3676
- } = t0;
3677
- let t1;
3678
- if ($[0] !== onDone || $[1] !== serverName) {
3679
- t1 = function onChange2(value) {
3680
- logEvent("tengu_mcp_dialog_choice", {
3681
- choice: value
3682
- });
3683
- bb2:
3684
- switch (value) {
3685
- case "yes":
3686
- case "yes_all": {
3687
- const currentSettings_0 = getSettings_DEPRECATED() || {};
3688
- const enabledServers = currentSettings_0.enabledMcpjsonServers || [];
3689
- if (!enabledServers.includes(serverName)) {
3690
- updateSettingsForSource("localSettings", {
3691
- enabledMcpjsonServers: [...enabledServers, serverName]
3692
- });
3693
- }
3694
- if (value === "yes_all") {
3695
- updateSettingsForSource("localSettings", {
3696
- enableAllProjectMcpServers: true
3697
- });
3698
- }
3699
- onDone();
3700
- break bb2;
3701
- }
3702
- case "no": {
3703
- const currentSettings = getSettings_DEPRECATED() || {};
3704
- const disabledServers = currentSettings.disabledMcpjsonServers || [];
3705
- if (!disabledServers.includes(serverName)) {
3706
- updateSettingsForSource("localSettings", {
3707
- disabledMcpjsonServers: [...disabledServers, serverName]
3708
- });
3709
- }
3710
- onDone();
3711
- }
3666
+ function MCPServerApprovalDialog({
3667
+ serverName,
3668
+ onDone
3669
+ }) {
3670
+ function onChange(value) {
3671
+ logEvent("tengu_mcp_dialog_choice", {
3672
+ choice: value
3673
+ });
3674
+ switch (value) {
3675
+ case "yes":
3676
+ case "yes_all": {
3677
+ const currentSettings = getSettings_DEPRECATED() || {};
3678
+ const enabledServers = currentSettings.enabledMcpjsonServers || [];
3679
+ if (!enabledServers.includes(serverName)) {
3680
+ updateSettingsForSource("localSettings", {
3681
+ enabledMcpjsonServers: [...enabledServers, serverName]
3682
+ });
3712
3683
  }
3713
- };
3714
- $[0] = onDone;
3715
- $[1] = serverName;
3716
- $[2] = t1;
3717
- } else {
3718
- t1 = $[2];
3719
- }
3720
- const onChange = t1;
3721
- const t2 = `New MCP server found in .mcp.json: ${serverName}`;
3722
- let t3;
3723
- if ($[3] !== onChange) {
3724
- t3 = () => onChange("no");
3725
- $[3] = onChange;
3726
- $[4] = t3;
3727
- } else {
3728
- t3 = $[4];
3729
- }
3730
- let t4;
3731
- if ($[5] === Symbol.for("react.memo_cache_sentinel")) {
3732
- t4 = /* @__PURE__ */ jsx_dev_runtime3.jsxDEV(MCPServerDialogCopy, {}, undefined, false, undefined, this);
3733
- $[5] = t4;
3734
- } else {
3735
- t4 = $[5];
3736
- }
3737
- let t5;
3738
- if ($[6] === Symbol.for("react.memo_cache_sentinel")) {
3739
- t5 = [{
3740
- label: "Use this and all future MCP servers in this project",
3741
- value: "yes_all"
3742
- }, {
3743
- label: "Use this MCP server",
3744
- value: "yes"
3745
- }, {
3746
- label: "Continue without using this MCP server",
3747
- value: "no"
3748
- }];
3749
- $[6] = t5;
3750
- } else {
3751
- t5 = $[6];
3752
- }
3753
- let t6;
3754
- if ($[7] !== onChange) {
3755
- t6 = /* @__PURE__ */ jsx_dev_runtime3.jsxDEV(Select, {
3756
- options: t5,
3757
- onChange: (value_0) => onChange(value_0),
3758
- onCancel: () => onChange("no")
3759
- }, undefined, false, undefined, this);
3760
- $[7] = onChange;
3761
- $[8] = t6;
3762
- } else {
3763
- t6 = $[8];
3764
- }
3765
- let t7;
3766
- if ($[9] !== t2 || $[10] !== t3 || $[11] !== t6) {
3767
- t7 = /* @__PURE__ */ jsx_dev_runtime3.jsxDEV(Dialog, {
3768
- title: t2,
3769
- color: "warning",
3770
- onCancel: t3,
3771
- children: [
3772
- t4,
3773
- t6
3774
- ]
3775
- }, undefined, true, undefined, this);
3776
- $[9] = t2;
3777
- $[10] = t3;
3778
- $[11] = t6;
3779
- $[12] = t7;
3780
- } else {
3781
- t7 = $[12];
3684
+ if (value === "yes_all") {
3685
+ updateSettingsForSource("localSettings", {
3686
+ enableAllProjectMcpServers: true
3687
+ });
3688
+ }
3689
+ onDone();
3690
+ break;
3691
+ }
3692
+ case "no": {
3693
+ const currentSettings = getSettings_DEPRECATED() || {};
3694
+ const disabledServers = currentSettings.disabledMcpjsonServers || [];
3695
+ if (!disabledServers.includes(serverName)) {
3696
+ updateSettingsForSource("localSettings", {
3697
+ disabledMcpjsonServers: [...disabledServers, serverName]
3698
+ });
3699
+ }
3700
+ onDone();
3701
+ break;
3702
+ }
3703
+ }
3782
3704
  }
3783
- return t7;
3705
+ return /* @__PURE__ */ jsx_dev_runtime3.jsxDEV(Dialog, {
3706
+ title: `New MCP server found in .mcp.json: ${serverName}`,
3707
+ color: "warning",
3708
+ onCancel: () => onChange("no"),
3709
+ children: [
3710
+ /* @__PURE__ */ jsx_dev_runtime3.jsxDEV(MCPServerDialogCopy, {}, undefined, false, undefined, this),
3711
+ /* @__PURE__ */ jsx_dev_runtime3.jsxDEV(Select, {
3712
+ options: [
3713
+ {
3714
+ label: `Use this and all future MCP servers in this project`,
3715
+ value: "yes_all"
3716
+ },
3717
+ { label: `Use this MCP server`, value: "yes" },
3718
+ { label: `Continue without using this MCP server`, value: "no" }
3719
+ ],
3720
+ onChange: (value) => onChange(value),
3721
+ onCancel: () => onChange("no")
3722
+ }, undefined, false, undefined, this)
3723
+ ]
3724
+ }, undefined, true, undefined, this);
3784
3725
  }
3785
3726
 
3786
3727
  // src/components/MCPServerMultiselectDialog.tsx
3787
3728
  init_partition();
3788
3729
  init_analytics();
3789
- init_ink();
3730
+ init_src();
3790
3731
  init_settings2();
3791
3732
  init_ConfigurableShortcutHint();
3792
3733
  init_SelectMulti();
3793
- init_Byline();
3794
- init_Dialog();
3795
- init_KeyboardShortcutHint();
3796
- var import_compiler_runtime3 = __toESM(require_compiler_runtime(), 1);
3734
+ init_src();
3735
+ var import_react = __toESM(require_react(), 1);
3797
3736
  var jsx_dev_runtime4 = __toESM(require_jsx_dev_runtime(), 1);
3798
- function MCPServerMultiselectDialog(t0) {
3799
- const $ = import_compiler_runtime3.c(21);
3800
- const {
3801
- serverNames,
3802
- onDone
3803
- } = t0;
3804
- let t1;
3805
- if ($[0] !== onDone || $[1] !== serverNames) {
3806
- t1 = function onSubmit2(selectedServers) {
3807
- const currentSettings = getSettings_DEPRECATED() || {};
3808
- const enabledServers = currentSettings.enabledMcpjsonServers || [];
3809
- const disabledServers = currentSettings.disabledMcpjsonServers || [];
3810
- const [approvedServers, rejectedServers] = partition_default(serverNames, (server) => selectedServers.includes(server));
3811
- logEvent("tengu_mcp_multidialog_choice", {
3812
- approved: approvedServers.length,
3813
- rejected: rejectedServers.length
3737
+ function MCPServerMultiselectDialog({
3738
+ serverNames,
3739
+ onDone
3740
+ }) {
3741
+ function onSubmit(selectedServers) {
3742
+ const currentSettings = getSettings_DEPRECATED() || {};
3743
+ const enabledServers = currentSettings.enabledMcpjsonServers || [];
3744
+ const disabledServers = currentSettings.disabledMcpjsonServers || [];
3745
+ const [approvedServers, rejectedServers] = partition_default(serverNames, (server) => selectedServers.includes(server));
3746
+ logEvent("tengu_mcp_multidialog_choice", {
3747
+ approved: approvedServers.length,
3748
+ rejected: rejectedServers.length
3749
+ });
3750
+ if (approvedServers.length > 0) {
3751
+ const newEnabledServers = [
3752
+ ...new Set([...enabledServers, ...approvedServers])
3753
+ ];
3754
+ updateSettingsForSource("localSettings", {
3755
+ enabledMcpjsonServers: newEnabledServers
3814
3756
  });
3815
- if (approvedServers.length > 0) {
3816
- const newEnabledServers = [...new Set([...enabledServers, ...approvedServers])];
3817
- updateSettingsForSource("localSettings", {
3818
- enabledMcpjsonServers: newEnabledServers
3819
- });
3820
- }
3821
- if (rejectedServers.length > 0) {
3822
- const newDisabledServers = [...new Set([...disabledServers, ...rejectedServers])];
3823
- updateSettingsForSource("localSettings", {
3824
- disabledMcpjsonServers: newDisabledServers
3825
- });
3826
- }
3827
- onDone();
3828
- };
3829
- $[0] = onDone;
3830
- $[1] = serverNames;
3831
- $[2] = t1;
3832
- } else {
3833
- t1 = $[2];
3834
- }
3835
- const onSubmit = t1;
3836
- let t2;
3837
- if ($[3] !== onDone || $[4] !== serverNames) {
3838
- t2 = () => {
3839
- const currentSettings_0 = getSettings_DEPRECATED() || {};
3840
- const disabledServers_0 = currentSettings_0.disabledMcpjsonServers || [];
3841
- const newDisabledServers_0 = [...new Set([...disabledServers_0, ...serverNames])];
3757
+ }
3758
+ if (rejectedServers.length > 0) {
3759
+ const newDisabledServers = [
3760
+ ...new Set([...disabledServers, ...rejectedServers])
3761
+ ];
3842
3762
  updateSettingsForSource("localSettings", {
3843
- disabledMcpjsonServers: newDisabledServers_0
3763
+ disabledMcpjsonServers: newDisabledServers
3844
3764
  });
3845
- onDone();
3846
- };
3847
- $[3] = onDone;
3848
- $[4] = serverNames;
3849
- $[5] = t2;
3850
- } else {
3851
- t2 = $[5];
3852
- }
3853
- const handleEscRejectAll = t2;
3854
- const t3 = `${serverNames.length} new MCP servers found in .mcp.json`;
3855
- let t4;
3856
- if ($[6] === Symbol.for("react.memo_cache_sentinel")) {
3857
- t4 = /* @__PURE__ */ jsx_dev_runtime4.jsxDEV(MCPServerDialogCopy, {}, undefined, false, undefined, this);
3858
- $[6] = t4;
3859
- } else {
3860
- t4 = $[6];
3765
+ }
3766
+ onDone();
3861
3767
  }
3862
- let t5;
3863
- if ($[7] !== serverNames) {
3864
- t5 = serverNames.map(_temp);
3865
- $[7] = serverNames;
3866
- $[8] = t5;
3867
- } else {
3868
- t5 = $[8];
3869
- }
3870
- let t6;
3871
- if ($[9] !== handleEscRejectAll || $[10] !== onSubmit || $[11] !== serverNames || $[12] !== t5) {
3872
- t6 = /* @__PURE__ */ jsx_dev_runtime4.jsxDEV(SelectMulti, {
3873
- options: t5,
3874
- defaultValue: serverNames,
3875
- onSubmit,
3876
- onCancel: handleEscRejectAll,
3877
- hideIndexes: true
3878
- }, undefined, false, undefined, this);
3879
- $[9] = handleEscRejectAll;
3880
- $[10] = onSubmit;
3881
- $[11] = serverNames;
3882
- $[12] = t5;
3883
- $[13] = t6;
3884
- } else {
3885
- t6 = $[13];
3886
- }
3887
- let t7;
3888
- if ($[14] !== handleEscRejectAll || $[15] !== t3 || $[16] !== t6) {
3889
- t7 = /* @__PURE__ */ jsx_dev_runtime4.jsxDEV(Dialog, {
3890
- title: t3,
3891
- subtitle: "Select any you wish to enable.",
3892
- color: "warning",
3893
- onCancel: handleEscRejectAll,
3894
- hideInputGuide: true,
3895
- children: [
3896
- t4,
3897
- t6
3898
- ]
3899
- }, undefined, true, undefined, this);
3900
- $[14] = handleEscRejectAll;
3901
- $[15] = t3;
3902
- $[16] = t6;
3903
- $[17] = t7;
3904
- } else {
3905
- t7 = $[17];
3906
- }
3907
- let t8;
3908
- if ($[18] === Symbol.for("react.memo_cache_sentinel")) {
3909
- t8 = /* @__PURE__ */ jsx_dev_runtime4.jsxDEV(ThemedBox_default, {
3910
- paddingX: 1,
3911
- children: /* @__PURE__ */ jsx_dev_runtime4.jsxDEV(ThemedText, {
3912
- dimColor: true,
3913
- italic: true,
3914
- children: /* @__PURE__ */ jsx_dev_runtime4.jsxDEV(Byline, {
3915
- children: [
3916
- /* @__PURE__ */ jsx_dev_runtime4.jsxDEV(KeyboardShortcutHint, {
3917
- shortcut: "Space",
3918
- action: "select"
3919
- }, undefined, false, undefined, this),
3920
- /* @__PURE__ */ jsx_dev_runtime4.jsxDEV(KeyboardShortcutHint, {
3921
- shortcut: "Enter",
3922
- action: "confirm"
3923
- }, undefined, false, undefined, this),
3924
- /* @__PURE__ */ jsx_dev_runtime4.jsxDEV(ConfigurableShortcutHint, {
3925
- action: "confirm:no",
3926
- context: "Confirmation",
3927
- fallback: "Esc",
3928
- description: "reject all"
3929
- }, undefined, false, undefined, this)
3930
- ]
3931
- }, undefined, true, undefined, this)
3768
+ const handleEscRejectAll = import_react.useCallback(() => {
3769
+ const currentSettings = getSettings_DEPRECATED() || {};
3770
+ const disabledServers = currentSettings.disabledMcpjsonServers || [];
3771
+ const newDisabledServers = [
3772
+ ...new Set([...disabledServers, ...serverNames])
3773
+ ];
3774
+ updateSettingsForSource("localSettings", {
3775
+ disabledMcpjsonServers: newDisabledServers
3776
+ });
3777
+ onDone();
3778
+ }, [serverNames, onDone]);
3779
+ return /* @__PURE__ */ jsx_dev_runtime4.jsxDEV(jsx_dev_runtime4.Fragment, {
3780
+ children: [
3781
+ /* @__PURE__ */ jsx_dev_runtime4.jsxDEV(Dialog, {
3782
+ title: `${serverNames.length} new MCP servers found in .mcp.json`,
3783
+ subtitle: "Select any you wish to enable.",
3784
+ color: "warning",
3785
+ onCancel: handleEscRejectAll,
3786
+ hideInputGuide: true,
3787
+ children: [
3788
+ /* @__PURE__ */ jsx_dev_runtime4.jsxDEV(MCPServerDialogCopy, {}, undefined, false, undefined, this),
3789
+ /* @__PURE__ */ jsx_dev_runtime4.jsxDEV(SelectMulti, {
3790
+ options: serverNames.map((server) => ({
3791
+ label: server,
3792
+ value: server
3793
+ })),
3794
+ defaultValue: serverNames,
3795
+ onSubmit,
3796
+ onCancel: handleEscRejectAll,
3797
+ hideIndexes: true
3798
+ }, undefined, false, undefined, this)
3799
+ ]
3800
+ }, undefined, true, undefined, this),
3801
+ /* @__PURE__ */ jsx_dev_runtime4.jsxDEV(ThemedBox_default, {
3802
+ paddingX: 1,
3803
+ children: /* @__PURE__ */ jsx_dev_runtime4.jsxDEV(ThemedText, {
3804
+ dimColor: true,
3805
+ italic: true,
3806
+ children: /* @__PURE__ */ jsx_dev_runtime4.jsxDEV(Byline, {
3807
+ children: [
3808
+ /* @__PURE__ */ jsx_dev_runtime4.jsxDEV(KeyboardShortcutHint, {
3809
+ shortcut: "Space",
3810
+ action: "select"
3811
+ }, undefined, false, undefined, this),
3812
+ /* @__PURE__ */ jsx_dev_runtime4.jsxDEV(KeyboardShortcutHint, {
3813
+ shortcut: "Enter",
3814
+ action: "confirm"
3815
+ }, undefined, false, undefined, this),
3816
+ /* @__PURE__ */ jsx_dev_runtime4.jsxDEV(ConfigurableShortcutHint, {
3817
+ action: "confirm:no",
3818
+ context: "Confirmation",
3819
+ fallback: "Esc",
3820
+ description: "reject all"
3821
+ }, undefined, false, undefined, this)
3822
+ ]
3823
+ }, undefined, true, undefined, this)
3824
+ }, undefined, false, undefined, this)
3932
3825
  }, undefined, false, undefined, this)
3933
- }, undefined, false, undefined, this);
3934
- $[18] = t8;
3935
- } else {
3936
- t8 = $[18];
3937
- }
3938
- let t9;
3939
- if ($[19] !== t7) {
3940
- t9 = /* @__PURE__ */ jsx_dev_runtime4.jsxDEV(jsx_dev_runtime4.Fragment, {
3941
- children: [
3942
- t7,
3943
- t8
3944
- ]
3945
- }, undefined, true, undefined, this);
3946
- $[19] = t7;
3947
- $[20] = t9;
3948
- } else {
3949
- t9 = $[20];
3950
- }
3951
- return t9;
3952
- }
3953
- function _temp(server_0) {
3954
- return {
3955
- label: server_0,
3956
- value: server_0
3957
- };
3826
+ ]
3827
+ }, undefined, true, undefined, this);
3958
3828
  }
3959
3829
 
3960
3830
  // src/services/mcpServerApproval.tsx
@@ -3964,9 +3834,7 @@ init_config3();
3964
3834
  init_utils();
3965
3835
  var jsx_dev_runtime5 = __toESM(require_jsx_dev_runtime(), 1);
3966
3836
  async function handleMcpjsonServerApprovals(root) {
3967
- const {
3968
- servers: projectServers
3969
- } = getMcpConfigsByScope("project");
3837
+ const { servers: projectServers } = getMcpConfigsByScope("project");
3970
3838
  const pendingServers = Object.keys(projectServers).filter((serverName) => getProjectMcpServerStatus(serverName) === "pending");
3971
3839
  if (pendingServers.length === 0) {
3972
3840
  return;
@@ -4005,6 +3873,30 @@ init_config2();
4005
3873
  // src/utils/deepLink/terminalPreference.ts
4006
3874
  init_config2();
4007
3875
  init_debug();
3876
+ var TERM_PROGRAM_TO_APP = {
3877
+ iterm: "iTerm",
3878
+ "iterm.app": "iTerm",
3879
+ ghostty: "Ghostty",
3880
+ kitty: "kitty",
3881
+ alacritty: "Alacritty",
3882
+ wezterm: "WezTerm",
3883
+ apple_terminal: "Terminal"
3884
+ };
3885
+ function updateDeepLinkTerminalPreference() {
3886
+ if (process.platform !== "darwin")
3887
+ return;
3888
+ const termProgram = process.env.TERM_PROGRAM;
3889
+ if (!termProgram)
3890
+ return;
3891
+ const app = TERM_PROGRAM_TO_APP[termProgram.toLowerCase()];
3892
+ if (!app)
3893
+ return;
3894
+ const config = getGlobalConfig();
3895
+ if (config.deepLinkTerminal === app)
3896
+ return;
3897
+ saveGlobalConfig((current) => ({ ...current, deepLinkTerminal: app }));
3898
+ logForDebugging(`Stored deep link terminal preference: ${app}`);
3899
+ }
4008
3900
 
4009
3901
  // src/interactiveHelpers.tsx
4010
3902
  init_envUtils();
@@ -4044,6 +3936,7 @@ class FpsTracker {
4044
3936
  }
4045
3937
 
4046
3938
  // src/interactiveHelpers.tsx
3939
+ init_managedEnv();
4047
3940
  init_allErrors();
4048
3941
  init_settings2();
4049
3942
  var jsx_dev_runtime6 = __toESM(require_jsx_dev_runtime(), 1);
@@ -4061,15 +3954,10 @@ function showDialog(root, renderer) {
4061
3954
  });
4062
3955
  }
4063
3956
  async function exitWithError(root, message, beforeExit) {
4064
- return exitWithMessage(root, message, {
4065
- color: "error",
4066
- beforeExit
4067
- });
3957
+ return exitWithMessage(root, message, { color: "error", beforeExit });
4068
3958
  }
4069
3959
  async function exitWithMessage(root, message, options) {
4070
- const {
4071
- Text
4072
- } = await import("./chunk-h19p6s3b.js");
3960
+ const { Text } = await import("./chunk-cqjmxeqv.js");
4073
3961
  const color = options?.color;
4074
3962
  const exitCode = options?.exitCode ?? 1;
4075
3963
  root.render(color ? /* @__PURE__ */ jsx_dev_runtime6.jsxDEV(Text, {
@@ -4104,23 +3992,17 @@ async function showSetupScreens(root, permissionMode, allowDangerouslySkipPermis
4104
3992
  let onboardingShown = false;
4105
3993
  if (!config.theme || !config.hasCompletedOnboarding) {
4106
3994
  onboardingShown = true;
4107
- const {
4108
- Onboarding
4109
- } = await import("./chunk-684kdqez.js");
3995
+ const { Onboarding } = await import("./chunk-gv1csnc3.js");
4110
3996
  await showSetupDialog(root, (done) => /* @__PURE__ */ jsx_dev_runtime6.jsxDEV(Onboarding, {
4111
3997
  onDone: () => {
4112
3998
  completeOnboarding();
4113
3999
  done();
4114
4000
  }
4115
- }, undefined, false, undefined, this), {
4116
- onChangeAppState
4117
- });
4001
+ }, undefined, false, undefined, this), { onChangeAppState });
4118
4002
  }
4119
4003
  if (!isEnvTruthy(process.env.CLAUBBIT)) {
4120
4004
  if (!checkHasTrustDialogAccepted()) {
4121
- const {
4122
- TrustDialog
4123
- } = await import("./chunk-3bg1089y.js");
4005
+ const { TrustDialog } = await import("./chunk-8kfwb79z.js");
4124
4006
  await showSetupDialog(root, (done) => /* @__PURE__ */ jsx_dev_runtime6.jsxDEV(TrustDialog, {
4125
4007
  commands,
4126
4008
  onDone: done
@@ -4130,17 +4012,13 @@ async function showSetupScreens(root, permissionMode, allowDangerouslySkipPermis
4130
4012
  resetGrowthBook();
4131
4013
  initializeGrowthBook();
4132
4014
  getSystemContext();
4133
- const {
4134
- errors: allErrors
4135
- } = getSettingsWithAllErrors();
4015
+ const { errors: allErrors } = getSettingsWithAllErrors();
4136
4016
  if (allErrors.length === 0) {
4137
4017
  await handleMcpjsonServerApprovals(root);
4138
4018
  }
4139
4019
  if (await shouldShowClaudeMdExternalIncludesWarning()) {
4140
4020
  const externalIncludes = getExternalClaudeMdIncludes(await getMemoryFiles(true));
4141
- const {
4142
- ClaudeMdExternalIncludesDialog
4143
- } = await import("./chunk-q1yqc5n3.js");
4021
+ const { ClaudeMdExternalIncludesDialog } = await import("./chunk-e7h0nd5w.js");
4144
4022
  await showSetupDialog(root, (done) => /* @__PURE__ */ jsx_dev_runtime6.jsxDEV(ClaudeMdExternalIncludesDialog, {
4145
4023
  onDone: done,
4146
4024
  isStandaloneDialog: true,
@@ -4149,13 +4027,13 @@ async function showSetupScreens(root, permissionMode, allowDangerouslySkipPermis
4149
4027
  }
4150
4028
  }
4151
4029
  updateGithubRepoPathMapping();
4152
- if (false) {}
4030
+ if (true) {
4031
+ updateDeepLinkTerminalPreference();
4032
+ }
4153
4033
  applyConfigEnvironmentVariables();
4154
4034
  setImmediate(() => initializeTelemetryAfterTrust());
4155
4035
  if (await isQualifiedForGrove()) {
4156
- const {
4157
- GroveDialog
4158
- } = await import("./chunk-2v1q0ezq.js");
4036
+ const { GroveDialog } = await import("./chunk-j316jjby.js");
4159
4037
  const decision = await showSetupDialog(root, (done) => /* @__PURE__ */ jsx_dev_runtime6.jsxDEV(GroveDialog, {
4160
4038
  showIfAlreadyViewed: false,
4161
4039
  location: onboardingShown ? "onboarding" : "policy_update_modal",
@@ -4171,21 +4049,15 @@ async function showSetupScreens(root, permissionMode, allowDangerouslySkipPermis
4171
4049
  const customApiKeyTruncated = normalizeApiKeyForConfig(process.env.ANTHROPIC_API_KEY);
4172
4050
  const keyStatus = getCustomApiKeyStatus(customApiKeyTruncated);
4173
4051
  if (keyStatus === "new") {
4174
- const {
4175
- ApproveApiKey
4176
- } = await import("./chunk-abncjeag.js");
4052
+ const { ApproveApiKey } = await import("./chunk-w9zqjhvm.js");
4177
4053
  await showSetupDialog(root, (done) => /* @__PURE__ */ jsx_dev_runtime6.jsxDEV(ApproveApiKey, {
4178
4054
  customApiKeyTruncated,
4179
4055
  onDone: done
4180
- }, undefined, false, undefined, this), {
4181
- onChangeAppState
4182
- });
4056
+ }, undefined, false, undefined, this), { onChangeAppState });
4183
4057
  }
4184
4058
  }
4185
4059
  if ((permissionMode === "bypassPermissions" || allowDangerouslySkipPermissions) && !hasSkipDangerousModePermissionPrompt()) {
4186
- const {
4187
- BypassPermissionsModeDialog
4188
- } = await import("./chunk-f8zga40p.js");
4060
+ const { BypassPermissionsModeDialog } = await import("./chunk-0qz705wz.js");
4189
4061
  await showSetupDialog(root, (done) => /* @__PURE__ */ jsx_dev_runtime6.jsxDEV(BypassPermissionsModeDialog, {
4190
4062
  onAccept: done
4191
4063
  }, undefined, false, undefined, this));
@@ -4193,9 +4065,7 @@ async function showSetupScreens(root, permissionMode, allowDangerouslySkipPermis
4193
4065
  if (false) {}
4194
4066
  if (false) {}
4195
4067
  if (claudeInChrome && !getGlobalConfig().hasCompletedClaudeInChromeOnboarding) {
4196
- const {
4197
- ClaudeInChromeOnboarding
4198
- } = await import("./chunk-5ym9f6w3.js");
4068
+ const { ClaudeInChromeOnboarding } = await import("./chunk-zc6dxhk9.js");
4199
4069
  await showSetupDialog(root, (done) => /* @__PURE__ */ jsx_dev_runtime6.jsxDEV(ClaudeInChromeOnboarding, {
4200
4070
  onDone: done
4201
4071
  }, undefined, false, undefined, this));
@@ -4256,9 +4126,7 @@ function getRenderContext(exitOnCtrlC) {
4256
4126
  init_KeybindingProviderSetup();
4257
4127
  var jsx_dev_runtime7 = __toESM(require_jsx_dev_runtime(), 1);
4258
4128
  async function launchInvalidSettingsDialog(root, props) {
4259
- const {
4260
- InvalidSettingsDialog
4261
- } = await import("./chunk-53hqpp5z.js");
4129
+ const { InvalidSettingsDialog } = await import("./chunk-an6z4rzv.js");
4262
4130
  return showSetupDialog(root, (done) => /* @__PURE__ */ jsx_dev_runtime7.jsxDEV(InvalidSettingsDialog, {
4263
4131
  settingsErrors: props.settingsErrors,
4264
4132
  onContinue: done,
@@ -4266,9 +4134,7 @@ async function launchInvalidSettingsDialog(root, props) {
4266
4134
  }, undefined, false, undefined, this));
4267
4135
  }
4268
4136
  async function launchTeleportResumeWrapper(root) {
4269
- const {
4270
- TeleportResumeWrapper
4271
- } = await import("./chunk-j3215c49.js");
4137
+ const { TeleportResumeWrapper } = await import("./chunk-cxhvyf7c.js");
4272
4138
  return showSetupDialog(root, (done) => /* @__PURE__ */ jsx_dev_runtime7.jsxDEV(TeleportResumeWrapper, {
4273
4139
  onComplete: done,
4274
4140
  onCancel: () => done(null),
@@ -4276,9 +4142,7 @@ async function launchTeleportResumeWrapper(root) {
4276
4142
  }, undefined, false, undefined, this));
4277
4143
  }
4278
4144
  async function launchTeleportRepoMismatchDialog(root, props) {
4279
- const {
4280
- TeleportRepoMismatchDialog
4281
- } = await import("./chunk-c3k0sdey.js");
4145
+ const { TeleportRepoMismatchDialog } = await import("./chunk-qd9ntz7c.js");
4282
4146
  return showSetupDialog(root, (done) => /* @__PURE__ */ jsx_dev_runtime7.jsxDEV(TeleportRepoMismatchDialog, {
4283
4147
  targetRepo: props.targetRepo,
4284
4148
  initialPaths: props.initialPaths,
@@ -4287,11 +4151,11 @@ async function launchTeleportRepoMismatchDialog(root, props) {
4287
4151
  }, undefined, false, undefined, this));
4288
4152
  }
4289
4153
  async function launchResumeChooser(root, appProps, worktreePathsPromise, resumeProps) {
4290
- const [worktreePaths, {
4291
- ResumeConversation
4292
- }, {
4293
- App
4294
- }] = await Promise.all([worktreePathsPromise, import("./chunk-kq098bkj.js"), import("./chunk-xx2x3tz9.js")]);
4154
+ const [worktreePaths, { ResumeConversation }, { App }] = await Promise.all([
4155
+ worktreePathsPromise,
4156
+ import("./chunk-9pm2d2gv.js"),
4157
+ import("./chunk-b9ndqcdv.js")
4158
+ ]);
4295
4159
  await renderAndRun(root, /* @__PURE__ */ jsx_dev_runtime7.jsxDEV(App, {
4296
4160
  getFpsMetrics: appProps.getFpsMetrics,
4297
4161
  stats: appProps.stats,
@@ -4306,7 +4170,7 @@ async function launchResumeChooser(root, appProps, worktreePathsPromise, resumeP
4306
4170
  }
4307
4171
 
4308
4172
  // src/main.tsx
4309
- init_dec();
4173
+ init_src();
4310
4174
 
4311
4175
  // src/plugins/bundled/index.ts
4312
4176
  function initBuiltinPlugins() {}
@@ -4320,7 +4184,7 @@ init_setup();
4320
4184
 
4321
4185
  // src/skills/bundled/batch.ts
4322
4186
  init_constants2();
4323
- init_prompt2();
4187
+ init_prompt3();
4324
4188
  init_constants4();
4325
4189
  init_constants3();
4326
4190
  init_constants5();
@@ -4435,8 +4299,8 @@ function registerBatchSkill() {
4435
4299
  }
4436
4300
 
4437
4301
  // src/skills/bundled/claudeInChrome.ts
4438
- init_src();
4439
- init_prompt5();
4302
+ init_src2();
4303
+ init_prompt6();
4440
4304
  init_setup();
4441
4305
  init_bundledSkills();
4442
4306
  var CLAUDE_IN_CHROME_MCP_TOOLS = BROWSER_TOOLS.map((tool) => `mcp__claude-in-chrome__${tool.name}`);
@@ -5673,8 +5537,58 @@ ${args}
5673
5537
  });
5674
5538
  }
5675
5539
 
5540
+ // src/skills/bundled/cronManage.ts
5541
+ init_prompt4();
5542
+ init_bundledSkills();
5543
+ function registerCronListSkill() {
5544
+ registerBundledSkill({
5545
+ name: "cron-list",
5546
+ description: "List all scheduled cron jobs in this session",
5547
+ whenToUse: "When the user wants to see their scheduled/recurring tasks, check active cron jobs, or review what is currently looping.",
5548
+ userInvocable: true,
5549
+ isEnabled: isKairosCronEnabled,
5550
+ async getPromptForCommand() {
5551
+ return [
5552
+ {
5553
+ type: "text",
5554
+ text: `Call ${CRON_LIST_TOOL_NAME} to list all scheduled cron jobs. Display the results in a table with columns: ID, Schedule, Prompt, Recurring, Durable. If no jobs exist, say "No scheduled tasks."`
5555
+ }
5556
+ ];
5557
+ }
5558
+ });
5559
+ }
5560
+ function registerCronDeleteSkill() {
5561
+ registerBundledSkill({
5562
+ name: "cron-delete",
5563
+ description: "Cancel a scheduled cron job by ID",
5564
+ whenToUse: "When the user wants to cancel, stop, or remove a scheduled/recurring task or cron job.",
5565
+ argumentHint: "<job-id>",
5566
+ userInvocable: true,
5567
+ isEnabled: isKairosCronEnabled,
5568
+ async getPromptForCommand(args) {
5569
+ const id = args.trim();
5570
+ if (!id) {
5571
+ return [
5572
+ {
5573
+ type: "text",
5574
+ text: `Usage: /cron-delete <job-id>
5575
+
5576
+ Provide the job ID to cancel. Use /cron-list to see active jobs and their IDs.`
5577
+ }
5578
+ ];
5579
+ }
5580
+ return [
5581
+ {
5582
+ type: "text",
5583
+ text: `Call ${CRON_DELETE_TOOL_NAME} with id "${id}" to cancel that scheduled job. Confirm the result to the user.`
5584
+ }
5585
+ ];
5586
+ }
5587
+ });
5588
+ }
5589
+
5676
5590
  // src/skills/bundled/loop.ts
5677
- init_prompt3();
5591
+ init_prompt4();
5678
5592
  init_bundledSkills();
5679
5593
  var DEFAULT_INTERVAL = "10m";
5680
5594
  var USAGE_MESSAGE = `Usage: /loop [interval] <prompt>
@@ -6328,6 +6242,8 @@ function initBundledSkills() {
6328
6242
  registerBatchSkill();
6329
6243
  registerStuckSkill();
6330
6244
  registerLoopSkill();
6245
+ registerCronListSkill();
6246
+ registerCronDeleteSkill();
6331
6247
  registerDreamSkill();
6332
6248
  if (false) {}
6333
6249
  if (true) {
@@ -6345,19 +6261,10 @@ function initBundledSkills() {
6345
6261
 
6346
6262
  // src/main.tsx
6347
6263
  init_loadAgentsDir();
6348
- init_autoUpdater();
6349
- init_prompt5();
6264
+ init_prompt6();
6350
6265
  init_setup();
6351
6266
  init_context();
6352
6267
  init_conversationRecovery();
6353
-
6354
- // src/utils/deepLink/banner.ts
6355
- init_format();
6356
- init_gitFilesystem();
6357
- init_git();
6358
- var STALE_FETCH_WARN_MS = 7 * 24 * 60 * 60 * 1000;
6359
-
6360
- // src/main.tsx
6361
6268
  init_envUtils();
6362
6269
  init_getWorktreePaths();
6363
6270
  init_git();
@@ -6403,7 +6310,7 @@ init_pluginTelemetry();
6403
6310
  // src/utils/telemetry/skillLoadedEvent.ts
6404
6311
  init_commands();
6405
6312
  init_analytics();
6406
- init_prompt();
6313
+ init_prompt2();
6407
6314
  async function logSkillsLoaded(cwd, contextWindowTokens) {
6408
6315
  const skills = await getSkillToolCommands(cwd);
6409
6316
  const skillBudget = getCharBudget(contextWindowTokens);
@@ -6737,46 +6644,6 @@ init_constants();
6737
6644
  init_stringUtils();
6738
6645
  init_state();
6739
6646
 
6740
- // src/migrations/migrateAutoUpdatesToSettings.ts
6741
- init_analytics();
6742
- init_config2();
6743
- init_log();
6744
- init_settings2();
6745
- function migrateAutoUpdatesToSettings() {
6746
- const globalConfig = getGlobalConfig();
6747
- if (globalConfig.autoUpdates !== false || globalConfig.autoUpdatesProtectedForNative === true) {
6748
- return;
6749
- }
6750
- try {
6751
- const userSettings = getSettingsForSource("userSettings") || {};
6752
- updateSettingsForSource("userSettings", {
6753
- ...userSettings,
6754
- env: {
6755
- ...userSettings.env,
6756
- DISABLE_AUTOUPDATER: "1"
6757
- }
6758
- });
6759
- logEvent("tengu_migrate_autoupdates_to_settings", {
6760
- was_user_preference: true,
6761
- already_had_env_var: !!userSettings.env?.DISABLE_AUTOUPDATER
6762
- });
6763
- process.env.DISABLE_AUTOUPDATER = "1";
6764
- saveGlobalConfig((current) => {
6765
- const {
6766
- autoUpdates: _,
6767
- autoUpdatesProtectedForNative: __,
6768
- ...updatedConfig
6769
- } = current;
6770
- return updatedConfig;
6771
- });
6772
- } catch (error) {
6773
- logError(new Error(`Failed to migrate auto-updates: ${error}`));
6774
- logEvent("tengu_migrate_autoupdates_error", {
6775
- has_error: true
6776
- });
6777
- }
6778
- }
6779
-
6780
6647
  // src/migrations/migrateBypassPermissionsAcceptedToSettings.ts
6781
6648
  init_analytics();
6782
6649
  init_config2();
@@ -7120,10 +6987,7 @@ function logManagedSettings() {
7120
6987
  function logSessionTelemetry() {
7121
6988
  const model = parseUserSpecifiedModel(getInitialMainLoopModel() ?? getDefaultMainLoopModel());
7122
6989
  logSkillsLoaded(getCwd(), getContextWindowForModel(model, getSdkBetas()));
7123
- loadAllPluginsCacheOnly().then(({
7124
- enabled,
7125
- errors
7126
- }) => {
6990
+ loadAllPluginsCacheOnly().then(({ enabled, errors }) => {
7127
6991
  const managedNames = getManagedPluginNames();
7128
6992
  logPluginsEnabledForSession(enabled, managedNames, getPluginSeedDirs());
7129
6993
  logPluginLoadErrors(errors, managedNames);
@@ -7148,7 +7012,11 @@ function getCertEnvVarTelemetry() {
7148
7012
  async function logStartupTelemetry() {
7149
7013
  if (isAnalyticsDisabled())
7150
7014
  return;
7151
- const [isGit, worktreeCount, ghAuthStatus] = await Promise.all([getIsGit(), getWorktreeCount(), getGhAuthStatus()]);
7015
+ const [isGit, worktreeCount, ghAuthStatus] = await Promise.all([
7016
+ getIsGit(),
7017
+ getWorktreeCount(),
7018
+ getGhAuthStatus()
7019
+ ]);
7152
7020
  logEvent("tengu_startup_telemetry", {
7153
7021
  is_git: isGit,
7154
7022
  worktree_count: worktreeCount,
@@ -7164,7 +7032,6 @@ async function logStartupTelemetry() {
7164
7032
  var CURRENT_MIGRATION_VERSION = 11;
7165
7033
  function runMigrations() {
7166
7034
  if (getGlobalConfig().migrationVersion !== CURRENT_MIGRATION_VERSION) {
7167
- migrateAutoUpdatesToSettings();
7168
7035
  migrateBypassPermissionsAcceptedToSettings();
7169
7036
  migrateEnableAllProjectMcpServersToSettings();
7170
7037
  resetProToOpusDefault();
@@ -7177,10 +7044,7 @@ function runMigrations() {
7177
7044
  if (process.env.USER_TYPE === "ant") {
7178
7045
  migrateFennecToOpus();
7179
7046
  }
7180
- saveGlobalConfig((prev) => prev.migrationVersion === CURRENT_MIGRATION_VERSION ? prev : {
7181
- ...prev,
7182
- migrationVersion: CURRENT_MIGRATION_VERSION
7183
- });
7047
+ saveGlobalConfig((prev) => prev.migrationVersion === CURRENT_MIGRATION_VERSION ? prev : { ...prev, migrationVersion: CURRENT_MIGRATION_VERSION });
7184
7048
  }
7185
7049
  migrateChangelogFromConfig().catch(() => {});
7186
7050
  }
@@ -7242,9 +7106,7 @@ function loadSettingsFromFlag(settingsFile) {
7242
7106
  });
7243
7107
  writeFileSync_DEPRECATED(settingsPath, trimmedSettings, "utf8");
7244
7108
  } else {
7245
- const {
7246
- resolvedPath: resolvedSettingsPath
7247
- } = safeResolvePath(getFsImplementation(), settingsFile);
7109
+ const { resolvedPath: resolvedSettingsPath } = safeResolvePath(getFsImplementation(), settingsFile);
7248
7110
  try {
7249
7111
  readFileSync(resolvedSettingsPath, "utf8");
7250
7112
  } catch (e) {
@@ -7325,7 +7187,24 @@ async function main() {
7325
7187
  });
7326
7188
  profileCheckpoint("main_warning_handler_initialized");
7327
7189
  if (false) {}
7328
- if (false) {}
7190
+ if (true) {
7191
+ const handleUriIdx = process.argv.indexOf("--handle-uri");
7192
+ if (handleUriIdx !== -1 && process.argv[handleUriIdx + 1]) {
7193
+ const { enableConfigs: enableConfigs2 } = await import("./chunk-ht1nfygk.js");
7194
+ enableConfigs2();
7195
+ const uri = process.argv[handleUriIdx + 1];
7196
+ const { handleDeepLinkUri } = await import("./chunk-7ns74x0q.js");
7197
+ const exitCode = await handleDeepLinkUri(uri);
7198
+ process.exit(exitCode);
7199
+ }
7200
+ if (process.platform === "darwin" && process.env.__CFBundleIdentifier === "com.anthropic.claude-code-url-handler") {
7201
+ const { enableConfigs: enableConfigs2 } = await import("./chunk-ht1nfygk.js");
7202
+ enableConfigs2();
7203
+ const { handleUrlSchemeLaunch } = await import("./chunk-7ns74x0q.js");
7204
+ const urlSchemeResult = await handleUrlSchemeLaunch();
7205
+ process.exit(urlSchemeResult ?? 1);
7206
+ }
7207
+ }
7329
7208
  if (false) {}
7330
7209
  if (false) {}
7331
7210
  const cliArgs = process.argv.slice(2);
@@ -7402,10 +7281,7 @@ async function run() {
7402
7281
  profileCheckpoint("run_function_start");
7403
7282
  function createSortedHelpConfig() {
7404
7283
  const getOptionSortKey = (opt) => opt.long?.replace(/^--/, "") ?? opt.short?.replace(/^-/, "") ?? "";
7405
- return Object.assign({
7406
- sortSubcommands: true,
7407
- sortOptions: true
7408
- }, {
7284
+ return Object.assign({ sortSubcommands: true, sortOptions: true }, {
7409
7285
  compareOptions: (a, b) => getOptionSortKey(a).localeCompare(getOptionSortKey(b))
7410
7286
  });
7411
7287
  }
@@ -7413,16 +7289,17 @@ async function run() {
7413
7289
  profileCheckpoint("run_commander_initialized");
7414
7290
  program2.hook("preAction", async (thisCommand) => {
7415
7291
  profileCheckpoint("preAction_start");
7416
- await Promise.all([ensureMdmSettingsLoaded(), ensureKeychainPrefetchCompleted()]);
7292
+ await Promise.all([
7293
+ ensureMdmSettingsLoaded(),
7294
+ ensureKeychainPrefetchCompleted()
7295
+ ]);
7417
7296
  profileCheckpoint("preAction_after_mdm");
7418
7297
  await init();
7419
7298
  profileCheckpoint("preAction_after_init");
7420
7299
  if (!isEnvTruthy(process.env.CLAUDE_CODE_DISABLE_TERMINAL_TITLE)) {
7421
7300
  process.title = "claude";
7422
7301
  }
7423
- const {
7424
- initSinks
7425
- } = await import("./chunk-tth904tj.js");
7302
+ const { initSinks } = await import("./chunk-559yvwh1.js");
7426
7303
  initSinks();
7427
7304
  profileCheckpoint("preAction_after_sinks");
7428
7305
  const pluginDir = thisCommand.getOptionValue("pluginDir");
@@ -7473,9 +7350,7 @@ async function run() {
7473
7350
  prompt = undefined;
7474
7351
  }
7475
7352
  if (prompt && typeof prompt === "string" && !/\s/.test(prompt) && prompt.length > 0) {
7476
- logEvent("tengu_single_word_prompt", {
7477
- length: prompt.length
7478
- });
7353
+ logEvent("tengu_single_word_prompt", { length: prompt.length });
7479
7354
  }
7480
7355
  let kairosEnabled = false;
7481
7356
  let assistantTeamContext;
@@ -7740,10 +7615,7 @@ ${addendum}` : addendum;
7740
7615
  if (errors.length > 0) {
7741
7616
  allErrors.push(...errors);
7742
7617
  } else if (configs) {
7743
- allConfigs = {
7744
- ...allConfigs,
7745
- ...configs
7746
- };
7618
+ allConfigs = { ...allConfigs, ...configs };
7747
7619
  }
7748
7620
  }
7749
7621
  if (allErrors.length > 0) {
@@ -7766,7 +7638,7 @@ ${formattedErrors}
7766
7638
  const {
7767
7639
  isComputerUseMCPServer,
7768
7640
  COMPUTER_USE_MCP_SERVER_NAME
7769
- } = await import("./chunk-krstc7m7.js");
7641
+ } = await import("./chunk-zfapazzd.js");
7770
7642
  if (nonSdkConfigNames.some(isComputerUseMCPServer)) {
7771
7643
  reservedNameError = `Invalid MCP configuration: "${COMPUTER_USE_MCP_SERVER_NAME}" is a reserved MCP name.`;
7772
7644
  }
@@ -7780,23 +7652,17 @@ ${formattedErrors}
7780
7652
  ...config,
7781
7653
  scope: "dynamic"
7782
7654
  }));
7783
- const {
7784
- allowed,
7785
- blocked
7786
- } = filterMcpServersByPolicy(scopedConfigs);
7655
+ const { allowed, blocked } = filterMcpServersByPolicy(scopedConfigs);
7787
7656
  if (blocked.length > 0) {
7788
7657
  process.stderr.write(`Warning: MCP ${plural(blocked.length, "server")} blocked by enterprise policy: ${blocked.join(", ")}
7789
7658
  `);
7790
7659
  }
7791
- dynamicMcpConfig = {
7792
- ...dynamicMcpConfig,
7793
- ...allowed
7794
- };
7660
+ dynamicMcpConfig = { ...dynamicMcpConfig, ...allowed };
7795
7661
  }
7796
7662
  }
7797
7663
  const chromeOpts = options;
7798
7664
  setChromeFlagOverride(chromeOpts.chrome);
7799
- const enableClaudeInChrome = shouldEnableClaudeInChrome(chromeOpts.chrome);
7665
+ const enableClaudeInChrome = shouldEnableClaudeInChrome(chromeOpts.chrome) && (process.env.USER_TYPE === "ant" || isClaudeAISubscriber());
7800
7666
  const autoEnableClaudeInChrome = !enableClaudeInChrome && shouldAutoEnableClaudeInChrome();
7801
7667
  if (enableClaudeInChrome) {
7802
7668
  const platform = getPlatform();
@@ -7830,9 +7696,7 @@ ${appendSystemPrompt}` : chromeSystemPrompt;
7830
7696
  }
7831
7697
  } else if (autoEnableClaudeInChrome) {
7832
7698
  try {
7833
- const {
7834
- mcpConfig: chromeMcpConfig
7835
- } = setupClaudeInChrome();
7699
+ const { mcpConfig: chromeMcpConfig } = setupClaudeInChrome();
7836
7700
  dynamicMcpConfig = {
7837
7701
  ...dynamicMcpConfig,
7838
7702
  ...chromeMcpConfig
@@ -7856,19 +7720,12 @@ ${hint}` : hint;
7856
7720
  process.exit(1);
7857
7721
  }
7858
7722
  }
7859
- if (!getIsNonInteractiveSession()) {
7723
+ if (getPlatform() !== "unknown" && !getIsNonInteractiveSession()) {
7860
7724
  try {
7861
- const {
7862
- getChicagoEnabled
7863
- } = await import("./chunk-ng6n9t4h.js");
7725
+ const { getChicagoEnabled } = await import("./chunk-njrz6mbe.js");
7864
7726
  if (getChicagoEnabled()) {
7865
- const {
7866
- setupComputerUseMCP
7867
- } = await import("./chunk-vybkxr18.js");
7868
- const {
7869
- mcpConfig: mcpConfig2,
7870
- allowedTools: cuTools
7871
- } = setupComputerUseMCP();
7727
+ const { setupComputerUseMCP } = await import("./chunk-15y014gg.js");
7728
+ const { mcpConfig: mcpConfig2, allowedTools: cuTools } = setupComputerUseMCP();
7872
7729
  dynamicMcpConfig = {
7873
7730
  ...dynamicMcpConfig,
7874
7731
  ...mcpConfig2
@@ -7882,7 +7739,14 @@ ${hint}` : hint;
7882
7739
  setAdditionalDirectoriesForClaudeMd(addDir);
7883
7740
  let devChannels;
7884
7741
  if (false) {}
7885
- if (false) {}
7742
+ if (baseTools.length > 0) {
7743
+ const { BRIEF_TOOL_NAME, LEGACY_BRIEF_TOOL_NAME } = (init_prompt(), __toCommonJS(exports_prompt));
7744
+ const { isBriefEntitled } = (init_BriefTool(), __toCommonJS(exports_BriefTool));
7745
+ const parsed = parseToolListFromCLI(baseTools);
7746
+ if ((parsed.includes(BRIEF_TOOL_NAME) || parsed.includes(LEGACY_BRIEF_TOOL_NAME)) && isBriefEntitled()) {
7747
+ setUserMsgOptIn(true);
7748
+ }
7749
+ }
7886
7750
  const initResult = await initializeToolPermissionContext({
7887
7751
  allowedToolsCli: allowedTools,
7888
7752
  disallowedToolsCli: disallowedTools,
@@ -7907,12 +7771,8 @@ ${hint}` : hint;
7907
7771
  warnings.forEach((warning) => {
7908
7772
  console.error(warning);
7909
7773
  });
7910
- assertMinVersion();
7911
7774
  const claudeaiConfigPromise = isNonInteractiveSession && !strictMcpConfig && !doesEnterpriseMcpConfigExist() && !isBareMode() ? fetchClaudeAIMcpConfigsIfEligible().then((configs) => {
7912
- const {
7913
- allowed,
7914
- blocked
7915
- } = filterMcpServersByPolicy(configs);
7775
+ const { allowed, blocked } = filterMcpServersByPolicy(configs);
7916
7776
  if (blocked.length > 0) {
7917
7777
  process.stderr.write(`Warning: claude.ai MCP ${plural(blocked.length, "server")} blocked by enterprise policy: ${blocked.join(", ")}
7918
7778
  `);
@@ -7966,9 +7826,7 @@ ${hint}` : hint;
7966
7826
  if (false) {}
7967
7827
  profileCheckpoint("action_tools_loaded");
7968
7828
  let jsonSchema;
7969
- if (isSyntheticOutputToolEnabled({
7970
- isNonInteractiveSession
7971
- }) && options.jsonSchema) {
7829
+ if (isSyntheticOutputToolEnabled({ isNonInteractiveSession }) && options.jsonSchema) {
7972
7830
  jsonSchema = jsonParse(options.jsonSchema);
7973
7831
  }
7974
7832
  if (jsonSchema) {
@@ -7988,9 +7846,7 @@ ${hint}` : hint;
7988
7846
  profileCheckpoint("action_before_setup");
7989
7847
  logForDebugging("[STARTUP] Running setup()...");
7990
7848
  const setupStart = Date.now();
7991
- const {
7992
- setup
7993
- } = await import("./chunk-vyd8jzde.js");
7849
+ const { setup } = await import("./chunk-1mh5vt6v.js");
7994
7850
  const messagingSocketPath = undefined;
7995
7851
  const preSetupCwd = getCwd();
7996
7852
  if (process.env.CLAUDE_CODE_ENTRYPOINT !== "local-agent") {
@@ -8026,7 +7882,10 @@ ${hint}` : hint;
8026
7882
  const currentCwd = worktreeEnabled ? getCwd() : preSetupCwd;
8027
7883
  logForDebugging("[STARTUP] Loading commands and agents...");
8028
7884
  const commandsStart = Date.now();
8029
- const [commands, agentDefinitionsResult] = await Promise.all([commandsPromise ?? getCommands(currentCwd), agentDefsPromise ?? getAgentDefinitionsWithOverrides(currentCwd)]);
7885
+ const [commands, agentDefinitionsResult] = await Promise.all([
7886
+ commandsPromise ?? getCommands(currentCwd),
7887
+ agentDefsPromise ?? getAgentDefinitionsWithOverrides(currentCwd)
7888
+ ]);
8030
7889
  logForDebugging(`[STARTUP] Commands and agents loaded in ${Date.now() - commandsStart}ms`);
8031
7890
  profileCheckpoint("action_commands_loaded");
8032
7891
  let cliAgents = [];
@@ -8040,7 +7899,10 @@ ${hint}` : hint;
8040
7899
  logError(error);
8041
7900
  }
8042
7901
  }
8043
- const allAgents = [...agentDefinitionsResult.allAgents, ...cliAgents];
7902
+ const allAgents = [
7903
+ ...agentDefinitionsResult.allAgents,
7904
+ ...cliAgents
7905
+ ];
8044
7906
  const agentDefinitions = {
8045
7907
  ...agentDefinitionsResult,
8046
7908
  allAgents,
@@ -8142,7 +8004,12 @@ ${customInstructions}` : customInstructions;
8142
8004
  }
8143
8005
  }
8144
8006
  maybeActivateBrief(options);
8145
- if (false) {}
8007
+ if (!getIsNonInteractiveSession() && !getUserMsgOptIn() && getInitialSettings().defaultView === "chat") {
8008
+ const { isBriefEntitled } = (init_BriefTool(), __toCommonJS(exports_BriefTool));
8009
+ if (isBriefEntitled()) {
8010
+ setUserMsgOptIn(true);
8011
+ }
8012
+ }
8146
8013
  if (false) {}
8147
8014
  if (false) {}
8148
8015
  let root;
@@ -8155,9 +8022,7 @@ ${customInstructions}` : customInstructions;
8155
8022
  if (process.env.USER_TYPE === "ant") {
8156
8023
  installAsciicastRecorder();
8157
8024
  }
8158
- const {
8159
- createRoot
8160
- } = await import("./chunk-h19p6s3b.js");
8025
+ const { createRoot } = await import("./chunk-cqjmxeqv.js");
8161
8026
  root = await createRoot(ctx.renderOptions);
8162
8027
  logEvent("tengu_timer", {
8163
8028
  event: "startup",
@@ -8177,7 +8042,7 @@ ${customInstructions}` : customInstructions;
8177
8042
  refreshPolicyLimits();
8178
8043
  resetUserCache();
8179
8044
  refreshGrowthBookAfterAuthChange();
8180
- import("./chunk-8yvfkzyh.js").then((m) => {
8045
+ import("./chunk-7tdcwje9.js").then((m) => {
8181
8046
  m.clearTrustedDeviceToken();
8182
8047
  return m.enrollTrustedDevice();
8183
8048
  });
@@ -8193,9 +8058,7 @@ ${customInstructions}` : customInstructions;
8193
8058
  }
8194
8059
  initializeLspServerManager();
8195
8060
  if (!isNonInteractiveSession) {
8196
- const {
8197
- errors
8198
- } = getSettingsWithErrors();
8061
+ const { errors } = getSettingsWithErrors();
8199
8062
  const nonMcpErrors = errors.filter((e) => !e.mcpErrorMetadata);
8200
8063
  if (nonMcpErrors.length > 0) {
8201
8064
  await launchInvalidSettingsDialog(root, {
@@ -8231,9 +8094,7 @@ ${customInstructions}` : customInstructions;
8231
8094
  if (!isNonInteractiveSession) {
8232
8095
  refreshExampleCommands();
8233
8096
  }
8234
- const {
8235
- servers: existingMcpConfigs
8236
- } = await mcpConfigPromise;
8097
+ const { servers: existingMcpConfigs } = await mcpConfigPromise;
8237
8098
  logForDebugging(`[STARTUP] MCP configs resolved in ${mcpConfigResolvedMs}ms (awaited at +${Date.now() - mcpConfigStart}ms)`);
8238
8099
  const allMcpConfigs = {
8239
8100
  ...existingMcpConfigs,
@@ -8250,21 +8111,12 @@ ${customInstructions}` : customInstructions;
8250
8111
  }
8251
8112
  }
8252
8113
  profileCheckpoint("action_mcp_configs_loaded");
8253
- const localMcpPromise = isNonInteractiveSession ? Promise.resolve({
8254
- clients: [],
8255
- tools: [],
8256
- commands: []
8257
- }) : prefetchAllMcpResources(regularMcpConfigs);
8258
- const claudeaiMcpPromise = isNonInteractiveSession ? Promise.resolve({
8259
- clients: [],
8260
- tools: [],
8261
- commands: []
8262
- }) : claudeaiConfigPromise.then((configs) => Object.keys(configs).length > 0 ? prefetchAllMcpResources(configs) : {
8263
- clients: [],
8264
- tools: [],
8265
- commands: []
8266
- });
8267
- const mcpPromise = Promise.all([localMcpPromise, claudeaiMcpPromise]).then(([local, claudeai]) => ({
8114
+ const localMcpPromise = isNonInteractiveSession ? Promise.resolve({ clients: [], tools: [], commands: [] }) : prefetchAllMcpResources(regularMcpConfigs);
8115
+ const claudeaiMcpPromise = isNonInteractiveSession ? Promise.resolve({ clients: [], tools: [], commands: [] }) : claudeaiConfigPromise.then((configs) => Object.keys(configs).length > 0 ? prefetchAllMcpResources(configs) : { clients: [], tools: [], commands: [] });
8116
+ const mcpPromise = Promise.all([
8117
+ localMcpPromise,
8118
+ claudeaiMcpPromise
8119
+ ]).then(([local, claudeai]) => ({
8268
8120
  clients: [...local.clients, ...claudeai.clients],
8269
8121
  tools: uniqBy_default([...local.tools, ...claudeai.tools], "name"),
8270
8122
  commands: uniqBy_default([...local.commands, ...claudeai.commands], "name")
@@ -8279,21 +8131,13 @@ ${customInstructions}` : customInstructions;
8279
8131
  const mcpTools = [];
8280
8132
  const mcpCommands = [];
8281
8133
  let thinkingEnabled = shouldEnableThinkingByDefault();
8282
- let thinkingConfig = thinkingEnabled !== false ? {
8283
- type: "adaptive"
8284
- } : {
8285
- type: "disabled"
8286
- };
8134
+ let thinkingConfig = thinkingEnabled !== false ? { type: "adaptive" } : { type: "disabled" };
8287
8135
  if (options.thinking === "adaptive" || options.thinking === "enabled") {
8288
8136
  thinkingEnabled = true;
8289
- thinkingConfig = {
8290
- type: "adaptive"
8291
- };
8137
+ thinkingConfig = { type: "adaptive" };
8292
8138
  } else if (options.thinking === "disabled") {
8293
8139
  thinkingEnabled = false;
8294
- thinkingConfig = {
8295
- type: "disabled"
8296
- };
8140
+ thinkingConfig = { type: "disabled" };
8297
8141
  } else {
8298
8142
  const maxThinkingTokens = process.env.MAX_THINKING_TOKENS ? parseInt(process.env.MAX_THINKING_TOKENS, 10) : options.maxThinkingTokens;
8299
8143
  if (maxThinkingTokens !== undefined) {
@@ -8305,9 +8149,7 @@ ${customInstructions}` : customInstructions;
8305
8149
  };
8306
8150
  } else if (maxThinkingTokens === 0) {
8307
8151
  thinkingEnabled = false;
8308
- thinkingConfig = {
8309
- type: "disabled"
8310
- };
8152
+ thinkingConfig = { type: "disabled" };
8311
8153
  }
8312
8154
  }
8313
8155
  }
@@ -8373,9 +8215,7 @@ ${customInstructions}` : customInstructions;
8373
8215
  const setupTrigger = initOnly || init2 ? "init" : maintenance ? "maintenance" : null;
8374
8216
  if (initOnly) {
8375
8217
  applyConfigEnvironmentVariables();
8376
- await processSetupHooks("init", {
8377
- forceSyncExecution: true
8378
- });
8218
+ await processSetupHooks("init", { forceSyncExecution: true });
8379
8219
  await processSessionStartHooks("startup", {
8380
8220
  forceSyncExecution: true
8381
8221
  });
@@ -8412,9 +8252,7 @@ ${customInstructions}` : customInstructions;
8412
8252
  ...isFastModeEnabled() && {
8413
8253
  fastMode: getInitialFastModeSetting(effectiveModel ?? null)
8414
8254
  },
8415
- ...isAdvisorEnabled() && advisorModel && {
8416
- advisorModel
8417
- },
8255
+ ...isAdvisorEnabled() && advisorModel && { advisorModel },
8418
8256
  ...{}
8419
8257
  };
8420
8258
  const headlessStore = createStore(headlessInitialState, onChangeAppState);
@@ -8433,18 +8271,17 @@ ${customInstructions}` : customInstructions;
8433
8271
  ...prev,
8434
8272
  mcp: {
8435
8273
  ...prev.mcp,
8436
- clients: [...prev.mcp.clients, ...Object.entries(configs).map(([name, config]) => ({
8437
- name,
8438
- type: "pending",
8439
- config
8440
- }))]
8274
+ clients: [
8275
+ ...prev.mcp.clients,
8276
+ ...Object.entries(configs).map(([name, config]) => ({
8277
+ name,
8278
+ type: "pending",
8279
+ config
8280
+ }))
8281
+ ]
8441
8282
  }
8442
8283
  }));
8443
- return getMcpToolsCommandsAndResources(({
8444
- client,
8445
- tools: tools2,
8446
- commands: commands2
8447
- }) => {
8284
+ return getMcpToolsCommandsAndResources(({ client, tools: tools2, commands: commands2 }) => {
8448
8285
  headlessStore.setState((prev) => ({
8449
8286
  ...prev,
8450
8287
  mcp: {
@@ -8511,15 +8348,16 @@ ${customInstructions}` : customInstructions;
8511
8348
  }
8512
8349
  }
8513
8350
  const nonPluginConfigs = pickBy_default(regularMcpConfigs, (_, n) => !n.startsWith("plugin:"));
8514
- const {
8515
- servers: dedupedClaudeAi
8516
- } = dedupClaudeAiMcpServers(claudeaiConfigs, nonPluginConfigs);
8351
+ const { servers: dedupedClaudeAi } = dedupClaudeAiMcpServers(claudeaiConfigs, nonPluginConfigs);
8517
8352
  return connectMcpBatch(dedupedClaudeAi, "claudeai");
8518
8353
  });
8519
8354
  let claudeaiTimer;
8520
- const claudeaiTimedOut = await Promise.race([claudeaiConnect.then(() => false), new Promise((resolve2) => {
8521
- claudeaiTimer = setTimeout((r) => r(true), CLAUDE_AI_MCP_TIMEOUT_MS, resolve2);
8522
- })]);
8355
+ const claudeaiTimedOut = await Promise.race([
8356
+ claudeaiConnect.then(() => false),
8357
+ new Promise((resolve2) => {
8358
+ claudeaiTimer = setTimeout((r) => r(true), CLAUDE_AI_MCP_TIMEOUT_MS, resolve2);
8359
+ })
8360
+ ]);
8523
8361
  if (claudeaiTimer)
8524
8362
  clearTimeout(claudeaiTimer);
8525
8363
  if (claudeaiTimedOut) {
@@ -8528,16 +8366,14 @@ ${customInstructions}` : customInstructions;
8528
8366
  profileCheckpoint("after_connectMcp_claudeai");
8529
8367
  if (!isBareMode()) {
8530
8368
  startDeferredPrefetches();
8531
- import("./chunk-krjsvmwp.js").then((m) => m.startBackgroundHousekeeping());
8369
+ import("./chunk-j7pbwf9x.js").then((m) => m.startBackgroundHousekeeping());
8532
8370
  if (process.env.USER_TYPE === "ant") {
8533
8371
  import("./chunk-3nk79af8.js").then((m) => m.startSdkMemoryMonitor());
8534
8372
  }
8535
8373
  }
8536
8374
  logSessionTelemetry();
8537
8375
  profileCheckpoint("before_print_import");
8538
- const {
8539
- runHeadless
8540
- } = await import("./chunk-r55r29js.js");
8376
+ const { runHeadless } = await import("./chunk-bf1j3azq.js");
8541
8377
  profileCheckpoint("after_print_import");
8542
8378
  runHeadless(inputPrompt, () => headlessStore.getState(), headlessStore.setState, commandsHeadless, tools, sdkMcpConfigs, agentDefinitions.activeAgents, {
8543
8379
  continue: options.continue,
@@ -8550,9 +8386,7 @@ ${customInstructions}` : customInstructions;
8550
8386
  thinkingConfig,
8551
8387
  maxTurns: options.maxTurns,
8552
8388
  maxBudgetUsd: options.maxBudgetUsd,
8553
- taskBudget: options.taskBudget ? {
8554
- total: options.taskBudget
8555
- } : undefined,
8389
+ taskBudget: options.taskBudget ? { total: options.taskBudget } : undefined,
8556
8390
  systemPrompt,
8557
8391
  appendSystemPrompt,
8558
8392
  userSpecifiedModel: effectiveModel,
@@ -8612,7 +8446,7 @@ ${customInstructions}` : customInstructions;
8612
8446
  ...toolPermissionContext,
8613
8447
  mode: isAgentSwarmsEnabled() && getTeammateUtils().isPlanModeRequired() ? "plan" : toolPermissionContext.mode
8614
8448
  };
8615
- const initialIsBriefOnly = false;
8449
+ const initialIsBriefOnly = getUserMsgOptIn();
8616
8450
  const fullRemoteControl = remoteControl || getRemoteControlAtStartup() || kairosEnabled;
8617
8451
  let ccrMirrorEnabled = false;
8618
8452
  if (false) {}
@@ -8717,10 +8551,8 @@ ${customInstructions}` : customInstructions;
8717
8551
  effortValue: parseEffortValue(options.effort) ?? getInitialEffortSetting(),
8718
8552
  activeOverlays: new Set,
8719
8553
  fastMode: getInitialFastModeSetting(resolvedInitialModel),
8720
- ...isAdvisorEnabled() && advisorModel && {
8721
- advisorModel
8722
- },
8723
- teamContext: computeInitialTeamContext?.() || undefined
8554
+ ...isAdvisorEnabled() && advisorModel && { advisorModel },
8555
+ teamContext: computeInitialTeamContext?.()
8724
8556
  };
8725
8557
  if (inputPrompt) {
8726
8558
  addToHistory(String(inputPrompt));
@@ -8768,9 +8600,7 @@ ${customInstructions}` : customInstructions;
8768
8600
  let resumeSucceeded = false;
8769
8601
  try {
8770
8602
  const resumeStart = performance.now();
8771
- const {
8772
- clearSessionCaches
8773
- } = await import("./chunk-vp6nrhdq.js");
8603
+ const { clearSessionCaches } = await import("./chunk-ffhejx56.js");
8774
8604
  clearSessionCaches();
8775
8605
  const result = await loadConversationForResume(undefined, undefined);
8776
8606
  if (!result) {
@@ -8817,16 +8647,14 @@ ${customInstructions}` : customInstructions;
8817
8647
  process.exit(1);
8818
8648
  }
8819
8649
  } else if (false) {} else if (false) {} else if (false) {} else if (options.resume || options.fromPr || teleport || remote !== null) {
8820
- const {
8821
- clearSessionCaches
8822
- } = await import("./chunk-vp6nrhdq.js");
8650
+ const { clearSessionCaches } = await import("./chunk-ffhejx56.js");
8823
8651
  clearSessionCaches();
8824
8652
  let messages = null;
8825
- let processedResume = undefined;
8653
+ let processedResume;
8826
8654
  let maybeSessionId = validateUuid(options.resume);
8827
- let searchTerm = undefined;
8655
+ let searchTerm;
8828
8656
  let matchedLog = null;
8829
- let filterByPr = undefined;
8657
+ let filterByPr;
8830
8658
  if (options.fromPr) {
8831
8659
  if (options.fromPr === true) {
8832
8660
  filterByPr = true;
@@ -8894,16 +8722,12 @@ Usage: claude --remote "your task description"`, () => gracefulShutdown(1));
8894
8722
  logError(toError(error));
8895
8723
  return await exitWithError(root, `Error: ${errorMessage(error) || "Failed to authenticate"}`, () => gracefulShutdown(1));
8896
8724
  }
8897
- const {
8898
- getClaudeAIOAuthTokens: getTokensForRemote
8899
- } = await import("./chunk-khdjg2v9.js");
8725
+ const { getClaudeAIOAuthTokens: getTokensForRemote } = await import("./chunk-a3k4w4cm.js");
8900
8726
  const getAccessTokenForRemote = () => getTokensForRemote()?.accessToken ?? apiCreds.accessToken;
8901
8727
  const remoteSessionConfig = createRemoteSessionConfig(createdSession.id, getAccessTokenForRemote, apiCreds.orgUUID, hasInitialPrompt);
8902
8728
  const remoteSessionUrl = `${getRemoteSessionUrl(createdSession.id)}?m=0`;
8903
8729
  const remoteInfoMessage = createSystemMessage(`/remote-control is active. Code in CLI or at ${remoteSessionUrl}`, "info");
8904
- const initialUserMessage = hasInitialPrompt ? createUserMessage({
8905
- content: remote
8906
- }) : null;
8730
+ const initialUserMessage = hasInitialPrompt ? createUserMessage({ content: remote }) : null;
8907
8731
  const remoteInitialState = {
8908
8732
  ...initialState,
8909
8733
  remoteSessionUrl
@@ -8935,9 +8759,7 @@ Usage: claude --remote "your task description"`, () => gracefulShutdown(1));
8935
8759
  await gracefulShutdown(0);
8936
8760
  process.exit(0);
8937
8761
  }
8938
- const {
8939
- branchError
8940
- } = await checkOutTeleportedSessionBranch(teleportResult.branch);
8762
+ const { branchError } = await checkOutTeleportedSessionBranch(teleportResult.branch);
8941
8763
  messages = processMessagesForTeleportResume(teleportResult.log, branchError);
8942
8764
  } else if (typeof teleport === "string") {
8943
8765
  logEvent("tengu_teleport_resume_session", {
@@ -8973,13 +8795,9 @@ Usage: claude --remote "your task description"`, () => gracefulShutdown(1));
8973
8795
  `));
8974
8796
  }
8975
8797
  await validateGitState();
8976
- const {
8977
- teleportWithProgress
8978
- } = await import("./chunk-fqtwqxxc.js");
8798
+ const { teleportWithProgress } = await import("./chunk-99pmbfqp.js");
8979
8799
  const result = await teleportWithProgress(root, teleport);
8980
- setTeleportedSessionInfo({
8981
- sessionId: teleport
8982
- });
8800
+ setTeleportedSessionInfo({ sessionId: teleport });
8983
8801
  messages = result.messages;
8984
8802
  } catch (error) {
8985
8803
  if (error instanceof TeleportOperationError) {
@@ -8996,10 +8814,7 @@ Usage: claude --remote "your task description"`, () => gracefulShutdown(1));
8996
8814
  }
8997
8815
  if (process.env.USER_TYPE === "ant") {
8998
8816
  if (options.resume && typeof options.resume === "string" && !maybeSessionId) {
8999
- const {
9000
- parseCcshareId,
9001
- loadCcshare
9002
- } = await import("./chunk-9x5zgy22.js");
8817
+ const { parseCcshareId, loadCcshare } = await import("./chunk-9x5zgy22.js");
9003
8818
  const ccshareId = parseCcshareId(options.resume);
9004
8819
  if (ccshareId) {
9005
8820
  try {
@@ -9150,11 +8965,7 @@ Usage: claude --remote "your task description"`, () => gracefulShutdown(1));
9150
8965
  initialAgentColor: resumeData.agentColor
9151
8966
  }, renderAndRun);
9152
8967
  } else {
9153
- await launchResumeChooser(root, {
9154
- getFpsMetrics,
9155
- stats,
9156
- initialState
9157
- }, getWorktreePaths(getOriginalCwd()), {
8968
+ await launchResumeChooser(root, { getFpsMetrics, stats, initialState }, getWorktreePaths(getOriginalCwd()), {
9158
8969
  ...sessionConfig,
9159
8970
  initialSearchQuery: searchTerm,
9160
8971
  forkSession: options.forkSession,
@@ -9168,13 +8979,24 @@ Usage: claude --remote "your task description"`, () => gracefulShutdown(1));
9168
8979
  maybeActivateBrief(options);
9169
8980
  if (false) {}
9170
8981
  let deepLinkBanner = null;
9171
- if (false) {}
8982
+ if (true) {
8983
+ if (options.deepLinkOrigin) {
8984
+ logEvent("tengu_deep_link_opened", {
8985
+ has_prefill: Boolean(options.prefill),
8986
+ has_repo: Boolean(options.deepLinkRepo)
8987
+ });
8988
+ deepLinkBanner = createSystemMessage(buildDeepLinkBanner({
8989
+ cwd: getCwd(),
8990
+ prefillLength: options.prefill?.length,
8991
+ repo: options.deepLinkRepo,
8992
+ lastFetch: options.deepLinkLastFetch !== undefined ? new Date(options.deepLinkLastFetch) : undefined
8993
+ }), "warning");
8994
+ } else if (options.prefill) {
8995
+ deepLinkBanner = createSystemMessage("Launched with a pre-filled prompt \u2014 review it before pressing Enter.", "warning");
8996
+ }
8997
+ }
9172
8998
  const initialMessages = deepLinkBanner ? [deepLinkBanner, ...hookMessages] : hookMessages.length > 0 ? hookMessages : undefined;
9173
- await launchRepl(root, {
9174
- getFpsMetrics,
9175
- stats,
9176
- initialState
9177
- }, {
8999
+ await launchRepl(root, { getFpsMetrics, stats, initialState }, {
9178
9000
  ...sessionConfig,
9179
9001
  initialMessages,
9180
9002
  pendingHookMessages
@@ -9190,19 +9012,17 @@ Usage: claude --remote "your task description"`, () => gracefulShutdown(1));
9190
9012
  program2.addOption(new Option("--delegate-permissions", "[ANT-ONLY] Alias for --permission-mode auto.").implies({
9191
9013
  permissionMode: "auto"
9192
9014
  }));
9193
- program2.addOption(new Option("--dangerously-skip-permissions-with-classifiers", "[ANT-ONLY] Deprecated alias for --permission-mode auto.").hideHelp().implies({
9194
- permissionMode: "auto"
9195
- }));
9196
- program2.addOption(new Option("--afk", "[ANT-ONLY] Deprecated alias for --permission-mode auto.").hideHelp().implies({
9197
- permissionMode: "auto"
9198
- }));
9015
+ program2.addOption(new Option("--dangerously-skip-permissions-with-classifiers", "[ANT-ONLY] Deprecated alias for --permission-mode auto.").hideHelp().implies({ permissionMode: "auto" }));
9016
+ program2.addOption(new Option("--afk", "[ANT-ONLY] Deprecated alias for --permission-mode auto.").hideHelp().implies({ permissionMode: "auto" }));
9199
9017
  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());
9200
9018
  program2.option("--agent-teams", "[ANT-ONLY] Force Claude to use multi-agent mode for solving problems", () => true);
9201
9019
  }
9202
9020
  if (false) {}
9203
9021
  if (false) {}
9204
9022
  if (false) {}
9205
- if (false) {}
9023
+ if (true) {
9024
+ program2.addOption(new Option("--brief", "Enable SendUserMessage tool for agent-to-user communication"));
9025
+ }
9206
9026
  if (false) {}
9207
9027
  if (false) {}
9208
9028
  program2.addOption(new Option("--agent-id <id>", "Teammate agent ID").hideHelp());
@@ -9232,52 +9052,35 @@ Usage: claude --remote "your task description"`, () => gracefulShutdown(1));
9232
9052
  debug,
9233
9053
  verbose
9234
9054
  }) => {
9235
- const {
9236
- mcpServeHandler
9237
- } = await import("./chunk-qvd0k5dn.js");
9238
- await mcpServeHandler({
9239
- debug,
9240
- verbose
9241
- });
9055
+ const { mcpServeHandler } = await import("./chunk-gnmdprq3.js");
9056
+ await mcpServeHandler({ debug, verbose });
9242
9057
  });
9243
9058
  registerMcpAddCommand(mcp);
9244
9059
  if (isXaaEnabled()) {
9245
9060
  registerMcpXaaIdpCommand(mcp);
9246
9061
  }
9247
9062
  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) => {
9248
- const {
9249
- mcpRemoveHandler
9250
- } = await import("./chunk-qvd0k5dn.js");
9063
+ const { mcpRemoveHandler } = await import("./chunk-gnmdprq3.js");
9251
9064
  await mcpRemoveHandler(name, options);
9252
9065
  });
9253
9066
  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 () => {
9254
- const {
9255
- mcpListHandler
9256
- } = await import("./chunk-qvd0k5dn.js");
9067
+ const { mcpListHandler } = await import("./chunk-gnmdprq3.js");
9257
9068
  await mcpListHandler();
9258
9069
  });
9259
9070
  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) => {
9260
- const {
9261
- mcpGetHandler
9262
- } = await import("./chunk-qvd0k5dn.js");
9071
+ const { mcpGetHandler } = await import("./chunk-gnmdprq3.js");
9263
9072
  await mcpGetHandler(name);
9264
9073
  });
9265
9074
  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) => {
9266
- const {
9267
- mcpAddJsonHandler
9268
- } = await import("./chunk-qvd0k5dn.js");
9075
+ const { mcpAddJsonHandler } = await import("./chunk-gnmdprq3.js");
9269
9076
  await mcpAddJsonHandler(name, json, options);
9270
9077
  });
9271
9078
  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) => {
9272
- const {
9273
- mcpAddFromDesktopHandler
9274
- } = await import("./chunk-qvd0k5dn.js");
9079
+ const { mcpAddFromDesktopHandler } = await import("./chunk-gnmdprq3.js");
9275
9080
  await mcpAddFromDesktopHandler(options);
9276
9081
  });
9277
9082
  mcp.command("reset-project-choices").description("Reset all approved and rejected project-scoped (.mcp.json) servers within this project").action(async () => {
9278
- const {
9279
- mcpResetChoicesHandler
9280
- } = await import("./chunk-qvd0k5dn.js");
9083
+ const { mcpResetChoicesHandler } = await import("./chunk-gnmdprq3.js");
9281
9084
  await mcpResetChoicesHandler();
9282
9085
  });
9283
9086
  if (false) {}
@@ -9290,110 +9093,74 @@ Usage: claude --remote "your task description"`, () => gracefulShutdown(1));
9290
9093
  console: useConsole,
9291
9094
  claudeai
9292
9095
  }) => {
9293
- const {
9294
- authLogin
9295
- } = await import("./chunk-x45xx6sc.js");
9296
- await authLogin({
9297
- email,
9298
- sso,
9299
- console: useConsole,
9300
- claudeai
9301
- });
9096
+ const { authLogin } = await import("./chunk-rp568bfw.js");
9097
+ await authLogin({ email, sso, console: useConsole, claudeai });
9302
9098
  });
9303
9099
  auth.command("status").description("Show authentication status").option("--json", "Output as JSON (default)").option("--text", "Output as human-readable text").action(async (opts) => {
9304
- const {
9305
- authStatus
9306
- } = await import("./chunk-x45xx6sc.js");
9100
+ const { authStatus } = await import("./chunk-rp568bfw.js");
9307
9101
  await authStatus(opts);
9308
9102
  });
9309
9103
  auth.command("logout").description("Log out from your Anthropic account").action(async () => {
9310
- const {
9311
- authLogout
9312
- } = await import("./chunk-x45xx6sc.js");
9104
+ const { authLogout } = await import("./chunk-rp568bfw.js");
9313
9105
  await authLogout();
9314
9106
  });
9315
9107
  const coworkOption = () => new Option("--cowork", "Use cowork_plugins directory").hideHelp();
9316
9108
  const pluginCmd = program2.command("plugin").alias("plugins").description("Manage Claude Code plugins").configureHelp(createSortedHelpConfig());
9317
9109
  pluginCmd.command("validate <path>").description("Validate a plugin or marketplace manifest").addOption(coworkOption()).action(async (manifestPath, options) => {
9318
- const {
9319
- pluginValidateHandler
9320
- } = await import("./chunk-vjc1svpc.js");
9110
+ const { pluginValidateHandler } = await import("./chunk-zptcqa7t.js");
9321
9111
  await pluginValidateHandler(manifestPath, options);
9322
9112
  });
9323
9113
  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) => {
9324
- const {
9325
- pluginListHandler
9326
- } = await import("./chunk-vjc1svpc.js");
9114
+ const { pluginListHandler } = await import("./chunk-zptcqa7t.js");
9327
9115
  await pluginListHandler(options);
9328
9116
  });
9329
9117
  const marketplaceCmd = pluginCmd.command("marketplace").description("Manage Claude Code marketplaces").configureHelp(createSortedHelpConfig());
9330
9118
  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) => {
9331
- const {
9332
- marketplaceAddHandler
9333
- } = await import("./chunk-vjc1svpc.js");
9119
+ const { marketplaceAddHandler } = await import("./chunk-zptcqa7t.js");
9334
9120
  await marketplaceAddHandler(source, options);
9335
9121
  });
9336
9122
  marketplaceCmd.command("list").description("List all configured marketplaces").option("--json", "Output as JSON").addOption(coworkOption()).action(async (options) => {
9337
- const {
9338
- marketplaceListHandler
9339
- } = await import("./chunk-vjc1svpc.js");
9123
+ const { marketplaceListHandler } = await import("./chunk-zptcqa7t.js");
9340
9124
  await marketplaceListHandler(options);
9341
9125
  });
9342
9126
  marketplaceCmd.command("remove <name>").alias("rm").description("Remove a configured marketplace").addOption(coworkOption()).action(async (name, options) => {
9343
- const {
9344
- marketplaceRemoveHandler
9345
- } = await import("./chunk-vjc1svpc.js");
9127
+ const { marketplaceRemoveHandler } = await import("./chunk-zptcqa7t.js");
9346
9128
  await marketplaceRemoveHandler(name, options);
9347
9129
  });
9348
9130
  marketplaceCmd.command("update [name]").description("Update marketplace(s) from their source - updates all if no name specified").addOption(coworkOption()).action(async (name, options) => {
9349
- const {
9350
- marketplaceUpdateHandler
9351
- } = await import("./chunk-vjc1svpc.js");
9131
+ const { marketplaceUpdateHandler } = await import("./chunk-zptcqa7t.js");
9352
9132
  await marketplaceUpdateHandler(name, options);
9353
9133
  });
9354
9134
  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) => {
9355
- const {
9356
- pluginInstallHandler
9357
- } = await import("./chunk-vjc1svpc.js");
9135
+ const { pluginInstallHandler } = await import("./chunk-zptcqa7t.js");
9358
9136
  await pluginInstallHandler(plugin, options);
9359
9137
  });
9360
9138
  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) => {
9361
- const {
9362
- pluginUninstallHandler
9363
- } = await import("./chunk-vjc1svpc.js");
9139
+ const { pluginUninstallHandler } = await import("./chunk-zptcqa7t.js");
9364
9140
  await pluginUninstallHandler(plugin, options);
9365
9141
  });
9366
9142
  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) => {
9367
- const {
9368
- pluginEnableHandler
9369
- } = await import("./chunk-vjc1svpc.js");
9143
+ const { pluginEnableHandler } = await import("./chunk-zptcqa7t.js");
9370
9144
  await pluginEnableHandler(plugin, options);
9371
9145
  });
9372
9146
  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) => {
9373
- const {
9374
- pluginDisableHandler
9375
- } = await import("./chunk-vjc1svpc.js");
9147
+ const { pluginDisableHandler } = await import("./chunk-zptcqa7t.js");
9376
9148
  await pluginDisableHandler(plugin, options);
9377
9149
  });
9378
9150
  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) => {
9379
- const {
9380
- pluginUpdateHandler
9381
- } = await import("./chunk-vjc1svpc.js");
9151
+ const { pluginUpdateHandler } = await import("./chunk-zptcqa7t.js");
9382
9152
  await pluginUpdateHandler(plugin, options);
9383
9153
  });
9384
9154
  program2.command("setup-token").description("Set up a long-lived authentication token (requires Claude subscription)").action(async () => {
9385
- const [{
9386
- setupTokenHandler
9387
- }, {
9388
- createRoot
9389
- }] = await Promise.all([import("./chunk-t7cbhqd2.js"), import("./chunk-h19p6s3b.js")]);
9155
+ const [{ setupTokenHandler }, { createRoot }] = await Promise.all([
9156
+ import("./chunk-548g1d6z.js"),
9157
+ import("./chunk-cqjmxeqv.js")
9158
+ ]);
9390
9159
  const root = await createRoot(getBaseRenderOptions(false));
9391
9160
  await setupTokenHandler(root);
9392
9161
  });
9393
9162
  program2.command("agents").description("List configured agents").option("--setting-sources <sources>", "Comma-separated list of setting sources to load (user, project, local).").action(async () => {
9394
- const {
9395
- agentsHandler
9396
- } = await import("./chunk-n7158r58.js");
9163
+ const { agentsHandler } = await import("./chunk-7f1ggjr2.js");
9397
9164
  await agentsHandler();
9398
9165
  process.exit(0);
9399
9166
  });
@@ -9401,25 +9168,16 @@ Usage: claude --remote "your task description"`, () => gracefulShutdown(1));
9401
9168
  if (false) {}
9402
9169
  if (false) {}
9403
9170
  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 () => {
9404
- const [{
9405
- doctorHandler
9406
- }, {
9407
- createRoot
9408
- }] = await Promise.all([import("./chunk-t7cbhqd2.js"), import("./chunk-h19p6s3b.js")]);
9171
+ const [{ doctorHandler }, { createRoot }] = await Promise.all([
9172
+ import("./chunk-548g1d6z.js"),
9173
+ import("./chunk-cqjmxeqv.js")
9174
+ ]);
9409
9175
  const root = await createRoot(getBaseRenderOptions(false));
9410
9176
  await doctorHandler(root);
9411
9177
  });
9412
- program2.command("update").alias("upgrade").description("Check for updates and install if available").action(async () => {
9413
- const {
9414
- update
9415
- } = await import("./chunk-ddz8xbpd.js");
9416
- await update();
9417
- });
9418
9178
  if (process.env.USER_TYPE === "ant") {
9419
9179
  program2.command("up").description('[ANT-ONLY] Initialize or upgrade the local dev environment using the "# claude up" section of the nearest CLAUDE.md').action(async () => {
9420
- const {
9421
- up
9422
- } = await import("./chunk-ppwjyveh.js");
9180
+ const { up } = await import("./chunk-ppwjyveh.js");
9423
9181
  await up();
9424
9182
  });
9425
9183
  }
@@ -9430,16 +9188,12 @@ Examples:
9430
9188
  claude rollback Go 1 version back from current
9431
9189
  claude rollback 3 Go 3 versions back from current
9432
9190
  claude rollback 2.0.73-dev.20251217.t190658 Roll back to a specific version`).option("-l, --list", "List recent published versions with ages").option("--dry-run", "Show what would be installed without installing").option("--safe", "Roll back to the server-pinned safe version (set by oncall during incidents)").action(async (target, options) => {
9433
- const {
9434
- rollback
9435
- } = await import("./chunk-x6r4v44b.js");
9191
+ const { rollback } = await import("./chunk-x6r4v44b.js");
9436
9192
  await rollback(target, options);
9437
9193
  });
9438
9194
  }
9439
9195
  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) => {
9440
- const {
9441
- installHandler
9442
- } = await import("./chunk-t7cbhqd2.js");
9196
+ const { installHandler } = await import("./chunk-548g1d6z.js");
9443
9197
  await installHandler(target, options);
9444
9198
  });
9445
9199
  if (process.env.USER_TYPE === "ant") {
@@ -9450,15 +9204,11 @@ Examples:
9450
9204
  return Number(value);
9451
9205
  };
9452
9206
  program2.command("log").description("[ANT-ONLY] Manage conversation logs.").argument("[number|sessionId]", "A number (0, 1, 2, etc.) to display a specific log, or the sesssion ID (uuid) of a log", validateLogId).action(async (logId) => {
9453
- const {
9454
- logHandler
9455
- } = await import("./chunk-2fwze72g.js");
9207
+ const { logHandler } = await import("./chunk-2fwze72g.js");
9456
9208
  await logHandler(logId);
9457
9209
  });
9458
9210
  program2.command("error").description("[ANT-ONLY] View error logs. Optionally provide a number (0, -1, -2, etc.) to display a specific log.").argument("[number]", "A number (0, 1, 2, etc.) to display a specific log", parseInt).action(async (number) => {
9459
- const {
9460
- errorHandler
9461
- } = await import("./chunk-2fwze72g.js");
9211
+ const { errorHandler } = await import("./chunk-2fwze72g.js");
9462
9212
  await errorHandler(number);
9463
9213
  });
9464
9214
  program2.command("export").description("[ANT-ONLY] Export a conversation to a text file.").usage("<source> <outputFile>").argument("<source>", "Session ID, log index (0, 1, 2...), or path to a .json/.jsonl log file").argument("<outputFile>", "Output file path for the exported text").addHelpText("after", `
@@ -9467,50 +9217,34 @@ Examples:
9467
9217
  $ claude export <uuid> conversation.txt Export conversation by session ID
9468
9218
  $ claude export input.json output.txt Render JSON log file to text
9469
9219
  $ claude export <uuid>.jsonl output.txt Render JSONL session file to text`).action(async (source, outputFile) => {
9470
- const {
9471
- exportHandler
9472
- } = await import("./chunk-2fwze72g.js");
9220
+ const { exportHandler } = await import("./chunk-2fwze72g.js");
9473
9221
  await exportHandler(source, outputFile);
9474
9222
  });
9475
9223
  if (process.env.USER_TYPE === "ant") {
9476
9224
  const taskCmd = program2.command("task").description("[ANT-ONLY] Manage task list tasks");
9477
9225
  taskCmd.command("create <subject>").description("Create a new task").option("-d, --description <text>", "Task description").option("-l, --list <id>", 'Task list ID (defaults to "tasklist")').action(async (subject, opts) => {
9478
- const {
9479
- taskCreateHandler
9480
- } = await import("./chunk-2fwze72g.js");
9226
+ const { taskCreateHandler } = await import("./chunk-2fwze72g.js");
9481
9227
  await taskCreateHandler(subject, opts);
9482
9228
  });
9483
9229
  taskCmd.command("list").description("List all tasks").option("-l, --list <id>", 'Task list ID (defaults to "tasklist")').option("--pending", "Show only pending tasks").option("--json", "Output as JSON").action(async (opts) => {
9484
- const {
9485
- taskListHandler
9486
- } = await import("./chunk-2fwze72g.js");
9230
+ const { taskListHandler } = await import("./chunk-2fwze72g.js");
9487
9231
  await taskListHandler(opts);
9488
9232
  });
9489
9233
  taskCmd.command("get <id>").description("Get details of a task").option("-l, --list <id>", 'Task list ID (defaults to "tasklist")').action(async (id, opts) => {
9490
- const {
9491
- taskGetHandler
9492
- } = await import("./chunk-2fwze72g.js");
9234
+ const { taskGetHandler } = await import("./chunk-2fwze72g.js");
9493
9235
  await taskGetHandler(id, opts);
9494
9236
  });
9495
9237
  taskCmd.command("update <id>").description("Update a task").option("-l, --list <id>", 'Task list ID (defaults to "tasklist")').option("-s, --status <status>", `Set status (${TASK_STATUSES.join(", ")})`).option("--subject <text>", "Update subject").option("-d, --description <text>", "Update description").option("--owner <agentId>", "Set owner").option("--clear-owner", "Clear owner").action(async (id, opts) => {
9496
- const {
9497
- taskUpdateHandler
9498
- } = await import("./chunk-2fwze72g.js");
9238
+ const { taskUpdateHandler } = await import("./chunk-2fwze72g.js");
9499
9239
  await taskUpdateHandler(id, opts);
9500
9240
  });
9501
9241
  taskCmd.command("dir").description("Show the tasks directory path").option("-l, --list <id>", 'Task list ID (defaults to "tasklist")').action(async (opts) => {
9502
- const {
9503
- taskDirHandler
9504
- } = await import("./chunk-2fwze72g.js");
9242
+ const { taskDirHandler } = await import("./chunk-2fwze72g.js");
9505
9243
  await taskDirHandler(opts);
9506
9244
  });
9507
9245
  }
9508
- program2.command("completion <shell>", {
9509
- hidden: true
9510
- }).description("Generate shell completion script (bash, zsh, or fish)").option("--output <file>", "Write completion script directly to a file instead of stdout").action(async (shell, opts) => {
9511
- const {
9512
- completionHandler
9513
- } = await import("./chunk-2fwze72g.js");
9246
+ program2.command("completion <shell>", { hidden: true }).description("Generate shell completion script (bash, zsh, or fish)").option("--output <file>", "Write completion script directly to a file instead of stdout").action(async (shell, opts) => {
9247
+ const { completionHandler } = await import("./chunk-2fwze72g.js");
9514
9248
  await completionHandler(shell, opts, program2);
9515
9249
  });
9516
9250
  }
@@ -9599,15 +9333,13 @@ function maybeActivateProactive(options) {
9599
9333
  if (false) {}
9600
9334
  }
9601
9335
  function maybeActivateBrief(options) {
9602
- if (true)
9603
- return;
9336
+ if (false)
9337
+ ;
9604
9338
  const briefFlag = options.brief;
9605
9339
  const briefEnv = isEnvTruthy(process.env.CLAUDE_CODE_BRIEF);
9606
9340
  if (!briefFlag && !briefEnv)
9607
9341
  return;
9608
- const {
9609
- isBriefEntitled
9610
- } = (init_BriefTool(), __toCommonJS(exports_BriefTool));
9342
+ const { isBriefEntitled } = (init_BriefTool(), __toCommonJS(exports_BriefTool));
9611
9343
  const entitled = isBriefEntitled();
9612
9344
  if (entitled) {
9613
9345
  setUserMsgOptIn(true);