@costrict/csc 4.1.1 → 4.1.2

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 (413) hide show
  1. package/dist/{chunk-456jxy81.js → chunk-03g34taj.js} +55 -52
  2. package/dist/{chunk-mdmh4hh4.js → chunk-04h1dzn8.js} +58 -55
  3. package/dist/{chunk-3xwn1ww1.js → chunk-04js9982.js} +14 -14
  4. package/dist/{chunk-gfsh3syp.js → chunk-0cm9fcaq.js} +4 -4
  5. package/dist/{chunk-fnjqn6ez.js → chunk-0d8p649e.js} +200 -1296
  6. package/dist/{chunk-vtwf9pyn.js → chunk-0ftbdtb6.js} +2 -2
  7. package/dist/{chunk-7kznscxn.js → chunk-0kv76cch.js} +69 -66
  8. package/dist/{chunk-cp4da168.js → chunk-0q8601fc.js} +56 -53
  9. package/dist/{chunk-vhnm2h49.js → chunk-0s2qjxt0.js} +2 -2
  10. package/dist/{chunk-wvexwzsv.js → chunk-0vjhwg78.js} +4 -4
  11. package/dist/{chunk-wvh4g9jt.js → chunk-0wfby4jk.js} +55 -52
  12. package/dist/{chunk-d9tcjh43.js → chunk-0wzfz235.js} +55 -52
  13. package/dist/{chunk-8py19hja.js → chunk-0z3swktk.js} +58 -55
  14. package/dist/{chunk-na7nxj7y.js → chunk-0zwtzj7s.js} +4 -4
  15. package/dist/{chunk-304wjbyj.js → chunk-12b1dsca.js} +3 -3
  16. package/dist/{chunk-c05zaj6g.js → chunk-172aq1cm.js} +3 -3
  17. package/dist/{chunk-emvhjwh9.js → chunk-1928vvnf.js} +16 -16
  18. package/dist/{chunk-3yc8k84c.js → chunk-1gta3pqg.js} +26 -1390
  19. package/dist/{chunk-wn11yvgy.js → chunk-1hr30g9j.js} +56 -53
  20. package/dist/{chunk-hyptxmaj.js → chunk-1ta87008.js} +13 -13
  21. package/dist/{chunk-pjvthvm1.js → chunk-1tsg5bqp.js} +7 -7
  22. package/dist/{chunk-9ey1xvcm.js → chunk-1xdybmyp.js} +2 -2
  23. package/dist/{chunk-bz6pjkch.js → chunk-1xqh8b38.js} +2 -2
  24. package/dist/{chunk-p2r92sj1.js → chunk-1z6393pz.js} +55 -52
  25. package/dist/{chunk-js10hr63.js → chunk-20rdctr8.js} +59 -56
  26. package/dist/{chunk-78kph36p.js → chunk-2278qvvz.js} +82 -69
  27. package/dist/{chunk-krmmbjp9.js → chunk-27rca2qk.js} +14 -14
  28. package/dist/{chunk-b1my2ag9.js → chunk-28p3x5mq.js} +58 -55
  29. package/dist/{chunk-5nnjgn3n.js → chunk-29n8fs0h.js} +3 -3
  30. package/dist/{chunk-4xbk1cv1.js → chunk-2bahqsy8.js} +5 -5
  31. package/dist/{chunk-b0hjzm3t.js → chunk-2d4az1sb.js} +1051 -213
  32. package/dist/{chunk-bbm8cs3b.js → chunk-2dtsff0m.js} +2 -2
  33. package/dist/{chunk-hjfabpxk.js → chunk-2dvsb5m8.js} +3 -3
  34. package/dist/{chunk-fkjqakzs.js → chunk-2ea63hn5.js} +55 -52
  35. package/dist/{chunk-tbx1hn1a.js → chunk-2heyngx7.js} +55 -52
  36. package/dist/{chunk-cb3vp4tb.js → chunk-2n4jnkr3.js} +5 -5
  37. package/dist/{chunk-04fesxxb.js → chunk-2npy5n4d.js} +3 -3
  38. package/dist/{chunk-5bw23taw.js → chunk-2yz7ej7r.js} +3 -3
  39. package/dist/{chunk-naenwsts.js → chunk-347n8wrb.js} +56 -53
  40. package/dist/{chunk-qzwja18r.js → chunk-365z3p8q.js} +4 -4
  41. package/dist/{chunk-pathr6ec.js → chunk-3ax3g4ky.js} +5 -5
  42. package/dist/{chunk-6nqv04m4.js → chunk-3c22f5y8.js} +4 -4
  43. package/dist/{chunk-5x884kq9.js → chunk-3ed5qycn.js} +59 -56
  44. package/dist/{chunk-ctw9a4hh.js → chunk-3hw6pcqt.js} +12 -12
  45. package/dist/chunk-3j0f3yyd.js +20 -0
  46. package/dist/{chunk-g2r5nsx7.js → chunk-3keyh8d3.js} +2 -2
  47. package/dist/{chunk-hegr0s7q.js → chunk-3n8prx9k.js} +3 -3
  48. package/dist/{chunk-cqnfwapm.js → chunk-3tnabt1t.js} +2 -2
  49. package/dist/{chunk-837h4x1j.js → chunk-3ydfy1vc.js} +2 -2
  50. package/dist/{chunk-1qw175nj.js → chunk-41ncbfk7.js} +3 -3
  51. package/dist/{chunk-60731s4z.js → chunk-45ynv6r6.js} +2 -2
  52. package/dist/chunk-46sfycpp.js +125 -0
  53. package/dist/{chunk-cg0h6vpf.js → chunk-496449vy.js} +2 -2
  54. package/dist/{chunk-qhpnsf4r.js → chunk-49z79885.js} +3 -3
  55. package/dist/{chunk-25j8nzw3.js → chunk-4c8mdzm1.js} +4 -4
  56. package/dist/{chunk-3dkccqes.js → chunk-4f56n8y8.js} +4 -4
  57. package/dist/{chunk-1mft5mam.js → chunk-4ffz1d36.js} +4 -4
  58. package/dist/{chunk-4zqzdz62.js → chunk-4hgk89n9.js} +59 -56
  59. package/dist/{chunk-exag2njg.js → chunk-4k4kn7h2.js} +18 -18
  60. package/dist/{chunk-1yzryj0w.js → chunk-4ks3c21q.js} +64 -61
  61. package/dist/{chunk-e29wgmh7.js → chunk-4v3p8phf.js} +15 -15
  62. package/dist/chunk-4vzg1cn7.js +264 -0
  63. package/dist/{chunk-cxktxwv9.js → chunk-4xp653hr.js} +55 -52
  64. package/dist/{chunk-r1sfk1j6.js → chunk-4zvptd40.js} +60 -57
  65. package/dist/{chunk-v2gsemps.js → chunk-503675yy.js} +2 -2
  66. package/dist/{chunk-gf3t5h70.js → chunk-52d0caw3.js} +58 -55
  67. package/dist/{chunk-x0vsajns.js → chunk-56speggn.js} +3 -3
  68. package/dist/{chunk-rhndt0ek.js → chunk-58jcwxyh.js} +14 -14
  69. package/dist/{chunk-pv7jrynh.js → chunk-5bd0sf0q.js} +2 -2
  70. package/dist/chunk-5cxetff3.js +443 -0
  71. package/dist/{chunk-q0j190dz.js → chunk-5dm3xwms.js} +6 -6
  72. package/dist/{chunk-gn0d6g6p.js → chunk-5e4sk6wr.js} +3 -3
  73. package/dist/{chunk-a66xp7jk.js → chunk-5fny1a0a.js} +37 -13
  74. package/dist/{chunk-57h3kd2w.js → chunk-5hn85d4q.js} +58 -55
  75. package/dist/{chunk-jxefgv2b.js → chunk-5p3bwhcw.js} +5 -5
  76. package/dist/{chunk-09af0bmq.js → chunk-5r57a99p.js} +15 -15
  77. package/dist/{chunk-egv3k4gg.js → chunk-5thf5z45.js} +136 -44
  78. package/dist/chunk-5vbtjcd2.js +624 -0
  79. package/dist/{chunk-jpd98chs.js → chunk-5w9qcjjt.js} +61 -58
  80. package/dist/{chunk-wvevgh1a.js → chunk-5xj3z42h.js} +5 -5
  81. package/dist/{chunk-0hr0mh6d.js → chunk-62r8rxkw.js} +4 -4
  82. package/dist/chunk-64wm5777.js +85 -0
  83. package/dist/{chunk-sk9mmh7x.js → chunk-6a32d602.js} +55 -52
  84. package/dist/{chunk-1wxx3s6s.js → chunk-6aevda19.js} +2 -2
  85. package/dist/{chunk-2km8scdk.js → chunk-6bb0gyhh.js} +55 -52
  86. package/dist/{chunk-ancr20tb.js → chunk-6d9njm1w.js} +2 -2
  87. package/dist/{chunk-p3erbvbz.js → chunk-6fbvxhan.js} +3 -3
  88. package/dist/{chunk-7t9j97cz.js → chunk-6kddkcqk.js} +57 -54
  89. package/dist/{chunk-7nyptyee.js → chunk-6sytfk68.js} +5 -5
  90. package/dist/{chunk-8z5fmqh3.js → chunk-6ypvw68g.js} +55 -52
  91. package/dist/{chunk-z763jd56.js → chunk-6zkxtny0.js} +4 -4
  92. package/dist/{chunk-p60wnp9a.js → chunk-6zn0szv5.js} +19 -17
  93. package/dist/{chunk-s3tdz6j0.js → chunk-71053xes.js} +14 -14
  94. package/dist/chunk-758qmraw.js +66 -0
  95. package/dist/{chunk-25a6cm96.js → chunk-76g1m8sa.js} +16 -4
  96. package/dist/{chunk-xgjs3rkr.js → chunk-7b1ze28c.js} +55 -52
  97. package/dist/{chunk-a3m8brwc.js → chunk-7bq6az8b.js} +3 -3
  98. package/dist/{chunk-yjmtjd5c.js → chunk-7ckqn3c3.js} +55 -52
  99. package/dist/chunk-7d5gzxsx.js +145 -0
  100. package/dist/{chunk-rv57x1qr.js → chunk-7gyjd00q.js} +3 -3
  101. package/dist/{chunk-hn438x41.js → chunk-7hnmt967.js} +84 -80
  102. package/dist/{chunk-rmfp4mf2.js → chunk-7jbeh3g8.js} +3 -3
  103. package/dist/{chunk-kymq7j5k.js → chunk-7k0h27s8.js} +7 -7
  104. package/dist/{chunk-2fnpj7fv.js → chunk-7myptjaa.js} +5 -5
  105. package/dist/{chunk-s81bx611.js → chunk-7yq22pd2.js} +57 -54
  106. package/dist/{chunk-dk8te1zz.js → chunk-7zxvjs3d.js} +2 -2
  107. package/dist/{chunk-mwky1mwc.js → chunk-83v18n96.js} +14 -14
  108. package/dist/{chunk-f1az36w2.js → chunk-84a79s9g.js} +124 -150
  109. package/dist/{chunk-x0nt6xta.js → chunk-86n03xsk.js} +60 -57
  110. package/dist/{chunk-4aqc3s2f.js → chunk-87ddk39d.js} +6 -6
  111. package/dist/{chunk-vnsmwwcx.js → chunk-89jrgnx3.js} +15 -15
  112. package/dist/{chunk-3fs4xc9h.js → chunk-8dehkx39.js} +5 -5
  113. package/dist/{chunk-wwt8x57q.js → chunk-8fm77brm.js} +59 -56
  114. package/dist/{chunk-z9ezvde9.js → chunk-8fqa9v4h.js} +55 -52
  115. package/dist/{chunk-etqmgb7b.js → chunk-8pqe4w62.js} +62 -59
  116. package/dist/{chunk-xqzmd8rx.js → chunk-8qp0ytjr.js} +2 -2
  117. package/dist/{chunk-xt7g86gj.js → chunk-8v8n8gxv.js} +3 -3
  118. package/dist/{chunk-jq30e6rg.js → chunk-94jqjx3g.js} +59 -56
  119. package/dist/chunk-9663bsk0.js +18 -0
  120. package/dist/{chunk-dnp096zb.js → chunk-96gwphgv.js} +3 -3
  121. package/dist/{chunk-sq5fyhqd.js → chunk-9bf696cj.js} +95 -87
  122. package/dist/{chunk-eje4tzhm.js → chunk-9cw6etxe.js} +56 -53
  123. package/dist/{chunk-r7a5cqdw.js → chunk-9dwdn2sk.js} +7 -7
  124. package/dist/{chunk-ejfvtxhc.js → chunk-9ggwn844.js} +29 -64
  125. package/dist/{chunk-n08zma6t.js → chunk-9gxdrrd5.js} +55 -52
  126. package/dist/{chunk-cvr6at4f.js → chunk-9q952pw0.js} +2 -2
  127. package/dist/{chunk-ab8c2gs2.js → chunk-9qgzdk8y.js} +7 -7
  128. package/dist/{chunk-tjc1tx3q.js → chunk-9qj9t1g4.js} +2 -2
  129. package/dist/{chunk-hm9rq604.js → chunk-9sr5cheh.js} +55 -52
  130. package/dist/{chunk-3tm5sns7.js → chunk-9vvffdb6.js} +64 -61
  131. package/dist/chunk-a18ypbnr.js +151 -0
  132. package/dist/{chunk-80yycsam.js → chunk-a80y3b1p.js} +3 -3
  133. package/dist/{chunk-bdhx8k7k.js → chunk-a96dsyhm.js} +59 -56
  134. package/dist/{chunk-pgjmgh51.js → chunk-a97kj439.js} +2 -2
  135. package/dist/chunk-aggcq5pt.js +16 -0
  136. package/dist/{chunk-5wvcws9f.js → chunk-am5zfwnf.js} +19 -19
  137. package/dist/{chunk-56djb736.js → chunk-b21j3y4h.js} +2 -2
  138. package/dist/{chunk-jdvx0xe9.js → chunk-b52sketm.js} +55 -52
  139. package/dist/{chunk-xzw0ettz.js → chunk-b7fcydvv.js} +18 -18
  140. package/dist/{chunk-y90gh0z2.js → chunk-bb9h35x7.js} +55 -52
  141. package/dist/{chunk-07vfsvas.js → chunk-bbpnmz87.js} +2 -2
  142. package/dist/chunk-bcfd2zw7.js +23 -0
  143. package/dist/chunk-bdy3869e.js +35 -0
  144. package/dist/{chunk-g6vvs0w9.js → chunk-be8pcep0.js} +2 -2
  145. package/dist/{chunk-2vfcftww.js → chunk-bgpftrxc.js} +56 -53
  146. package/dist/{chunk-ne02d12y.js → chunk-bh4k9q9y.js} +4 -4
  147. package/dist/{chunk-841eka5g.js → chunk-bjc8f709.js} +62 -59
  148. package/dist/{chunk-00f3aac0.js → chunk-bm5370d5.js} +14 -14
  149. package/dist/{chunk-kfdgw9j2.js → chunk-br1qf4bc.js} +12 -21
  150. package/dist/{chunk-vempyean.js → chunk-bxmc7435.js} +7 -7
  151. package/dist/chunk-c36xznt7.js +1045 -0
  152. package/dist/{chunk-cjg9tm4d.js → chunk-c3z2f4aq.js} +58 -55
  153. package/dist/chunk-cchv4yn8.js +214 -0
  154. package/dist/{chunk-qdfqack5.js → chunk-cewbt8ah.js} +2 -2
  155. package/dist/{chunk-7npzwf36.js → chunk-cfeakba6.js} +55 -52
  156. package/dist/{chunk-5c1ym1nc.js → chunk-ckh1zt0n.js} +65 -62
  157. package/dist/{chunk-xcm658wm.js → chunk-ckq5d8ev.js} +3 -3
  158. package/dist/chunk-cnfzmqr8.js +115 -0
  159. package/dist/chunk-crchz5q8.js +16 -0
  160. package/dist/{chunk-mf1n757j.js → chunk-cwpxrn2d.js} +17 -17
  161. package/dist/chunk-cy223s48.js +881 -0
  162. package/dist/{chunk-7c4fsh0s.js → chunk-cydd546q.js} +57 -54
  163. package/dist/{chunk-a35q4knx.js → chunk-cz5ycdta.js} +3 -3
  164. package/dist/{chunk-k8a68cwg.js → chunk-da7f9a81.js} +105 -29
  165. package/dist/{chunk-kexhnah5.js → chunk-dfzfxt1y.js} +7 -7
  166. package/dist/{chunk-4c56f6d2.js → chunk-dj6y2sr8.js} +3 -3
  167. package/dist/{chunk-cph4yr50.js → chunk-djbawqmw.js} +55 -52
  168. package/dist/{chunk-17j9hb87.js → chunk-dpb1kvb9.js} +56 -53
  169. package/dist/{chunk-xn02xqxj.js → chunk-dt5c48mh.js} +2 -2
  170. package/dist/{chunk-yephhrfa.js → chunk-e1m95nec.js} +6 -6
  171. package/dist/{chunk-bxfv6aew.js → chunk-e26hypm4.js} +56 -53
  172. package/dist/{chunk-a9garrrp.js → chunk-e5kn4hwp.js} +56 -53
  173. package/dist/{chunk-tn5b34gd.js → chunk-e6dq8apj.js} +55 -52
  174. package/dist/{chunk-rqn40hvy.js → chunk-e6p5x2p4.js} +4 -4
  175. package/dist/{chunk-5yjm9yth.js → chunk-eb6x30zz.js} +57 -54
  176. package/dist/{chunk-352yw5fs.js → chunk-ebfv6acv.js} +12 -12
  177. package/dist/{chunk-1h952cez.js → chunk-egkwv0bp.js} +2 -2
  178. package/dist/{chunk-rqfzhr9m.js → chunk-ennzq1s5.js} +14 -4
  179. package/dist/{chunk-ec3vxfsp.js → chunk-envqyd27.js} +59 -55
  180. package/dist/{chunk-yk99hmx2.js → chunk-epprxdgg.js} +2 -2
  181. package/dist/{chunk-cea3mepz.js → chunk-et42fzf1.js} +22 -22
  182. package/dist/{chunk-h0rbjg6x.js → chunk-f2mhrmww.js} +10 -3
  183. package/dist/{chunk-rg3c0e6m.js → chunk-fb5ehysd.js} +57 -54
  184. package/dist/chunk-fbtp7vga.js +37 -0
  185. package/dist/{chunk-n3xd3ev4.js → chunk-fgna18nd.js} +6 -6
  186. package/dist/{chunk-26w1pqen.js → chunk-fknjgxt4.js} +56 -53
  187. package/dist/{chunk-xj7nr4b8.js → chunk-fpb43g1s.js} +6 -6
  188. package/dist/{chunk-d24kfzcv.js → chunk-ftfz2eh3.js} +2 -2
  189. package/dist/{chunk-xbc1xb90.js → chunk-fv94gm4h.js} +56 -53
  190. package/dist/{chunk-732ycv3a.js → chunk-fx7pr1g4.js} +13 -13
  191. package/dist/{chunk-fxg6tk9f.js → chunk-g0axk7cx.js} +56 -53
  192. package/dist/chunk-g6d9avms.js +205 -0
  193. package/dist/{chunk-vwpr34gb.js → chunk-g9caj6wj.js} +66 -63
  194. package/dist/{chunk-jjjrmgee.js → chunk-gbekxw41.js} +56 -53
  195. package/dist/{chunk-dawa3bxd.js → chunk-gcpc6b2z.js} +2 -2
  196. package/dist/{chunk-7qq9wgng.js → chunk-gfycetpg.js} +5 -5
  197. package/dist/{chunk-snjbtcsd.js → chunk-gn0ja3k5.js} +5 -5
  198. package/dist/{chunk-cf98rrym.js → chunk-gt9gwwdh.js} +5 -5
  199. package/dist/{chunk-1qdm27em.js → chunk-gz0nj0mm.js} +55 -52
  200. package/dist/{chunk-jcfp9q8e.js → chunk-gz6pze8f.js} +57 -54
  201. package/dist/{chunk-kankxtem.js → chunk-h1frxdrg.js} +56 -54
  202. package/dist/{chunk-t8bj4y17.js → chunk-h93ve2g2.js} +14 -14
  203. package/dist/{chunk-b00v4z7e.js → chunk-h9mr8ey4.js} +13 -13
  204. package/dist/{chunk-fgfvmggw.js → chunk-hd8ydnzq.js} +15 -15
  205. package/dist/{chunk-szkay129.js → chunk-hebz2z6z.js} +58 -55
  206. package/dist/chunk-hgxb4qn5.js +390 -0
  207. package/dist/{chunk-h1e34028.js → chunk-hh6kgtq5.js} +3 -3
  208. package/dist/{chunk-srrcngcy.js → chunk-hhcx2jjn.js} +3 -3
  209. package/dist/{chunk-dvp0xagf.js → chunk-hjp1yckp.js} +56 -53
  210. package/dist/{chunk-jsfytv0f.js → chunk-hjxz7a04.js} +58 -55
  211. package/dist/{chunk-zdnv8fvz.js → chunk-hkkz8rde.js} +55 -52
  212. package/dist/{chunk-677p38pg.js → chunk-hnms0snx.js} +2 -2
  213. package/dist/{chunk-yydr31ss.js → chunk-hq4jd1fy.js} +23 -23
  214. package/dist/{chunk-gqxam9dm.js → chunk-hthfhdty.js} +15 -15
  215. package/dist/{chunk-98204r0v.js → chunk-hy5vd50e.js} +3 -3
  216. package/dist/{chunk-ck1qvj5k.js → chunk-hyztfnyq.js} +463 -225
  217. package/dist/{chunk-m4wfythr.js → chunk-j5rnevxw.js} +62 -59
  218. package/dist/{chunk-eeee4v34.js → chunk-j74ctwq9.js} +3 -3
  219. package/dist/{chunk-d9tbq3h3.js → chunk-jcdv05ym.js} +33 -5
  220. package/dist/{chunk-ga5v18wb.js → chunk-jd5xs374.js} +55 -52
  221. package/dist/{chunk-rz56zge4.js → chunk-jgbz49jh.js} +6 -4
  222. package/dist/{chunk-y9g1ynzy.js → chunk-jhdtyhk5.js} +57 -54
  223. package/dist/{chunk-aq0t16sn.js → chunk-jkbkp0ek.js} +14 -14
  224. package/dist/{chunk-7nwehwa4.js → chunk-jkyn6ge9.js} +5 -5
  225. package/dist/{chunk-nb02zd8m.js → chunk-jn7qa13m.js} +3 -3
  226. package/dist/{chunk-evmvnppx.js → chunk-jt7ea6rq.js} +55 -52
  227. package/dist/{chunk-9khxkxz7.js → chunk-jt7wch8z.js} +2 -2
  228. package/dist/{chunk-0j3jy5jp.js → chunk-jv7tn7yh.js} +55 -52
  229. package/dist/chunk-jx80x2sn.js +267 -0
  230. package/dist/{chunk-03fdnx3e.js → chunk-jy13c47g.js} +5 -5
  231. package/dist/{chunk-75q1d027.js → chunk-k11m1rfc.js} +57 -54
  232. package/dist/{chunk-x7t8wrq1.js → chunk-k3mghke5.js} +57 -86
  233. package/dist/{chunk-jcd8qmcc.js → chunk-k5rrrd0q.js} +78 -75
  234. package/dist/{chunk-8zdrypte.js → chunk-kbbjfeb8.js} +2 -2
  235. package/dist/chunk-kcz5b7xv.js +73 -0
  236. package/dist/{chunk-87s3zt6w.js → chunk-khnxj5vx.js} +3 -3
  237. package/dist/{chunk-g6eqgh16.js → chunk-kkwym2b7.js} +5 -5
  238. package/dist/{chunk-hvve83a7.js → chunk-kn345s2x.js} +2 -2
  239. package/dist/{chunk-x07xwqrj.js → chunk-kpqx95pr.js} +2 -2
  240. package/dist/{chunk-wfyhm9cg.js → chunk-kszphewb.js} +63 -54
  241. package/dist/{chunk-5kcmmrbe.js → chunk-kxn6mzy3.js} +4 -4
  242. package/dist/{chunk-tc848afj.js → chunk-m0zzdgkt.js} +31 -26
  243. package/dist/{chunk-gmsb3jtb.js → chunk-m7qa1fqb.js} +3 -3
  244. package/dist/{chunk-qph8gdxy.js → chunk-mdm5cbxy.js} +55 -52
  245. package/dist/chunk-mnqvtfd5.js +78 -0
  246. package/dist/{chunk-fstr76j0.js → chunk-mp5km99q.js} +20 -20
  247. package/dist/{chunk-8ehewpj6.js → chunk-mpxcgg5f.js} +6 -6
  248. package/dist/{chunk-zffnk5t6.js → chunk-mqr18cwx.js} +4 -4
  249. package/dist/chunk-n014czx3.js +18 -0
  250. package/dist/{chunk-ytzqmbt0.js → chunk-n40kbp9f.js} +55 -52
  251. package/dist/{chunk-8n28z1eg.js → chunk-n51s6m60.js} +14 -14
  252. package/dist/{chunk-c9gga8sn.js → chunk-n87c314c.js} +56 -53
  253. package/dist/{chunk-7jkb3tck.js → chunk-nevf0mb9.js} +15 -15
  254. package/dist/{chunk-zxhtrvtt.js → chunk-nkeknzb2.js} +4 -4
  255. package/dist/{chunk-4fjgdmr9.js → chunk-nkgq6a5q.js} +28 -28
  256. package/dist/{chunk-9ds6nhgx.js → chunk-nmj9qx2x.js} +65 -62
  257. package/dist/{chunk-4pf098nn.js → chunk-nmyfe9j9.js} +57 -54
  258. package/dist/{chunk-b1dyfwm2.js → chunk-nmzy0qjn.js} +7 -7
  259. package/dist/{chunk-51pkqrja.js → chunk-np05dg07.js} +55 -52
  260. package/dist/{chunk-w51sng2s.js → chunk-npgyhaqc.js} +2 -2
  261. package/dist/{chunk-61008xjm.js → chunk-nr2skyv7.js} +56 -53
  262. package/dist/{chunk-w6x102n9.js → chunk-nv5rddp1.js} +55 -52
  263. package/dist/{chunk-naqmbswb.js → chunk-p10xajeq.js} +69 -66
  264. package/dist/{chunk-vgzdtvca.js → chunk-p1wxbhgj.js} +4 -4
  265. package/dist/{chunk-rs2skqcv.js → chunk-p6fhtt1h.js} +4 -4
  266. package/dist/{chunk-m5daf1hp.js → chunk-p8d1q69a.js} +55 -52
  267. package/dist/{chunk-t66dy38x.js → chunk-pbmy8ktp.js} +7 -7
  268. package/dist/{chunk-ssnp42gc.js → chunk-pqrb30bj.js} +2 -2
  269. package/dist/{chunk-6dhkeb6t.js → chunk-pr321r8d.js} +3 -3
  270. package/dist/{chunk-7d5yfjs6.js → chunk-psq9gtg7.js} +2 -2
  271. package/dist/{chunk-193vfma7.js → chunk-ptermrp1.js} +60 -57
  272. package/dist/{chunk-q9fppwnq.js → chunk-pyfrphvc.js} +57 -54
  273. package/dist/{chunk-vajyw4ea.js → chunk-pzb2zc4x.js} +6 -6
  274. package/dist/{chunk-k1pjc56n.js → chunk-q0w614e1.js} +3 -3
  275. package/dist/{chunk-34merw4c.js → chunk-q110twdj.js} +59 -116
  276. package/dist/{chunk-je4jw9pe.js → chunk-q72dtjqy.js} +2 -2
  277. package/dist/{chunk-551jxdwj.js → chunk-q90bcq6v.js} +59 -56
  278. package/dist/{chunk-sm0ak846.js → chunk-qavfmmqd.js} +6 -6
  279. package/dist/{chunk-qvzvzzdw.js → chunk-qjx52q61.js} +2 -2
  280. package/dist/{chunk-72cez8rw.js → chunk-qk2tvn8y.js} +56 -53
  281. package/dist/{chunk-mt0hyhtp.js → chunk-qm3k6vez.js} +13 -13
  282. package/dist/{chunk-fkpm0dka.js → chunk-qmp50hjb.js} +19 -19
  283. package/dist/{chunk-qezmm114.js → chunk-qnztz65r.js} +56 -53
  284. package/dist/{chunk-23nwpyay.js → chunk-qpatv1ep.js} +13 -13
  285. package/dist/{chunk-dsdbya1y.js → chunk-qwtfyr6d.js} +2 -2
  286. package/dist/{chunk-nz9rqw9y.js → chunk-qxp3d963.js} +2 -2
  287. package/dist/{chunk-xq92sh7h.js → chunk-qzp51m93.js} +3 -3
  288. package/dist/{chunk-8dtk8ma2.js → chunk-r3fadmd6.js} +5 -5
  289. package/dist/{chunk-9eervnn3.js → chunk-r4mec6w5.js} +3 -3
  290. package/dist/chunk-r6g3xx75.js +415 -0
  291. package/dist/{chunk-avaa7ds2.js → chunk-r8ywba1h.js} +14 -14
  292. package/dist/{chunk-raftjwkd.js → chunk-r974358t.js} +13 -13
  293. package/dist/{chunk-w4bqdhna.js → chunk-r9qnxgqt.js} +5 -5
  294. package/dist/{chunk-7v874g5h.js → chunk-rasdgp8g.js} +4 -4
  295. package/dist/{chunk-dwkc1vgf.js → chunk-rbr0tsrz.js} +55 -52
  296. package/dist/{chunk-63hz4ckd.js → chunk-re5p7q2e.js} +4 -4
  297. package/dist/{chunk-gytaebn1.js → chunk-rfvzhq5x.js} +55 -52
  298. package/dist/{chunk-s4akexsk.js → chunk-rfxctace.js} +3 -4
  299. package/dist/chunk-rhqffqzf.js +189 -0
  300. package/dist/{chunk-xb6r5wtg.js → chunk-rnjtkqzg.js} +4 -4
  301. package/dist/{chunk-wpm7sbfe.js → chunk-rqa3fz1t.js} +55 -52
  302. package/dist/{chunk-y7q1vtv4.js → chunk-rtgff67y.js} +63 -60
  303. package/dist/{chunk-q4v51jm6.js → chunk-rw1070pc.js} +4 -4
  304. package/dist/{chunk-cxkxps51.js → chunk-rzrm7j9x.js} +2 -2
  305. package/dist/{chunk-spd5z6xd.js → chunk-s262tfgm.js} +3 -3
  306. package/dist/{chunk-9tkrb3jy.js → chunk-s4pjm9jw.js} +55 -52
  307. package/dist/chunk-s5pnejsn.js +216 -0
  308. package/dist/{chunk-4157n57z.js → chunk-sczmmmvj.js} +2 -2
  309. package/dist/{chunk-7h13c72t.js → chunk-sd2g0s0k.js} +9 -9
  310. package/dist/{chunk-rnsws47e.js → chunk-sg5nsm4p.js} +3 -3
  311. package/dist/{chunk-7cgjgppb.js → chunk-stqsfa68.js} +3 -3
  312. package/dist/{chunk-hdx2p9h7.js → chunk-svb5eqfz.js} +14 -14
  313. package/dist/{chunk-ybzc4vyc.js → chunk-swr65v0j.js} +10 -10
  314. package/dist/{chunk-dkzq1yj3.js → chunk-swtk97hy.js} +14 -14
  315. package/dist/{chunk-qy3bd939.js → chunk-sx4gbak5.js} +56 -53
  316. package/dist/{chunk-p83fdzct.js → chunk-t12d6tby.js} +3 -3
  317. package/dist/{chunk-v91g64jx.js → chunk-t20f5mnk.js} +14 -14
  318. package/dist/{chunk-g410gawd.js → chunk-t408adb9.js} +56 -53
  319. package/dist/{chunk-4k2ztys5.js → chunk-t7434h4s.js} +55 -52
  320. package/dist/{chunk-0qa1hgxp.js → chunk-t7y6mg54.js} +13 -13
  321. package/dist/{chunk-a9pqw4tk.js → chunk-tdkwcv57.js} +4 -4
  322. package/dist/{chunk-sqnghamc.js → chunk-tfew976a.js} +55 -52
  323. package/dist/{chunk-83m8mxaj.js → chunk-thzmxfnt.js} +2 -2
  324. package/dist/{chunk-gwfv9a10.js → chunk-tmedrj3f.js} +4 -4
  325. package/dist/{chunk-j9q7p2m5.js → chunk-tmscbs2k.js} +4 -4
  326. package/dist/chunk-tnk7s4ed.js +22 -0
  327. package/dist/{chunk-dw1cwmt3.js → chunk-tnqjynvy.js} +14 -14
  328. package/dist/{chunk-ztqe8k2y.js → chunk-tq32b105.js} +3 -3
  329. package/dist/{chunk-hp6ym2xt.js → chunk-tr448vwb.js} +3 -3
  330. package/dist/{chunk-xdfcfm69.js → chunk-tr4hszme.js} +3 -3
  331. package/dist/{chunk-5nzjxkj9.js → chunk-traxf72w.js} +2 -2
  332. package/dist/{chunk-f2d9gmzw.js → chunk-ttzyw0y7.js} +17 -17
  333. package/dist/{chunk-y1cqsd0p.js → chunk-tw0b366n.js} +55 -52
  334. package/dist/{chunk-ng7nkgv1.js → chunk-txync4kd.js} +7 -7
  335. package/dist/chunk-v060k07j.js +416 -0
  336. package/dist/chunk-v1rkrwwv.js +146 -0
  337. package/dist/{chunk-0p6e05c5.js → chunk-v21ssxkp.js} +2 -2
  338. package/dist/{chunk-zpte5txk.js → chunk-v2vzfj4h.js} +55 -52
  339. package/dist/{chunk-3s7v8tsk.js → chunk-v4h7dscd.js} +26 -44
  340. package/dist/{chunk-90qefxa4.js → chunk-v522k1r4.js} +70 -67
  341. package/dist/{chunk-rdmen6bn.js → chunk-v9b2rh8h.js} +58 -55
  342. package/dist/{chunk-g8e4wwak.js → chunk-vacje5g9.js} +4 -4
  343. package/dist/{chunk-t2r4qham.js → chunk-vetj2j2n.js} +60 -57
  344. package/dist/{chunk-fr84aysg.js → chunk-vpn54vqg.js} +6 -6
  345. package/dist/{chunk-yvsb81fm.js → chunk-vqhgs52z.js} +7 -7
  346. package/dist/{chunk-t802hx06.js → chunk-vtnm80k9.js} +13 -13
  347. package/dist/{chunk-dmsc23kp.js → chunk-vvk6wx6b.js} +14 -14
  348. package/dist/{chunk-t9z3edw6.js → chunk-vym5zrn6.js} +4895 -2486
  349. package/dist/{chunk-pxzawaw7.js → chunk-vzxtxv4a.js} +56 -53
  350. package/dist/{chunk-x59dmzab.js → chunk-w3wdqhv0.js} +62 -59
  351. package/dist/{chunk-61xprjs1.js → chunk-w59jkye4.js} +56 -53
  352. package/dist/{chunk-amnaevyb.js → chunk-w60fa5cj.js} +65 -62
  353. package/dist/{chunk-16waz3fy.js → chunk-w8xchcwf.js} +3 -3
  354. package/dist/{chunk-fv8tcte1.js → chunk-w9fptpp9.js} +64 -61
  355. package/dist/{chunk-3d8ccn91.js → chunk-wa7g3yv7.js} +13 -13
  356. package/dist/{chunk-wbwzf5z4.js → chunk-wdn3pb9r.js} +3 -3
  357. package/dist/{chunk-ccqk19v9.js → chunk-wqk03hpc.js} +55 -52
  358. package/dist/{chunk-ycjjsnm4.js → chunk-wvs8wv8t.js} +2 -2
  359. package/dist/{chunk-6hnqaxvs.js → chunk-wwfe7gg7.js} +58 -55
  360. package/dist/{chunk-nmaxmbg9.js → chunk-wz18c465.js} +4 -4
  361. package/dist/{chunk-08wf7txh.js → chunk-wz34c685.js} +15 -15
  362. package/dist/{chunk-587dvnad.js → chunk-wzzaxwej.js} +2 -2
  363. package/dist/chunk-x1wk407b.js +516 -0
  364. package/dist/{chunk-jysm93mk.js → chunk-x2taqvwd.js} +5 -5
  365. package/dist/{chunk-dt0y1vkc.js → chunk-x41dz9y9.js} +2 -2
  366. package/dist/chunk-x48x54hx.js +3942 -0
  367. package/dist/{chunk-q0ks2prw.js → chunk-x6cjkxqe.js} +5 -5
  368. package/dist/{chunk-f6v5bq78.js → chunk-x89sscn0.js} +2 -2
  369. package/dist/chunk-x9qqj8wc.js +153 -0
  370. package/dist/{chunk-6ka2mh69.js → chunk-xa9xpah3.js} +3037 -2505
  371. package/dist/{chunk-644422j5.js → chunk-xcxcysx3.js} +2 -2
  372. package/dist/{chunk-0fq3smhy.js → chunk-xftqvncz.js} +9 -46
  373. package/dist/{chunk-hnh89cye.js → chunk-xhnmweqe.js} +64 -61
  374. package/dist/{chunk-7s3wyn34.js → chunk-xm6t6khx.js} +56 -53
  375. package/dist/chunk-xt65mfby.js +1395 -0
  376. package/dist/{chunk-31fcazbn.js → chunk-xvmtyz8q.js} +2 -2
  377. package/dist/{chunk-1mf9624z.js → chunk-xxfz08mf.js} +55 -52
  378. package/dist/{chunk-wgvazba2.js → chunk-y061xbn9.js} +5 -5
  379. package/dist/{chunk-mzh12ebc.js → chunk-y0z468z2.js} +56 -53
  380. package/dist/{chunk-7ghq231e.js → chunk-y3cshvgb.js} +2 -2
  381. package/dist/{chunk-kqt7same.js → chunk-y6ce2s1q.js} +59 -55
  382. package/dist/chunk-y9bpc4a6.js +97 -0
  383. package/dist/{chunk-8c4wbrma.js → chunk-y9mnawak.js} +4 -4
  384. package/dist/{chunk-whbkstfm.js → chunk-ycdbp5q4.js} +55 -52
  385. package/dist/{chunk-1dg4nrws.js → chunk-ycsh7pst.js} +13 -13
  386. package/dist/{chunk-s41zt5kj.js → chunk-yedzdc0a.js} +14 -8
  387. package/dist/{chunk-jw0ky94p.js → chunk-yrr4d26k.js} +56 -53
  388. package/dist/{chunk-myysj9vz.js → chunk-yt5gwdg5.js} +7 -60
  389. package/dist/{chunk-yaefwx7d.js → chunk-yteefw26.js} +55 -52
  390. package/dist/{chunk-rhjbecsk.js → chunk-yvjzex9w.js} +6 -82
  391. package/dist/{chunk-5n19f2r9.js → chunk-z124zj20.js} +4 -4
  392. package/dist/{chunk-sa5fj0d3.js → chunk-z92c7wdq.js} +4 -4
  393. package/dist/{chunk-etcypdxa.js → chunk-zb7ctc11.js} +55 -52
  394. package/dist/{chunk-2wbgexnn.js → chunk-zc2mfxy0.js} +58 -55
  395. package/dist/{chunk-hhdbv9eg.js → chunk-zdsqreyq.js} +3 -3
  396. package/dist/chunk-zf5btqc3.js +54 -0
  397. package/dist/{chunk-sxgc1sm1.js → chunk-zfwgjjde.js} +2 -2
  398. package/dist/{chunk-nfaj0b7z.js → chunk-zgvyn6yk.js} +55 -52
  399. package/dist/{chunk-gcrf35hk.js → chunk-zmj9sehj.js} +56 -53
  400. package/dist/{chunk-hq20dsgb.js → chunk-zr750mg3.js} +93 -57
  401. package/dist/{chunk-yjyaq9ja.js → chunk-zshw91dr.js} +5 -5
  402. package/dist/{chunk-azbndvdt.js → chunk-zyhpq0w1.js} +7 -4
  403. package/dist/{chunk-ky41ddym.js → chunk-zzac564h.js} +15 -15
  404. package/dist/cli.js +94 -28
  405. package/dist/services/rawDump/batchWorker.js +3 -3
  406. package/package.json +1 -1
  407. package/dist/chunk-0paqc2yw.js +0 -18
  408. package/dist/chunk-ac3vxv72.js +0 -99
  409. package/dist/chunk-ctaxszne.js +0 -183
  410. package/dist/chunk-f9vf3z7d.js +0 -57
  411. package/dist/chunk-q2pkj7sp.js +0 -18
  412. package/dist/chunk-wmd102c3.js +0 -138
  413. package/dist/chunk-zzjq53z6.js +0 -198
@@ -1,59 +1,59 @@
1
1
  // @bun
2
- import"./chunk-g6eqgh16.js";
2
+ import"./chunk-kkwym2b7.js";
3
3
  import {
4
4
  cliError,
5
5
  cliOk
6
6
  } from "./chunk-z2dp53wn.js";
7
- import {
8
- exports_assistant,
9
- init_assistant
10
- } from "./chunk-8ehewpj6.js";
11
7
  import {
12
8
  buildDeepLinkBanner
13
- } from "./chunk-p3erbvbz.js";
9
+ } from "./chunk-6fbvxhan.js";
14
10
  import {
15
11
  filterExistingPaths,
16
12
  getKnownPathsForRepo,
17
13
  updateGithubRepoPathMapping
18
- } from "./chunk-5kcmmrbe.js";
14
+ } from "./chunk-kxn6mzy3.js";
19
15
  import {
20
16
  computeInitialTeamContext,
21
17
  createRemoteSessionConfig,
22
18
  getModelDeprecationWarning,
23
19
  getRelevantTips,
24
20
  refreshExampleCommands
25
- } from "./chunk-yydr31ss.js";
21
+ } from "./chunk-hq4jd1fy.js";
26
22
  import {
27
23
  processResumedConversation
28
- } from "./chunk-3s7v8tsk.js";
24
+ } from "./chunk-v4h7dscd.js";
29
25
  import {
30
26
  installAsciicastRecorder
31
- } from "./chunk-x07xwqrj.js";
32
- import"./chunk-v2gsemps.js";
27
+ } from "./chunk-kpqx95pr.js";
28
+ import {
29
+ getBaseRenderOptions
30
+ } from "./chunk-ppxsd5ye.js";
33
31
  import {
34
32
  createStatsStore
35
- } from "./chunk-83m8mxaj.js";
33
+ } from "./chunk-thzmxfnt.js";
36
34
  import {
37
35
  onChangeAppState
38
- } from "./chunk-zffnk5t6.js";
36
+ } from "./chunk-mqr18cwx.js";
39
37
  import {
40
38
  seedEarlyInput,
41
39
  stopCapturingEarlyInput
42
- } from "./chunk-rz56zge4.js";
43
- import {
44
- getBaseRenderOptions
45
- } from "./chunk-ppxsd5ye.js";
40
+ } from "./chunk-jgbz49jh.js";
46
41
  import"./chunk-6hbmdynn.js";
42
+ import {
43
+ exports_assistant,
44
+ init_assistant
45
+ } from "./chunk-mpxcgg5f.js";
46
+ import"./chunk-503675yy.js";
47
47
  import {
48
48
  init_skillChangeDetector,
49
49
  skillChangeDetector
50
- } from "./chunk-5bw23taw.js";
50
+ } from "./chunk-2yz7ej7r.js";
51
51
  import {
52
52
  init_setup,
53
53
  setupClaudeInChrome,
54
54
  shouldAutoEnableClaudeInChrome,
55
55
  shouldEnableClaudeInChrome
56
- } from "./chunk-zxhtrvtt.js";
56
+ } from "./chunk-nkeknzb2.js";
57
57
  import {
58
58
  buildCliLaunch,
59
59
  init_cliLaunch
@@ -61,22 +61,22 @@ import {
61
61
  import {
62
62
  init_partition,
63
63
  partition_default
64
- } from "./chunk-7d5yfjs6.js";
64
+ } from "./chunk-psq9gtg7.js";
65
65
  import {
66
66
  init_releaseNotes,
67
67
  migrateChangelogFromConfig
68
- } from "./chunk-2fnpj7fv.js";
68
+ } from "./chunk-7myptjaa.js";
69
69
  import {
70
70
  exports_extension,
71
71
  init_review
72
- } from "./chunk-vtwf9pyn.js";
73
- import"./chunk-cvr6at4f.js";
72
+ } from "./chunk-0ftbdtb6.js";
73
+ import"./chunk-9q952pw0.js";
74
74
  import {
75
75
  VALID_INSTALLABLE_SCOPES,
76
76
  VALID_UPDATE_SCOPES
77
- } from "./chunk-7nwehwa4.js";
78
- import"./chunk-snjbtcsd.js";
79
- import"./chunk-yephhrfa.js";
77
+ } from "./chunk-jkyn6ge9.js";
78
+ import"./chunk-gn0ja3k5.js";
79
+ import"./chunk-e1m95nec.js";
80
80
  import {
81
81
  BROWSER_TOOLS,
82
82
  init_src as init_src2
@@ -84,8 +84,8 @@ import {
84
84
  import {
85
85
  init_sink,
86
86
  initializeAnalyticsGates
87
- } from "./chunk-gwfv9a10.js";
88
- import"./chunk-4c56f6d2.js";
87
+ } from "./chunk-tmedrj3f.js";
88
+ import"./chunk-dj6y2sr8.js";
89
89
  import {
90
90
  AppStateProvider,
91
91
  CLAUDE_CODE_GUIDE_AGENT_TYPE,
@@ -136,7 +136,7 @@ import {
136
136
  excludeCommandsByServer,
137
137
  excludeResourcesByServer,
138
138
  exports_BriefTool,
139
- exports_coordinatorMode,
139
+ exports_autoModeState,
140
140
  exports_teammatePromptAddendum,
141
141
  fetchClaudeAIMcpConfigsIfEligible,
142
142
  fetchEnvironments,
@@ -145,6 +145,8 @@ import {
145
145
  generateTempFilePath,
146
146
  getActiveAgentsFromList,
147
147
  getAgentDefinitionsWithOverrides,
148
+ getAutoModeEnabledState,
149
+ getAutoModeEnabledStateIfCached,
148
150
  getCachedIdpIdToken,
149
151
  getCharBudget,
150
152
  getClaudeCodeMcpConfigs,
@@ -191,6 +193,7 @@ import {
191
193
  init_api as init_api2,
192
194
  init_apiControlConfig,
193
195
  init_auth as init_auth2,
196
+ init_autoModeState,
194
197
  init_bundledSkills,
195
198
  init_cacheUtils,
196
199
  init_changeDetector,
@@ -206,7 +209,6 @@ import {
206
209
  init_consolidationPrompt,
207
210
  init_context as init_context2,
208
211
  init_conversationRecovery,
209
- init_coordinatorMode,
210
212
  init_defaultBindings,
211
213
  init_effort,
212
214
  init_environments,
@@ -237,7 +239,7 @@ import {
237
239
  init_policyLimits,
238
240
  init_preconditions,
239
241
  init_product,
240
- init_prompt as init_prompt4,
242
+ init_prompt as init_prompt3,
241
243
  init_prompt3 as init_prompt5,
242
244
  init_promptSuggestion,
243
245
  init_remoteManagedSettings,
@@ -266,6 +268,7 @@ import {
266
268
  initializeVersionedPlugins,
267
269
  isAdvisorEnabled,
268
270
  isBuiltInAgent,
271
+ isDefaultPermissionModeAuto,
269
272
  isEligibleForRemoteManagedSettings,
270
273
  isKeybindingCustomizationEnabled,
271
274
  isPolicyAllowed,
@@ -309,7 +312,6 @@ import {
309
312
  saveIdpClientSecret,
310
313
  saveIdpIdTokenFromJwt,
311
314
  saveMcpClientSecret,
312
- saveMode,
313
315
  searchSessionsByCustomTitle,
314
316
  sessionIdExists,
315
317
  setAllHookEventsEnabled,
@@ -321,82 +323,86 @@ import {
321
323
  shouldShowClaudeMdExternalIncludesWarning,
322
324
  shutdownLangfuse,
323
325
  shutdownLspServerManager,
326
+ stripDangerousPermissionsForAutoMode,
324
327
  teleportToRemoteWithErrorHandling,
325
328
  uniqBy_default,
326
329
  updateSessionName,
327
330
  validateGitState,
328
331
  validateSessionRepository,
329
332
  validateUuid,
333
+ verifyAutoModeGateAccess,
330
334
  waitForPolicyLimitsToLoad,
331
335
  waitForRemoteManagedSettingsToLoad
332
- } from "./chunk-t9z3edw6.js";
336
+ } from "./chunk-vym5zrn6.js";
333
337
  import"./chunk-j7g5prq1.js";
334
- import {
335
- exports_proactive,
336
- getSessionIngressAuthToken,
337
- init_proactive,
338
- init_sessionIngressAuth
339
- } from "./chunk-ejfvtxhc.js";
340
- import"./chunk-cg0h6vpf.js";
341
- import"./chunk-ssnp42gc.js";
338
+ import"./chunk-pqrb30bj.js";
339
+ import"./chunk-et824jj8.js";
342
340
  import {
343
341
  exports_teammateModeSnapshot,
344
342
  init_teammateModeSnapshot
345
- } from "./chunk-dawa3bxd.js";
343
+ } from "./chunk-gcpc6b2z.js";
346
344
  import"./chunk-dj0c74sd.js";
347
- import"./chunk-et824jj8.js";
348
345
  import {
349
346
  BASE_CHROME_PROMPT,
350
347
  CLAUDE_IN_CHROME_SKILL_HINT,
351
348
  init_prompt as init_prompt6
352
349
  } from "./chunk-7cpxexw0.js";
353
- import"./chunk-c05zaj6g.js";
354
- import"./chunk-cqnfwapm.js";
355
350
  import"./chunk-2gzv8nrw.js";
356
351
  import"./chunk-ehtwnxpg.js";
352
+ import"./chunk-172aq1cm.js";
357
353
  import {
358
354
  createEmptyAttributionState,
359
355
  init_commitAttribution
360
- } from "./chunk-jxefgv2b.js";
361
- import"./chunk-x6pa9me9.js";
362
- import"./chunk-2f6hs25r.js";
356
+ } from "./chunk-5p3bwhcw.js";
363
357
  import {
364
358
  DEFAULT_TASKS_MODE_TASK_LIST_ID,
365
359
  TASK_STATUSES,
366
360
  init_tasks
367
- } from "./chunk-vempyean.js";
361
+ } from "./chunk-bxmc7435.js";
362
+ import"./chunk-3tnabt1t.js";
368
363
  import {
369
- init_builtinPlugins,
370
- registerBuiltinPlugin
371
- } from "./chunk-ycjjsnm4.js";
372
- import {
373
- initSentry,
374
- init_sentry
375
- } from "./chunk-h1e34028.js";
364
+ exports_proactive,
365
+ getSessionIngressAuthToken,
366
+ init_proactive,
367
+ init_sessionIngressAuth
368
+ } from "./chunk-9ggwn844.js";
369
+ import"./chunk-496449vy.js";
376
370
  import {
377
371
  init_worktreeModeEnabled,
378
372
  isWorktreeModeEnabled
379
373
  } from "./chunk-cgfdkzhb.js";
374
+ import"./chunk-x6pa9me9.js";
375
+ import"./chunk-2f6hs25r.js";
376
+ import {
377
+ initSentry,
378
+ init_sentry
379
+ } from "./chunk-hh6kgtq5.js";
380
+ import"./chunk-cnfzmqr8.js";
381
+ import"./chunk-9663bsk0.js";
382
+ import {
383
+ init_builtinPlugins,
384
+ registerBuiltinPlugin
385
+ } from "./chunk-wvs8wv8t.js";
380
386
  import {
381
387
  CLAUDE_IN_CHROME_MCP_SERVER_NAME,
382
388
  init_common,
383
389
  isClaudeInChromeMCPServer
384
- } from "./chunk-677p38pg.js";
385
- import"./chunk-25a6cm96.js";
390
+ } from "./chunk-hnms0snx.js";
391
+ import"./chunk-s5pnejsn.js";
386
392
  import"./chunk-dg8c6j5q.js";
387
393
  import {
388
394
  init_referral,
389
395
  prefetchPassesEligibility
390
- } from "./chunk-q0ks2prw.js";
391
- import"./chunk-xq92sh7h.js";
392
- import"./chunk-4aqc3s2f.js";
393
- import"./chunk-eeee4v34.js";
394
- import"./chunk-pgjmgh51.js";
396
+ } from "./chunk-x6cjkxqe.js";
397
+ import"./chunk-qzp51m93.js";
398
+ import"./chunk-87ddk39d.js";
399
+ import"./chunk-j74ctwq9.js";
395
400
  import"./chunk-pdkfgve3.js";
396
- import"./chunk-tjc1tx3q.js";
397
- import"./chunk-8zdrypte.js";
401
+ import"./chunk-a97kj439.js";
402
+ import"./chunk-9qj9t1g4.js";
403
+ import"./chunk-kbbjfeb8.js";
398
404
  import"./chunk-t4kcvmes.js";
399
- import"./chunk-587dvnad.js";
405
+ import"./chunk-wzzaxwej.js";
400
406
  import"./chunk-dx4aw2jf.js";
401
407
  import {
402
408
  ASK_USER_QUESTION_TOOL_NAME,
@@ -413,25 +419,26 @@ import {
413
419
  init_constants4,
414
420
  init_constants5,
415
421
  init_prompt4 as init_prompt2,
416
- init_prompt9 as init_prompt3,
422
+ init_prompt9 as init_prompt4,
417
423
  isKairosCronEnabled,
418
424
  isSyntheticOutputToolEnabled
419
- } from "./chunk-rqfzhr9m.js";
425
+ } from "./chunk-ennzq1s5.js";
420
426
  import"./chunk-14ya36qs.js";
421
427
  import"./chunk-edqtm6y0.js";
422
- import"./chunk-4157n57z.js";
428
+ import"./chunk-76g1m8sa.js";
423
429
  import"./chunk-4vbza3s0.js";
424
- import"./chunk-0p6e05c5.js";
425
- import"./chunk-644422j5.js";
430
+ import"./chunk-v21ssxkp.js";
431
+ import"./chunk-sczmmmvj.js";
432
+ import"./chunk-xcxcysx3.js";
426
433
  import"./chunk-4jm600zv.js";
427
- import"./chunk-1h952cez.js";
434
+ import"./chunk-egkwv0bp.js";
428
435
  import"./chunk-mh90mtzg.js";
429
- import"./chunk-a9pqw4tk.js";
430
- import"./chunk-wbwzf5z4.js";
431
- import"./chunk-vhnm2h49.js";
436
+ import"./chunk-tdkwcv57.js";
437
+ import"./chunk-wdn3pb9r.js";
438
+ import"./chunk-0s2qjxt0.js";
432
439
  import"./chunk-0k1kkyw8.js";
433
- import"./chunk-ancr20tb.js";
434
- import"./chunk-bbm8cs3b.js";
440
+ import"./chunk-6d9njm1w.js";
441
+ import"./chunk-2dtsff0m.js";
435
442
  import"./chunk-2w8qb2c2.js";
436
443
  import"./chunk-26jcng1n.js";
437
444
  import"./chunk-h6hgwf7t.js";
@@ -440,15 +447,15 @@ import {
440
447
  fetchSession,
441
448
  init_api,
442
449
  prepareApiRequest
443
- } from "./chunk-gmsb3jtb.js";
444
- import"./chunk-9ey1xvcm.js";
450
+ } from "./chunk-m7qa1fqb.js";
451
+ import"./chunk-1xdybmyp.js";
445
452
  import"./chunk-8ye7m55r.js";
446
453
  import {
447
454
  getTelemetryAttributes,
448
455
  init_betaSessionTracing,
449
456
  init_telemetryAttributes,
450
457
  isBetaTracingEnabled
451
- } from "./chunk-7v874g5h.js";
458
+ } from "./chunk-rasdgp8g.js";
452
459
  import"./chunk-nvce80tx.js";
453
460
  import {
454
461
  AGENT_TOOL_NAME,
@@ -553,13 +560,24 @@ import {
553
560
  updateSettingsForSource,
554
561
  validateForceLoginOrg,
555
562
  withOAuth401Retry
556
- } from "./chunk-egv3k4gg.js";
563
+ } from "./chunk-5thf5z45.js";
557
564
  import {
558
565
  init_json,
559
566
  safeParseJSON
560
567
  } from "./chunk-fs34dpdm.js";
561
- import"./chunk-r7a5cqdw.js";
568
+ import"./chunk-9dwdn2sk.js";
569
+ import {
570
+ count,
571
+ exports_teammate,
572
+ init_array,
573
+ init_teammate,
574
+ uniq
575
+ } from "./chunk-zwarn9h7.js";
562
576
  import"./chunk-00e8e1k5.js";
577
+ import {
578
+ init_windowsPaths,
579
+ setShellIfWindows
580
+ } from "./chunk-rzrm7j9x.js";
563
581
  import {
564
582
  configureGlobalAgents,
565
583
  configureGlobalMTLS,
@@ -568,32 +586,21 @@ import {
568
586
  init_proxy,
569
587
  validateExtraCACertsEnv
570
588
  } from "./chunk-4bvckeaj.js";
571
- import {
572
- count,
573
- exports_teammate,
574
- init_array,
575
- init_teammate,
576
- uniq
577
- } from "./chunk-zwarn9h7.js";
578
589
  import"./chunk-jakx4th4.js";
579
590
  import {
580
591
  PERMISSION_MODES
581
592
  } from "./chunk-pe9b769s.js";
582
- import {
583
- init_windowsPaths,
584
- setShellIfWindows
585
- } from "./chunk-cxkxps51.js";
586
593
  import {
587
594
  init_lazySchema,
588
595
  lazySchema
589
596
  } from "./chunk-64c1avct.js";
590
- import"./chunk-nz9rqw9y.js";
591
597
  import"./chunk-8g5pe1gr.js";
592
598
  import {
593
599
  getPlatform,
594
600
  init_platform
595
601
  } from "./chunk-nq504fa3.js";
596
- import"./chunk-xt7g86gj.js";
602
+ import"./chunk-8v8n8gxv.js";
603
+ import"./chunk-qxp3d963.js";
597
604
  import {
598
605
  init_v4
599
606
  } from "./chunk-6dpcm4za.js";
@@ -613,7 +620,7 @@ import {
613
620
  getOauthConfig,
614
621
  init_oauth
615
622
  } from "./chunk-rh5a2rg9.js";
616
- import"./chunk-w51sng2s.js";
623
+ import"./chunk-npgyhaqc.js";
617
624
  import"./chunk-6ws6m83v.js";
618
625
  import"./chunk-a4wjqc9g.js";
619
626
  import"./chunk-0f6syxra.js";
@@ -627,7 +634,7 @@ import {
627
634
  init_startupProfiler,
628
635
  profileCheckpoint,
629
636
  profileReport
630
- } from "./chunk-gn0d6g6p.js";
637
+ } from "./chunk-5e4sk6wr.js";
631
638
  import"./chunk-crmjpsqe.js";
632
639
  import {
633
640
  Byline,
@@ -642,7 +649,7 @@ import {
642
649
  isSynchronizedOutputSupported,
643
650
  setThemeConfigCallbacks,
644
651
  source_default
645
- } from "./chunk-azbndvdt.js";
652
+ } from "./chunk-zyhpq0w1.js";
646
653
  import {
647
654
  require_react
648
655
  } from "./chunk-64k6ybmm.js";
@@ -652,7 +659,7 @@ import {
652
659
  import {
653
660
  init_analytics,
654
661
  logEvent
655
- } from "./chunk-h0rbjg6x.js";
662
+ } from "./chunk-f2mhrmww.js";
656
663
  import"./chunk-kenv28g4.js";
657
664
  import"./chunk-nbq5dw92.js";
658
665
  import {
@@ -660,7 +667,7 @@ import {
660
667
  detectCurrentRepositoryWithHost,
661
668
  init_detectRepository,
662
669
  parseGitRemote
663
- } from "./chunk-xcm658wm.js";
670
+ } from "./chunk-ckq5d8ev.js";
664
671
  import {
665
672
  findGitRoot,
666
673
  getBranch,
@@ -670,14 +677,14 @@ import {
670
677
  init_diagLogs,
671
678
  init_git,
672
679
  logForDiagnosticsNoPII
673
- } from "./chunk-g8e4wwak.js";
680
+ } from "./chunk-vacje5g9.js";
674
681
  import"./chunk-nrcew0nb.js";
675
682
  import"./chunk-gagn0nrq.js";
676
- import"./chunk-dsdbya1y.js";
683
+ import"./chunk-qwtfyr6d.js";
677
684
  import {
678
685
  getCwd,
679
686
  init_cwd
680
- } from "./chunk-d24kfzcv.js";
687
+ } from "./chunk-ftfz2eh3.js";
681
688
  import {
682
689
  init_log,
683
690
  init_privacyLevel,
@@ -3374,8 +3381,8 @@ var init = memoize_default(async () => {
3374
3381
  setupGracefulShutdown();
3375
3382
  profileCheckpoint("init_after_graceful_shutdown");
3376
3383
  Promise.all([
3377
- import("./chunk-3d8ccn91.js"),
3378
- import("./chunk-raftjwkd.js")
3384
+ import("./chunk-wa7g3yv7.js"),
3385
+ import("./chunk-r974358t.js")
3379
3386
  ]).then(([fp, gb]) => {
3380
3387
  fp.initialize1PEventLogging();
3381
3388
  gb.onGrowthBookRefresh(() => {
@@ -3439,7 +3446,7 @@ var init = memoize_default(async () => {
3439
3446
  setShellIfWindows();
3440
3447
  registerCleanup(shutdownLspServerManager);
3441
3448
  registerCleanup(async () => {
3442
- const { cleanupSessionTeams } = await import("./chunk-cb3vp4tb.js");
3449
+ const { cleanupSessionTeams } = await import("./chunk-2n4jnkr3.js");
3443
3450
  await cleanupSessionTeams();
3444
3451
  });
3445
3452
  if (isScratchpadEnabled()) {
@@ -3461,7 +3468,7 @@ var init = memoize_default(async () => {
3461
3468
  gracefulShutdownSync(1);
3462
3469
  return;
3463
3470
  }
3464
- return import("./chunk-qph8gdxy.js").then((m) => m.showInvalidConfigDialog({ error }));
3471
+ return import("./chunk-mdm5cbxy.js").then((m) => m.showInvalidConfigDialog({ error }));
3465
3472
  } else {
3466
3473
  throw error;
3467
3474
  }
@@ -3506,7 +3513,7 @@ async function doInitializeTelemetry() {
3506
3513
  }
3507
3514
  }
3508
3515
  async function setMeterState() {
3509
- const { initializeTelemetry } = await import("./chunk-fstr76j0.js");
3516
+ const { initializeTelemetry } = await import("./chunk-mp5km99q.js");
3510
3517
  const meter = await initializeTelemetry();
3511
3518
  if (meter) {
3512
3519
  const createAttributedCounter = (name, options) => {
@@ -3533,9 +3540,9 @@ init_history();
3533
3540
  // src/replLauncher.tsx
3534
3541
  var jsx_runtime = __toESM(require_jsx_runtime(), 1);
3535
3542
  async function launchRepl(root, appProps, replProps, renderAndRun) {
3536
- const { App } = await import("./chunk-rg3c0e6m.js");
3537
- const { SentryErrorBoundary } = await import("./chunk-rv57x1qr.js");
3538
- const { REPL } = await import("./chunk-zzjq53z6.js");
3543
+ const { App } = await import("./chunk-fb5ehysd.js");
3544
+ const { SentryErrorBoundary } = await import("./chunk-7gyjd00q.js");
3545
+ const { REPL } = await import("./chunk-g6d9avms.js");
3539
3546
  await renderAndRun(root, /* @__PURE__ */ jsx_runtime.jsx(SentryErrorBoundary, {
3540
3547
  name: "RootREPLBoundary",
3541
3548
  children: /* @__PURE__ */ jsx_runtime.jsx(App, {
@@ -4054,7 +4061,7 @@ function completeOnboarding() {
4054
4061
  saveGlobalConfig((current) => ({
4055
4062
  ...current,
4056
4063
  hasCompletedOnboarding: true,
4057
- lastOnboardingVersion: "4.1.1"
4064
+ lastOnboardingVersion: "4.1.2"
4058
4065
  }));
4059
4066
  }
4060
4067
  function showDialog(root, renderer) {
@@ -4067,7 +4074,7 @@ async function exitWithError(root, message, beforeExit) {
4067
4074
  return exitWithMessage(root, message, { color: "error", beforeExit });
4068
4075
  }
4069
4076
  async function exitWithMessage(root, message, options) {
4070
- const { Text } = await import("./chunk-7ghq231e.js");
4077
+ const { Text } = await import("./chunk-y3cshvgb.js");
4071
4078
  const color = options?.color;
4072
4079
  const exitCode = options?.exitCode ?? 1;
4073
4080
  root.render(color ? /* @__PURE__ */ jsx_runtime6.jsx(Text, {
@@ -4103,7 +4110,7 @@ async function showSetupScreens(root, permissionMode, allowDangerouslySkipPermis
4103
4110
  let onboardingShown = false;
4104
4111
  if (!config.theme || !config.hasCompletedOnboarding) {
4105
4112
  onboardingShown = true;
4106
- const { Onboarding } = await import("./chunk-5x884kq9.js");
4113
+ const { Onboarding } = await import("./chunk-3ed5qycn.js");
4107
4114
  await showSetupDialog(root, (done) => /* @__PURE__ */ jsx_runtime6.jsx(Onboarding, {
4108
4115
  onDone: () => {
4109
4116
  completeOnboarding();
@@ -4113,7 +4120,7 @@ async function showSetupScreens(root, permissionMode, allowDangerouslySkipPermis
4113
4120
  }
4114
4121
  if (!isEnvTruthy(process.env.CLAUBBIT)) {
4115
4122
  if (!checkHasTrustDialogAccepted()) {
4116
- const { TrustDialog } = await import("./chunk-mzh12ebc.js");
4123
+ const { TrustDialog } = await import("./chunk-y0z468z2.js");
4117
4124
  await showSetupDialog(root, (done) => /* @__PURE__ */ jsx_runtime6.jsx(TrustDialog, {
4118
4125
  commands,
4119
4126
  onDone: done
@@ -4129,7 +4136,7 @@ async function showSetupScreens(root, permissionMode, allowDangerouslySkipPermis
4129
4136
  }
4130
4137
  if (await shouldShowClaudeMdExternalIncludesWarning()) {
4131
4138
  const externalIncludes = getExternalClaudeMdIncludes(await getMemoryFiles(true));
4132
- const { ClaudeMdExternalIncludesDialog } = await import("./chunk-qy3bd939.js");
4139
+ const { ClaudeMdExternalIncludesDialog } = await import("./chunk-sx4gbak5.js");
4133
4140
  await showSetupDialog(root, (done) => /* @__PURE__ */ jsx_runtime6.jsx(ClaudeMdExternalIncludesDialog, {
4134
4141
  onDone: done,
4135
4142
  isStandaloneDialog: true,
@@ -4144,7 +4151,7 @@ async function showSetupScreens(root, permissionMode, allowDangerouslySkipPermis
4144
4151
  applyConfigEnvironmentVariables();
4145
4152
  setImmediate(() => initializeTelemetryAfterTrust());
4146
4153
  if (await isQualifiedForGrove()) {
4147
- const { GroveDialog } = await import("./chunk-xbc1xb90.js");
4154
+ const { GroveDialog } = await import("./chunk-fv94gm4h.js");
4148
4155
  const decision = await showSetupDialog(root, (done) => /* @__PURE__ */ jsx_runtime6.jsx(GroveDialog, {
4149
4156
  showIfAlreadyViewed: false,
4150
4157
  location: onboardingShown ? "onboarding" : "policy_update_modal",
@@ -4160,7 +4167,7 @@ async function showSetupScreens(root, permissionMode, allowDangerouslySkipPermis
4160
4167
  const customApiKeyTruncated = normalizeApiKeyForConfig(process.env.ANTHROPIC_API_KEY);
4161
4168
  const keyStatus = getCustomApiKeyStatus(customApiKeyTruncated);
4162
4169
  if (keyStatus === "new") {
4163
- const { ApproveApiKey } = await import("./chunk-wn11yvgy.js");
4170
+ const { ApproveApiKey } = await import("./chunk-1hr30g9j.js");
4164
4171
  await showSetupDialog(root, (done) => /* @__PURE__ */ jsx_runtime6.jsx(ApproveApiKey, {
4165
4172
  customApiKeyTruncated,
4166
4173
  onDone: done
@@ -4168,13 +4175,13 @@ async function showSetupScreens(root, permissionMode, allowDangerouslySkipPermis
4168
4175
  }
4169
4176
  }
4170
4177
  if ((permissionMode === "bypassPermissions" || allowDangerouslySkipPermissions) && !hasSkipDangerousModePermissionPrompt()) {
4171
- const { BypassPermissionsModeDialog } = await import("./chunk-d9tcjh43.js");
4178
+ const { BypassPermissionsModeDialog } = await import("./chunk-0wzfz235.js");
4172
4179
  await showSetupDialog(root, (done) => /* @__PURE__ */ jsx_runtime6.jsx(BypassPermissionsModeDialog, {
4173
4180
  onAccept: done
4174
4181
  }));
4175
4182
  }
4176
4183
  if (devChannels && devChannels.length > 0) {
4177
- const { DevChannelsDialog } = await import("./chunk-etcypdxa.js");
4184
+ const { DevChannelsDialog } = await import("./chunk-zb7ctc11.js");
4178
4185
  await showSetupDialog(root, (done) => /* @__PURE__ */ jsx_runtime6.jsx(DevChannelsDialog, {
4179
4186
  channels: devChannels,
4180
4187
  onAccept: () => {
@@ -4188,7 +4195,7 @@ async function showSetupScreens(root, permissionMode, allowDangerouslySkipPermis
4188
4195
  }));
4189
4196
  }
4190
4197
  if (claudeInChrome && !getGlobalConfig().hasCompletedClaudeInChromeOnboarding) {
4191
- const { ClaudeInChromeOnboarding } = await import("./chunk-vnsmwwcx.js");
4198
+ const { ClaudeInChromeOnboarding } = await import("./chunk-89jrgnx3.js");
4192
4199
  await showSetupDialog(root, (done) => /* @__PURE__ */ jsx_runtime6.jsx(ClaudeInChromeOnboarding, {
4193
4200
  onDone: done
4194
4201
  }));
@@ -4249,7 +4256,7 @@ function getRenderContext(exitOnCtrlC) {
4249
4256
  init_KeybindingProviderSetup();
4250
4257
  var jsx_runtime7 = __toESM(require_jsx_runtime(), 1);
4251
4258
  async function launchInvalidSettingsDialog(root, props) {
4252
- const { InvalidSettingsDialog } = await import("./chunk-dvp0xagf.js");
4259
+ const { InvalidSettingsDialog } = await import("./chunk-hjp1yckp.js");
4253
4260
  return showSetupDialog(root, (done) => /* @__PURE__ */ jsx_runtime7.jsx(InvalidSettingsDialog, {
4254
4261
  settingsErrors: props.settingsErrors,
4255
4262
  onContinue: done,
@@ -4257,7 +4264,7 @@ async function launchInvalidSettingsDialog(root, props) {
4257
4264
  }));
4258
4265
  }
4259
4266
  async function launchAssistantSessionChooser(root, props) {
4260
- const { AssistantSessionChooser } = await import("./chunk-7t9j97cz.js");
4267
+ const { AssistantSessionChooser } = await import("./chunk-6kddkcqk.js");
4261
4268
  return showSetupDialog(root, (done) => /* @__PURE__ */ jsx_runtime7.jsx(AssistantSessionChooser, {
4262
4269
  sessions: props.sessions,
4263
4270
  onSelect: (id) => done(id),
@@ -4265,7 +4272,7 @@ async function launchAssistantSessionChooser(root, props) {
4265
4272
  }));
4266
4273
  }
4267
4274
  async function launchAssistantInstallWizard(root) {
4268
- const { NewInstallWizard, computeDefaultInstallDir } = await import("./chunk-s81bx611.js");
4275
+ const { NewInstallWizard, computeDefaultInstallDir } = await import("./chunk-7yq22pd2.js");
4269
4276
  const defaultDir = await computeDefaultInstallDir();
4270
4277
  let rejectWithError;
4271
4278
  const errorPromise = new Promise((_, reject) => {
@@ -4280,7 +4287,7 @@ async function launchAssistantInstallWizard(root) {
4280
4287
  return Promise.race([resultPromise, errorPromise]);
4281
4288
  }
4282
4289
  async function launchTeleportResumeWrapper(root) {
4283
- const { TeleportResumeWrapper } = await import("./chunk-yjmtjd5c.js");
4290
+ const { TeleportResumeWrapper } = await import("./chunk-7ckqn3c3.js");
4284
4291
  return showSetupDialog(root, (done) => /* @__PURE__ */ jsx_runtime7.jsx(TeleportResumeWrapper, {
4285
4292
  onComplete: done,
4286
4293
  onCancel: () => done(null),
@@ -4288,7 +4295,7 @@ async function launchTeleportResumeWrapper(root) {
4288
4295
  }));
4289
4296
  }
4290
4297
  async function launchTeleportRepoMismatchDialog(root, props) {
4291
- const { TeleportRepoMismatchDialog } = await import("./chunk-gcrf35hk.js");
4298
+ const { TeleportRepoMismatchDialog } = await import("./chunk-zmj9sehj.js");
4292
4299
  return showSetupDialog(root, (done) => /* @__PURE__ */ jsx_runtime7.jsx(TeleportRepoMismatchDialog, {
4293
4300
  targetRepo: props.targetRepo,
4294
4301
  initialPaths: props.initialPaths,
@@ -4299,8 +4306,8 @@ async function launchTeleportRepoMismatchDialog(root, props) {
4299
4306
  async function launchResumeChooser(root, appProps, worktreePathsPromise, resumeProps) {
4300
4307
  const [worktreePaths, { ResumeConversation }, { App }] = await Promise.all([
4301
4308
  worktreePathsPromise,
4302
- import("./chunk-f1az36w2.js"),
4303
- import("./chunk-rg3c0e6m.js")
4309
+ import("./chunk-84a79s9g.js"),
4310
+ import("./chunk-fb5ehysd.js")
4304
4311
  ]);
4305
4312
  await renderAndRun(root, /* @__PURE__ */ jsx_runtime7.jsx(App, {
4306
4313
  getFpsMetrics: appProps.getFpsMetrics,
@@ -4326,7 +4333,7 @@ function registerWeixinBuiltinPlugin() {
4326
4333
  registerBuiltinPlugin({
4327
4334
  name: "weixin",
4328
4335
  description: "WeChat channel integration. Enables inbound WeChat messages via channels and provides reply/send_typing MCP tools. Configure with `ccb weixin login` and enable for a session with `--channels plugin:weixin@builtin`.",
4329
- version: "4.1.1",
4336
+ version: "4.1.2",
4330
4337
  defaultEnabled: true,
4331
4338
  mcpServers: {
4332
4339
  weixin: {
@@ -5710,7 +5717,7 @@ ${args}
5710
5717
  }
5711
5718
 
5712
5719
  // src/skills/bundled/cronManage.ts
5713
- init_prompt3();
5720
+ init_prompt4();
5714
5721
  init_bundledSkills();
5715
5722
  function registerCronListSkill() {
5716
5723
  registerBundledSkill({
@@ -5760,7 +5767,7 @@ Provide the job ID to cancel. Use /cron-list to see active jobs and their IDs.`
5760
5767
  }
5761
5768
 
5762
5769
  // src/skills/bundled/loop.ts
5763
- init_prompt3();
5770
+ init_prompt4();
5764
5771
  init_bundledSkills();
5765
5772
  var DEFAULT_INTERVAL = "10m";
5766
5773
  var USAGE_MESSAGE = `Usage: /loop [interval] <prompt>
@@ -6662,7 +6669,7 @@ init_pluginTelemetry();
6662
6669
  // src/utils/telemetry/skillLoadedEvent.ts
6663
6670
  init_commands();
6664
6671
  init_analytics();
6665
- init_prompt4();
6672
+ init_prompt3();
6666
6673
  async function logSkillsLoaded(cwd, contextWindowTokens) {
6667
6674
  const skills = await getSkillToolCommands(cwd);
6668
6675
  const skillBudget = getCharBudget(contextWindowTokens);
@@ -7233,6 +7240,31 @@ init_config2();
7233
7240
  init_log();
7234
7241
  init_permissionSetup();
7235
7242
  init_settings2();
7243
+ function resetAutoModeOptInForDefaultOffer() {
7244
+ if (true) {
7245
+ const config = getGlobalConfig();
7246
+ if (config.hasResetAutoModeOptInForDefaultOffer)
7247
+ return;
7248
+ if (getAutoModeEnabledState() !== "enabled")
7249
+ return;
7250
+ try {
7251
+ const user = getSettingsForSource("userSettings");
7252
+ if (user?.skipAutoPermissionPrompt && user?.permissions?.defaultMode !== "auto") {
7253
+ updateSettingsForSource("userSettings", {
7254
+ skipAutoPermissionPrompt: undefined
7255
+ });
7256
+ logEvent("tengu_migrate_reset_auto_opt_in_for_default_offer", {});
7257
+ }
7258
+ saveGlobalConfig((c) => {
7259
+ if (c.hasResetAutoModeOptInForDefaultOffer)
7260
+ return c;
7261
+ return { ...c, hasResetAutoModeOptInForDefaultOffer: true };
7262
+ });
7263
+ } catch (error) {
7264
+ logError(new Error(`Failed to reset auto mode opt-in: ${error}`));
7265
+ }
7266
+ }
7267
+ }
7236
7268
 
7237
7269
  // src/migrations/resetProToOpusDefault.ts
7238
7270
  init_analytics();
@@ -7367,9 +7399,10 @@ startKeychainPrefetch();
7367
7399
  var getTeammateUtils = () => (init_teammate(), __toCommonJS(exports_teammate));
7368
7400
  var getTeammatePromptAddendum = () => (init_teammatePromptAddendum(), __toCommonJS(exports_teammatePromptAddendum));
7369
7401
  var getTeammateModeSnapshot = () => (init_teammateModeSnapshot(), __toCommonJS(exports_teammateModeSnapshot));
7370
- var coordinatorModeModule = (init_coordinatorMode(), __toCommonJS(exports_coordinatorMode));
7402
+ var coordinatorModeModule = null;
7371
7403
  var assistantModule = (init_assistant(), __toCommonJS(exports_assistant));
7372
7404
  var kairosGate = (init_gate(), __toCommonJS(exports_gate));
7405
+ var autoModeStateModule = (init_autoModeState(), __toCommonJS(exports_autoModeState));
7373
7406
  profileCheckpoint("main_tsx_imports_loaded");
7374
7407
  function logManagedSettings() {
7375
7408
  try {
@@ -7439,7 +7472,9 @@ function runMigrations() {
7439
7472
  migrateSonnet45ToSonnet46();
7440
7473
  migrateOpusToOpus1m();
7441
7474
  migrateReplBridgeEnabledToRemoteControlAtStartup();
7442
- if (false) {}
7475
+ if (true) {
7476
+ resetAutoModeOptInForDefaultOffer();
7477
+ }
7443
7478
  if (process.env.USER_TYPE === "ant") {
7444
7479
  migrateFennecToOpus();
7445
7480
  }
@@ -7576,6 +7611,15 @@ var _pendingConnect = {
7576
7611
  dangerouslySkipPermissions: false
7577
7612
  };
7578
7613
  var _pendingAssistantChat = { sessionId: undefined, discover: false };
7614
+ var _pendingSSH = {
7615
+ host: undefined,
7616
+ cwd: undefined,
7617
+ permissionMode: undefined,
7618
+ dangerouslySkipPermissions: false,
7619
+ local: false,
7620
+ extraCliArgs: [],
7621
+ remoteBin: undefined
7622
+ };
7579
7623
  async function main() {
7580
7624
  profileCheckpoint("main_function_start");
7581
7625
  process.env.NoDefaultCurrentDirectoryInExePath = "1";
@@ -7630,17 +7674,17 @@ async function main() {
7630
7674
  if (true) {
7631
7675
  const handleUriIdx = process.argv.indexOf("--handle-uri");
7632
7676
  if (handleUriIdx !== -1 && process.argv[handleUriIdx + 1]) {
7633
- const { enableConfigs: enableConfigs2 } = await import("./chunk-1dg4nrws.js");
7677
+ const { enableConfigs: enableConfigs2 } = await import("./chunk-ycsh7pst.js");
7634
7678
  enableConfigs2();
7635
7679
  const uri = process.argv[handleUriIdx + 1];
7636
- const { handleDeepLinkUri } = await import("./chunk-mf1n757j.js");
7680
+ const { handleDeepLinkUri } = await import("./chunk-cwpxrn2d.js");
7637
7681
  const exitCode = await handleDeepLinkUri(uri);
7638
7682
  process.exit(exitCode);
7639
7683
  }
7640
7684
  if (process.platform === "darwin" && process.env.__CFBundleIdentifier === "com.anthropic.claude-code-url-handler") {
7641
- const { enableConfigs: enableConfigs2 } = await import("./chunk-1dg4nrws.js");
7685
+ const { enableConfigs: enableConfigs2 } = await import("./chunk-ycsh7pst.js");
7642
7686
  enableConfigs2();
7643
- const { handleUrlSchemeLaunch } = await import("./chunk-mf1n757j.js");
7687
+ const { handleUrlSchemeLaunch } = await import("./chunk-cwpxrn2d.js");
7644
7688
  const urlSchemeResult = await handleUrlSchemeLaunch();
7645
7689
  process.exit(urlSchemeResult ?? 1);
7646
7690
  }
@@ -7660,7 +7704,79 @@ async function main() {
7660
7704
  }
7661
7705
  }
7662
7706
  }
7663
- if (false) {}
7707
+ if (_pendingSSH) {
7708
+ const rawCliArgs = process.argv.slice(2);
7709
+ if (rawCliArgs[0] === "ssh") {
7710
+ const localIdx = rawCliArgs.indexOf("--local");
7711
+ if (localIdx !== -1) {
7712
+ _pendingSSH.local = true;
7713
+ rawCliArgs.splice(localIdx, 1);
7714
+ }
7715
+ const dspIdx = rawCliArgs.indexOf("--dangerously-skip-permissions");
7716
+ if (dspIdx !== -1) {
7717
+ _pendingSSH.dangerouslySkipPermissions = true;
7718
+ rawCliArgs.splice(dspIdx, 1);
7719
+ }
7720
+ const pmIdx = rawCliArgs.indexOf("--permission-mode");
7721
+ if (pmIdx !== -1 && rawCliArgs[pmIdx + 1] && !rawCliArgs[pmIdx + 1].startsWith("-")) {
7722
+ _pendingSSH.permissionMode = rawCliArgs[pmIdx + 1];
7723
+ rawCliArgs.splice(pmIdx, 2);
7724
+ }
7725
+ const pmEqIdx = rawCliArgs.findIndex((a) => a.startsWith("--permission-mode="));
7726
+ if (pmEqIdx !== -1) {
7727
+ _pendingSSH.permissionMode = rawCliArgs[pmEqIdx].split("=")[1];
7728
+ rawCliArgs.splice(pmEqIdx, 1);
7729
+ }
7730
+ const extractFlag = (flag, opts = {}) => {
7731
+ const i = rawCliArgs.indexOf(flag);
7732
+ if (i !== -1) {
7733
+ _pendingSSH.extraCliArgs.push(opts.as ?? flag);
7734
+ const val = rawCliArgs[i + 1];
7735
+ if (opts.hasValue && val && !val.startsWith("-")) {
7736
+ _pendingSSH.extraCliArgs.push(val);
7737
+ rawCliArgs.splice(i, 2);
7738
+ } else {
7739
+ rawCliArgs.splice(i, 1);
7740
+ }
7741
+ }
7742
+ const eqI = rawCliArgs.findIndex((a) => a.startsWith(`${flag}=`));
7743
+ if (eqI !== -1) {
7744
+ _pendingSSH.extraCliArgs.push(opts.as ?? flag, rawCliArgs[eqI].slice(flag.length + 1));
7745
+ rawCliArgs.splice(eqI, 1);
7746
+ }
7747
+ };
7748
+ const rbIdx = rawCliArgs.indexOf("--remote-bin");
7749
+ if (rbIdx !== -1 && rawCliArgs[rbIdx + 1] && !rawCliArgs[rbIdx + 1].startsWith("-")) {
7750
+ _pendingSSH.remoteBin = rawCliArgs[rbIdx + 1];
7751
+ rawCliArgs.splice(rbIdx, 2);
7752
+ }
7753
+ const rbEqIdx = rawCliArgs.findIndex((a) => a.startsWith("--remote-bin="));
7754
+ if (rbEqIdx !== -1) {
7755
+ _pendingSSH.remoteBin = rawCliArgs[rbEqIdx].split("=").slice(1).join("=");
7756
+ rawCliArgs.splice(rbEqIdx, 1);
7757
+ }
7758
+ extractFlag("-c", { as: "--continue" });
7759
+ extractFlag("--continue");
7760
+ extractFlag("--resume", { hasValue: true });
7761
+ extractFlag("--model", { hasValue: true });
7762
+ }
7763
+ if (rawCliArgs[0] === "ssh" && rawCliArgs[1] && !rawCliArgs[1].startsWith("-")) {
7764
+ _pendingSSH.host = rawCliArgs[1];
7765
+ let consumed = 2;
7766
+ if (rawCliArgs[2] && !rawCliArgs[2].startsWith("-")) {
7767
+ _pendingSSH.cwd = rawCliArgs[2];
7768
+ consumed = 3;
7769
+ }
7770
+ const rest = rawCliArgs.slice(consumed);
7771
+ if (rest.includes("-p") || rest.includes("--print")) {
7772
+ process.stderr.write(`Error: headless (-p/--print) mode is not supported with claude ssh
7773
+ `);
7774
+ gracefulShutdownSync(1);
7775
+ return;
7776
+ }
7777
+ process.argv = [process.argv[0], process.argv[1], ...rest];
7778
+ }
7779
+ }
7664
7780
  const cliArgs = process.argv.slice(2);
7665
7781
  const forceInteractive = isEnvTruthy(process.env.CLAUDE_CODE_FORCE_INTERACTIVE);
7666
7782
  const isNonInteractive = shouldUseNonInteractiveSession({
@@ -7781,7 +7897,7 @@ async function run() {
7781
7897
  if (!isEnvTruthy(process.env.CLAUDE_CODE_DISABLE_TERMINAL_TITLE)) {
7782
7898
  process.title = "csc";
7783
7899
  }
7784
- const { initSinks } = await import("./chunk-f2d9gmzw.js");
7900
+ const { initSinks } = await import("./chunk-ttzyw0y7.js");
7785
7901
  initSinks();
7786
7902
  profileCheckpoint("preAction_after_sinks");
7787
7903
  const pluginDir = thisCommand.getOptionValue("pluginDir");
@@ -7875,7 +7991,9 @@ async function run() {
7875
7991
  let fileDownloadPromise;
7876
7992
  const agentsJson = options.agents;
7877
7993
  const agentCli = options.agent;
7878
- if (false) {}
7994
+ if (agentCli) {
7995
+ process.env.CLAUDE_CODE_AGENT = agentCli;
7996
+ }
7879
7997
  let outputFormat = options.outputFormat;
7880
7998
  let inputFormat = options.inputFormat;
7881
7999
  let verbose = options.verbose ?? getGlobalConfig().verbose;
@@ -8072,7 +8190,11 @@ ${addendum}` : addendum;
8072
8190
  dangerouslySkipPermissions
8073
8191
  });
8074
8192
  setSessionBypassPermissionsMode(permissionMode === "bypassPermissions");
8075
- if (false) {}
8193
+ if (true) {
8194
+ if (options.enableAutoMode || permissionModeCli === "auto" || permissionMode === "auto" || !permissionModeCli && isDefaultPermissionModeAuto()) {
8195
+ autoModeStateModule?.setAutoModeFlagCli(true);
8196
+ }
8197
+ }
8076
8198
  let dynamicMcpConfig = {
8077
8199
  "mcp-chrome": {
8078
8200
  type: "http",
@@ -8226,9 +8348,9 @@ ${hint}` : hint;
8226
8348
  }
8227
8349
  if (getPlatform() !== "unknown" && !getIsNonInteractiveSession()) {
8228
8350
  try {
8229
- const { getChicagoEnabled } = await import("./chunk-3xwn1ww1.js");
8351
+ const { getChicagoEnabled } = await import("./chunk-04js9982.js");
8230
8352
  if (getChicagoEnabled()) {
8231
- const { setupComputerUseMCP } = await import("./chunk-dw1cwmt3.js");
8353
+ const { setupComputerUseMCP } = await import("./chunk-tnqjynvy.js");
8232
8354
  const { mcpConfig: mcpConfig2, allowedTools: cuTools } = setupComputerUseMCP();
8233
8355
  dynamicMcpConfig = {
8234
8356
  ...dynamicMcpConfig,
@@ -8326,7 +8448,9 @@ ${hint}` : hint;
8326
8448
  }
8327
8449
  toolPermissionContext = removeDangerousPermissions(toolPermissionContext, overlyBroadBashPermissions);
8328
8450
  }
8329
- if (false) {}
8451
+ if (dangerousPermissions.length > 0) {
8452
+ toolPermissionContext = stripDangerousPermissionsForAutoMode(toolPermissionContext);
8453
+ }
8330
8454
  warnings.forEach((warning) => {
8331
8455
  console.error(warning);
8332
8456
  });
@@ -8382,10 +8506,7 @@ ${hint}` : hint;
8382
8506
  profileCheckpoint("action_after_input_prompt");
8383
8507
  maybeActivateProactive(options);
8384
8508
  let tools = getTools(toolPermissionContext);
8385
- if (isEnvTruthy(process.env.CLAUDE_CODE_COORDINATOR_MODE)) {
8386
- const { applyCoordinatorToolFilter } = await import("./chunk-wmd102c3.js");
8387
- tools = applyCoordinatorToolFilter(tools);
8388
- }
8509
+ if (false) {}
8389
8510
  profileCheckpoint("action_tools_loaded");
8390
8511
  let jsonSchema;
8391
8512
  if (isSyntheticOutputToolEnabled({ isNonInteractiveSession }) && options.jsonSchema) {
@@ -8408,7 +8529,7 @@ ${hint}` : hint;
8408
8529
  profileCheckpoint("action_before_setup");
8409
8530
  logForDebugging("[STARTUP] Running setup()...");
8410
8531
  const setupStart = Date.now();
8411
- const { setup } = await import("./chunk-hn438x41.js");
8532
+ const { setup } = await import("./chunk-7hnmt967.js");
8412
8533
  const messagingSocketPath = undefined;
8413
8534
  const preSetupCwd = getCwd();
8414
8535
  if (process.env.CLAUDE_CODE_ENTRYPOINT !== "local-agent") {
@@ -8602,7 +8723,7 @@ ${assistantAddendum}` : assistantAddendum;
8602
8723
  if (process.env.USER_TYPE === "ant") {
8603
8724
  installAsciicastRecorder();
8604
8725
  }
8605
- const { createRoot } = await import("./chunk-7ghq231e.js");
8726
+ const { createRoot } = await import("./chunk-y3cshvgb.js");
8606
8727
  root = await createRoot(ctx.renderOptions);
8607
8728
  logEvent("tengu_timer", {
8608
8729
  event: "startup",
@@ -8612,7 +8733,16 @@ ${assistantAddendum}` : assistantAddendum;
8612
8733
  const setupScreensStart = Date.now();
8613
8734
  const onboardingShown = await showSetupScreens(root, permissionMode, allowDangerouslySkipPermissions, commands, enableClaudeInChrome, devChannels);
8614
8735
  logForDebugging(`[STARTUP] showSetupScreens() completed in ${Date.now() - setupScreensStart}ms`);
8615
- if (false) {}
8736
+ if (remoteControlOption !== undefined) {
8737
+ const { getBridgeDisabledReason } = await import("./chunk-64wm5777.js");
8738
+ const disabledReason = await getBridgeDisabledReason();
8739
+ remoteControl = disabledReason === null;
8740
+ if (disabledReason) {
8741
+ process.stderr.write(source_default.yellow(`${disabledReason}
8742
+ --rc flag ignored.
8743
+ `));
8744
+ }
8745
+ }
8616
8746
  if (false) {}
8617
8747
  if (onboardingShown && prompt?.trim().toLowerCase() === "/login") {
8618
8748
  prompt = "";
@@ -8621,7 +8751,7 @@ ${assistantAddendum}` : assistantAddendum;
8621
8751
  refreshPolicyLimits();
8622
8752
  resetUserCache();
8623
8753
  refreshGrowthBookAfterAuthChange();
8624
- import("./chunk-rhndt0ek.js").then((m) => {
8754
+ import("./chunk-58jcwxyh.js").then((m) => {
8625
8755
  m.clearTrustedDeviceToken();
8626
8756
  return m.enrollTrustedDevice();
8627
8757
  });
@@ -8733,7 +8863,7 @@ ${assistantAddendum}` : assistantAddendum;
8733
8863
  }
8734
8864
  }
8735
8865
  logForDiagnosticsNoPII("info", "started", {
8736
- version: "4.1.1",
8866
+ version: "4.1.2",
8737
8867
  is_native_binary: isInBundledMode()
8738
8868
  });
8739
8869
  registerCleanup(async () => {
@@ -8839,7 +8969,16 @@ ${assistantAddendum}` : assistantAddendum;
8839
8969
  ...{ kairosEnabled }
8840
8970
  };
8841
8971
  const headlessStore = createStore(headlessInitialState, onChangeAppState);
8842
- if (false) {}
8972
+ if (true) {
8973
+ verifyAutoModeGateAccess(toolPermissionContext, headlessStore.getState().fastMode).then(({ updateContext }) => {
8974
+ headlessStore.setState((prev) => {
8975
+ const nextCtx = updateContext(prev.toolPermissionContext);
8976
+ if (nextCtx === prev.toolPermissionContext)
8977
+ return prev;
8978
+ return { ...prev, toolPermissionContext: nextCtx };
8979
+ });
8980
+ });
8981
+ }
8843
8982
  if (options.sessionPersistence === false) {
8844
8983
  setSessionPersistenceDisabled(true);
8845
8984
  }
@@ -8946,14 +9085,14 @@ ${assistantAddendum}` : assistantAddendum;
8946
9085
  profileCheckpoint("after_connectMcp_claudeai");
8947
9086
  if (!isBareMode()) {
8948
9087
  startDeferredPrefetches();
8949
- import("./chunk-jpd98chs.js").then((m) => m.startBackgroundHousekeeping());
9088
+ import("./chunk-5w9qcjjt.js").then((m) => m.startBackgroundHousekeeping());
8950
9089
  if (process.env.USER_TYPE === "ant") {
8951
9090
  import("./chunk-3nk79af8.js").then((m) => m.startSdkMemoryMonitor());
8952
9091
  }
8953
9092
  }
8954
9093
  logSessionTelemetry();
8955
9094
  profileCheckpoint("before_print_import");
8956
- const { runHeadless } = await import("./chunk-fnjqn6ez.js");
9095
+ const { runHeadless } = await import("./chunk-0d8p649e.js");
8957
9096
  profileCheckpoint("after_print_import");
8958
9097
  runHeadless(inputPrompt, () => headlessStore.getState(), headlessStore.setState, commandsHeadless, tools, sdkMcpConfigs, agentDefinitions.activeAgents, {
8959
9098
  continue: options.continue,
@@ -9148,7 +9287,7 @@ ${assistantAddendum}` : assistantAddendum;
9148
9287
  logStartupTelemetry();
9149
9288
  logSessionTelemetry();
9150
9289
  });
9151
- const sessionUploaderPromise = process.env.USER_TYPE === "ant" ? import("./chunk-srrcngcy.js") : null;
9290
+ const sessionUploaderPromise = process.env.USER_TYPE === "ant" ? import("./chunk-hhcx2jjn.js") : null;
9152
9291
  const uploaderReady = sessionUploaderPromise ? sessionUploaderPromise.then((mod) => mod.createSessionTurnUploader()).catch(() => null) : null;
9153
9292
  const sessionConfig = {
9154
9293
  debug: debug || debugToStderr,
@@ -9182,7 +9321,7 @@ ${assistantAddendum}` : assistantAddendum;
9182
9321
  let resumeSucceeded = false;
9183
9322
  try {
9184
9323
  const resumeStart = performance.now();
9185
- const { clearSessionCaches } = await import("./chunk-q9fppwnq.js");
9324
+ const { clearSessionCaches } = await import("./chunk-pyfrphvc.js");
9186
9325
  clearSessionCaches();
9187
9326
  const result = await loadConversationForResume(undefined, undefined);
9188
9327
  if (!result) {
@@ -9261,8 +9400,71 @@ Session: ${directConnectConfig.sessionId}`, "info");
9261
9400
  thinkingConfig
9262
9401
  }, renderAndRun);
9263
9402
  return;
9264
- } else if (false) {} else if (_pendingAssistantChat && (_pendingAssistantChat.sessionId || _pendingAssistantChat.discover)) {
9265
- const { discoverAssistantSessions } = await import("./chunk-dt0y1vkc.js");
9403
+ } else if (_pendingSSH?.host) {
9404
+ const {
9405
+ createSSHSession,
9406
+ createLocalSSHSession,
9407
+ SSHSessionError
9408
+ } = await import("./chunk-cy223s48.js");
9409
+ let sshSession;
9410
+ try {
9411
+ if (_pendingSSH.local) {
9412
+ process.stderr.write(`Starting local ssh-proxy test session...
9413
+ `);
9414
+ sshSession = await createLocalSSHSession({
9415
+ cwd: _pendingSSH.cwd,
9416
+ permissionMode: _pendingSSH.permissionMode,
9417
+ dangerouslySkipPermissions: _pendingSSH.dangerouslySkipPermissions
9418
+ });
9419
+ } else {
9420
+ process.stderr.write(`Connecting to ${_pendingSSH.host}\u2026
9421
+ `);
9422
+ const isTTY = process.stderr.isTTY;
9423
+ let hadProgress = false;
9424
+ sshSession = await createSSHSession({
9425
+ host: _pendingSSH.host,
9426
+ cwd: _pendingSSH.cwd,
9427
+ localVersion: "4.1.2",
9428
+ permissionMode: _pendingSSH.permissionMode,
9429
+ dangerouslySkipPermissions: _pendingSSH.dangerouslySkipPermissions,
9430
+ extraCliArgs: _pendingSSH.extraCliArgs,
9431
+ remoteBin: _pendingSSH.remoteBin
9432
+ }, isTTY ? {
9433
+ onProgress: (msg) => {
9434
+ hadProgress = true;
9435
+ process.stderr.write(`\r ${msg}\x1B[K`);
9436
+ }
9437
+ } : {});
9438
+ if (hadProgress)
9439
+ process.stderr.write(`
9440
+ `);
9441
+ }
9442
+ setOriginalCwd(sshSession.remoteCwd);
9443
+ setCwdState(sshSession.remoteCwd);
9444
+ setDirectConnectServerUrl(_pendingSSH.local ? "local" : _pendingSSH.host);
9445
+ } catch (err) {
9446
+ return await exitWithError(root, err instanceof SSHSessionError ? err.message : String(err), () => gracefulShutdown(1));
9447
+ }
9448
+ const sshInfoMessage = createSystemMessage(_pendingSSH.local ? `Local ssh-proxy test session
9449
+ cwd: ${sshSession.remoteCwd}
9450
+ Auth: unix socket \u2192 local proxy` : `SSH session to ${_pendingSSH.host}
9451
+ Remote cwd: ${sshSession.remoteCwd}
9452
+ Auth: unix socket -R \u2192 local proxy`, "info");
9453
+ await launchRepl(root, { getFpsMetrics, stats, initialState }, {
9454
+ debug: debug || debugToStderr,
9455
+ commands,
9456
+ initialTools: [],
9457
+ initialMessages: [sshInfoMessage],
9458
+ mcpClients: [],
9459
+ autoConnectIdeFlag: ide,
9460
+ mainThreadAgentDefinition,
9461
+ disableSlashCommands,
9462
+ sshSession,
9463
+ thinkingConfig
9464
+ }, renderAndRun);
9465
+ return;
9466
+ } else if (_pendingAssistantChat && (_pendingAssistantChat.sessionId || _pendingAssistantChat.discover)) {
9467
+ const { discoverAssistantSessions } = await import("./chunk-x41dz9y9.js");
9266
9468
  let targetSessionId = _pendingAssistantChat.sessionId;
9267
9469
  if (!targetSessionId) {
9268
9470
  let sessions;
@@ -9303,7 +9505,7 @@ Session: ${directConnectConfig.sessionId}`, "info");
9303
9505
  const {
9304
9506
  checkAndRefreshOAuthTokenIfNeeded,
9305
9507
  getClaudeAIOAuthTokens: getClaudeAIOAuthTokens2
9306
- } = await import("./chunk-0qa1hgxp.js");
9508
+ } = await import("./chunk-t7y6mg54.js");
9307
9509
  await checkAndRefreshOAuthTokenIfNeeded();
9308
9510
  let apiCreds;
9309
9511
  try {
@@ -9342,7 +9544,7 @@ Session: ${directConnectConfig.sessionId}`, "info");
9342
9544
  }, renderAndRun);
9343
9545
  return;
9344
9546
  } else if (options.resume || options.fromPr || teleport || remote !== null) {
9345
- const { clearSessionCaches } = await import("./chunk-q9fppwnq.js");
9547
+ const { clearSessionCaches } = await import("./chunk-pyfrphvc.js");
9346
9548
  clearSessionCaches();
9347
9549
  let messages = null;
9348
9550
  let processedResume;
@@ -9417,7 +9619,7 @@ Usage: csc --remote "your task description"`, () => gracefulShutdown(1));
9417
9619
  logError(toError(error));
9418
9620
  return await exitWithError(root, `Error: ${errorMessage(error) || "Failed to authenticate"}`, () => gracefulShutdown(1));
9419
9621
  }
9420
- const { getClaudeAIOAuthTokens: getTokensForRemote } = await import("./chunk-0qa1hgxp.js");
9622
+ const { getClaudeAIOAuthTokens: getTokensForRemote } = await import("./chunk-t7y6mg54.js");
9421
9623
  const getAccessTokenForRemote = () => getTokensForRemote()?.accessToken ?? apiCreds.accessToken;
9422
9624
  const remoteSessionConfig = createRemoteSessionConfig(createdSession.id, getAccessTokenForRemote, apiCreds.orgUUID, hasInitialPrompt);
9423
9625
  const remoteSessionUrl = `${getRemoteSessionUrl(createdSession.id)}?m=0`;
@@ -9490,7 +9692,7 @@ Usage: csc --remote "your task description"`, () => gracefulShutdown(1));
9490
9692
  `));
9491
9693
  }
9492
9694
  await validateGitState();
9493
- const { teleportWithProgress } = await import("./chunk-1qdm27em.js");
9695
+ const { teleportWithProgress } = await import("./chunk-gz0nj0mm.js");
9494
9696
  const result = await teleportWithProgress(root, teleport);
9495
9697
  setTeleportedSessionInfo({ sessionId: teleport });
9496
9698
  messages = result.messages;
@@ -9672,9 +9874,7 @@ Usage: csc --remote "your task description"`, () => gracefulShutdown(1));
9672
9874
  profileCheckpoint("action_after_hooks");
9673
9875
  maybeActivateProactive(options);
9674
9876
  maybeActivateBrief(options);
9675
- if (true) {
9676
- saveMode(coordinatorModeModule?.isCoordinatorMode() ? "coordinator" : "normal");
9677
- }
9877
+ if (false) {}
9678
9878
  let deepLinkBanner = null;
9679
9879
  if (true) {
9680
9880
  if (options.deepLinkOrigin) {
@@ -9699,7 +9899,7 @@ Usage: csc --remote "your task description"`, () => gracefulShutdown(1));
9699
9899
  pendingHookMessages
9700
9900
  }, renderAndRun);
9701
9901
  }
9702
- }).version("4.1.1 (CoStrict)", "-v, --version", "Output the version number");
9902
+ }).version("4.1.2 (CoStrict)", "-v, --version", "Output the version number");
9703
9903
  program2.addOption(new Option("-w, --worktree [name]", "Create a new git worktree for this session (optionally specify a name)").hideHelp());
9704
9904
  program2.addOption(new Option("--tmux", "Create a tmux session for the worktree (requires --worktree). Uses iTerm2 native panes when available; use --tmux=classic for traditional tmux.").hideHelp());
9705
9905
  if (canUserConfigureAdvisor()) {
@@ -9714,7 +9914,9 @@ Usage: csc --remote "your task description"`, () => gracefulShutdown(1));
9714
9914
  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());
9715
9915
  program2.option("--agent-teams", "[ANT-ONLY] Force Claude to use multi-agent mode for solving problems", () => true);
9716
9916
  }
9717
- if (false) {}
9917
+ if (true) {
9918
+ program2.addOption(new Option("--enable-auto-mode", "Opt in to auto mode").hideHelp());
9919
+ }
9718
9920
  if (true) {
9719
9921
  program2.addOption(new Option("--proactive", "Start in proactive autonomous mode").hideHelp());
9720
9922
  }
@@ -9738,7 +9940,10 @@ Usage: csc --remote "your task description"`, () => gracefulShutdown(1));
9738
9940
  program2.addOption(new Option("--sdk-url <url>", "Use remote WebSocket endpoint for SDK I/O streaming (only with -p and stream-json format)").hideHelp());
9739
9941
  program2.addOption(new Option("--teleport [session]", "Resume a teleport session, optionally specify session ID").hideHelp());
9740
9942
  program2.addOption(new Option("--remote [description]", "Create a remote session with the given description").hideHelp());
9741
- if (false) {}
9943
+ if (true) {
9944
+ program2.addOption(new Option("--remote-control [name]", "Start an interactive session with Remote Control enabled (optionally named)").argParser((value) => value || true).hideHelp());
9945
+ program2.addOption(new Option("--rc [name]", "Alias for --remote-control").argParser((value) => value || true).hideHelp());
9946
+ }
9742
9947
  if (false) {}
9743
9948
  profileCheckpoint("run_main_options_built");
9744
9949
  const isPrintMode = process.argv.includes("-p") || process.argv.includes("--print");
@@ -9754,7 +9959,7 @@ Usage: csc --remote "your task description"`, () => gracefulShutdown(1));
9754
9959
  debug,
9755
9960
  verbose
9756
9961
  }) => {
9757
- const { mcpServeHandler } = await import("./chunk-4pf098nn.js");
9962
+ const { mcpServeHandler } = await import("./chunk-nmyfe9j9.js");
9758
9963
  await mcpServeHandler({ debug, verbose });
9759
9964
  });
9760
9965
  registerMcpAddCommand(mcp);
@@ -9762,36 +9967,36 @@ Usage: csc --remote "your task description"`, () => gracefulShutdown(1));
9762
9967
  registerMcpXaaIdpCommand(mcp);
9763
9968
  }
9764
9969
  mcp.command("remove <name>").alias("rm").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) => {
9765
- const { mcpRemoveHandler } = await import("./chunk-4pf098nn.js");
9970
+ const { mcpRemoveHandler } = await import("./chunk-nmyfe9j9.js");
9766
9971
  await mcpRemoveHandler(name, options);
9767
9972
  });
9768
9973
  mcp.command("list").alias("ls").description("List configured MCP servers").action(async () => {
9769
- const { mcpListHandler } = await import("./chunk-4pf098nn.js");
9974
+ const { mcpListHandler } = await import("./chunk-nmyfe9j9.js");
9770
9975
  await mcpListHandler();
9771
9976
  });
9772
9977
  mcp.command("get <name>").description("Get details about an MCP server").action(async (name) => {
9773
- const { mcpGetHandler } = await import("./chunk-4pf098nn.js");
9978
+ const { mcpGetHandler } = await import("./chunk-nmyfe9j9.js");
9774
9979
  await mcpGetHandler(name);
9775
9980
  });
9776
9981
  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) => {
9777
- const { mcpAddJsonHandler } = await import("./chunk-4pf098nn.js");
9982
+ const { mcpAddJsonHandler } = await import("./chunk-nmyfe9j9.js");
9778
9983
  await mcpAddJsonHandler(name, json, options);
9779
9984
  });
9780
9985
  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) => {
9781
- const { mcpAddFromDesktopHandler } = await import("./chunk-4pf098nn.js");
9986
+ const { mcpAddFromDesktopHandler } = await import("./chunk-nmyfe9j9.js");
9782
9987
  await mcpAddFromDesktopHandler(options);
9783
9988
  });
9784
9989
  mcp.command("reset-project-choices").description("Reset all approved and rejected project-scoped (.mcp.json) servers within this project").action(async () => {
9785
- const { mcpResetChoicesHandler } = await import("./chunk-4pf098nn.js");
9990
+ const { mcpResetChoicesHandler } = await import("./chunk-nmyfe9j9.js");
9786
9991
  await mcpResetChoicesHandler();
9787
9992
  });
9788
9993
  if (true) {
9789
9994
  const serveAction = async (opts) => {
9790
- const { startServer } = await import("./chunk-r1sfk1j6.js");
9995
+ const { startServer } = await import("./chunk-4zvptd40.js");
9791
9996
  const { EventBus } = await import("./chunk-3sbvwddb.js");
9792
- const { SessionManager } = await import("./chunk-6dhkeb6t.js");
9997
+ const { SessionManager } = await import("./chunk-pr321r8d.js");
9793
9998
  const { printBanner } = await import("./chunk-4jr4f2va.js");
9794
- const { getScriptArgsForChild, saveChildSpawnPrefix } = await import("./chunk-pv7jrynh.js");
9999
+ const { getScriptArgsForChild, saveChildSpawnPrefix } = await import("./chunk-5bd0sf0q.js");
9795
10000
  await saveChildSpawnPrefix();
9796
10001
  const eventBus = new EventBus;
9797
10002
  const config = {
@@ -9835,7 +10040,16 @@ Usage: csc --remote "your task description"`, () => gracefulShutdown(1));
9835
10040
  program2.command("server").description("Start a CoStrict session server (alias: serve)").option("--port <number>", "HTTP port", "0").option("--host <string>", "Bind address", "127.0.0.1").option("--auth-token <token>", "Bearer token for auth (currently disabled)").option("--unix <path>", "Listen on a unix domain socket").option("--workspace <dir>", "Default working directory for sessions that do not specify cwd").option("--idle-timeout <ms>", "Idle timeout for detached sessions in ms (0 = never expire)", "1800000").option("--max-sessions <n>", "Maximum concurrent sessions (0 = unlimited)", "32").action(serveAction);
9836
10041
  program2.command("serve").description("Start a CoStrict HTTP API server").option("--port <number>", "HTTP port", "0").option("--host <string>", "Bind address", "127.0.0.1").option("--auth-token <token>", "Bearer token for auth (currently disabled)").option("--unix <path>", "Listen on a unix domain socket").option("--workspace <dir>", "Default working directory for sessions that do not specify cwd").option("--idle-timeout <ms>", "Idle timeout for detached sessions in ms (0 = never expire)", "1800000").option("--max-sessions <n>", "Maximum concurrent sessions (0 = unlimited)", "32").action(serveAction);
9837
10042
  }
9838
- if (false) {}
10043
+ if (true) {
10044
+ program2.command("ssh <host> [dir]").description("Run CoStrict on a remote host over SSH. Deploys the binary and " + "tunnels API auth back through your local machine \u2014 no remote setup needed.").option("--permission-mode <mode>", "Permission mode for the remote session").option("--dangerously-skip-permissions", "Skip all permission prompts on the remote (dangerous)").option("--remote-bin <command>", "Custom remote binary command (skips probe/deploy). Example: --remote-bin 'bun /path/to/project/dist/cli.js'").option("--local", "e2e test mode \u2014 spawn the child CLI locally (skip ssh/deploy). " + "Exercises the auth proxy and unix-socket plumbing without a remote host.").action(async () => {
10045
+ process.stderr.write(`Usage: csc ssh <user@host | ssh-config-alias> [dir]
10046
+
10047
+ Runs CoStrict on a remote Linux host. You don't need to install
10048
+ ` + "anything on the remote or run `csc auth login` there \u2014 the binary is\n" + `deployed over SSH and API auth tunnels back through your local machine.
10049
+ `);
10050
+ process.exit(1);
10051
+ });
10052
+ }
9839
10053
  if (true) {
9840
10054
  program2.command("open <cc-url>").description("Connect to a CoStrict server (internal \u2014 use cc:// URLs)").option("-p, --print [prompt]", "Print mode (headless)").option("--output-format <format>", "Output format: text, json, stream-json", "text").action(async (ccUrl, opts) => {
9841
10055
  const { parseConnectUrl } = await import("./chunk-1qzt23et.js");
@@ -9871,112 +10085,136 @@ Usage: csc --remote "your task description"`, () => gracefulShutdown(1));
9871
10085
  console: useConsole,
9872
10086
  claudeai
9873
10087
  }) => {
9874
- const { authLogin } = await import("./chunk-y90gh0z2.js");
10088
+ const { authLogin } = await import("./chunk-bb9h35x7.js");
9875
10089
  await authLogin({ email, sso, console: useConsole, claudeai });
9876
10090
  });
9877
10091
  auth.command("status").description("Show authentication status").option("--json", "Output as JSON (default)").option("--text", "Output as human-readable text").action(async (opts) => {
9878
- const { authStatus } = await import("./chunk-y90gh0z2.js");
10092
+ const { authStatus } = await import("./chunk-bb9h35x7.js");
9879
10093
  await authStatus(opts);
9880
10094
  });
9881
10095
  auth.command("logout").description("Log out from your CoStrict account").action(async () => {
9882
- const { authLogout } = await import("./chunk-y90gh0z2.js");
10096
+ const { authLogout } = await import("./chunk-bb9h35x7.js");
9883
10097
  await authLogout();
9884
10098
  });
9885
10099
  const coworkOption = () => new Option("--cowork", "Use cowork_plugins directory").hideHelp();
9886
10100
  const pluginCmd = program2.command("plugin").alias("plugins").alias("plug").description("Manage CoStrict plugins").addHelpCommand(false).configureHelp(createSortedHelpConfig());
9887
10101
  pluginCmd.command("validate <path>").description("Validate a plugin or marketplace manifest").addOption(coworkOption()).action(async (manifestPath, options) => {
9888
- const { pluginValidateHandler } = await import("./chunk-t2r4qham.js");
10102
+ const { pluginValidateHandler } = await import("./chunk-vetj2j2n.js");
9889
10103
  await pluginValidateHandler(manifestPath, options);
9890
10104
  });
9891
10105
  pluginCmd.command("list").alias("ls").description("List installed plugins").option("--json", "Output as JSON").option("--available", "Include available plugins from marketplaces (requires --json)").addOption(coworkOption()).action(async (options) => {
9892
- const { pluginListHandler } = await import("./chunk-t2r4qham.js");
10106
+ const { pluginListHandler } = await import("./chunk-vetj2j2n.js");
9893
10107
  await pluginListHandler(options);
9894
10108
  });
9895
10109
  const marketplaceCmd = pluginCmd.command("marketplace").description("Manage CoStrict marketplaces").configureHelp(createSortedHelpConfig());
9896
10110
  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) => {
9897
- const { marketplaceAddHandler } = await import("./chunk-t2r4qham.js");
10111
+ const { marketplaceAddHandler } = await import("./chunk-vetj2j2n.js");
9898
10112
  await marketplaceAddHandler(source, options);
9899
10113
  });
9900
10114
  marketplaceCmd.command("list").description("List all configured marketplaces").option("--json", "Output as JSON").addOption(coworkOption()).action(async (options) => {
9901
- const { marketplaceListHandler } = await import("./chunk-t2r4qham.js");
10115
+ const { marketplaceListHandler } = await import("./chunk-vetj2j2n.js");
9902
10116
  await marketplaceListHandler(options);
9903
10117
  });
9904
10118
  marketplaceCmd.command("remove <name>").alias("rm").description("Remove a configured marketplace").addOption(coworkOption()).action(async (name, options) => {
9905
- const { marketplaceRemoveHandler } = await import("./chunk-t2r4qham.js");
10119
+ const { marketplaceRemoveHandler } = await import("./chunk-vetj2j2n.js");
9906
10120
  await marketplaceRemoveHandler(name, options);
9907
10121
  });
9908
10122
  marketplaceCmd.command("update [name]").description("Update marketplace(s) from their source - updates all if no name specified").addOption(coworkOption()).action(async (name, options) => {
9909
- const { marketplaceUpdateHandler } = await import("./chunk-t2r4qham.js");
10123
+ const { marketplaceUpdateHandler } = await import("./chunk-vetj2j2n.js");
9910
10124
  await marketplaceUpdateHandler(name, options);
9911
10125
  });
9912
10126
  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) => {
9913
- const { pluginInstallHandler } = await import("./chunk-t2r4qham.js");
10127
+ const { pluginInstallHandler } = await import("./chunk-vetj2j2n.js");
9914
10128
  await pluginInstallHandler(plugin, options);
9915
10129
  });
9916
10130
  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) => {
9917
- const { pluginUninstallHandler } = await import("./chunk-t2r4qham.js");
10131
+ const { pluginUninstallHandler } = await import("./chunk-vetj2j2n.js");
9918
10132
  await pluginUninstallHandler(plugin, options);
9919
10133
  });
9920
10134
  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) => {
9921
- const { pluginEnableHandler } = await import("./chunk-t2r4qham.js");
10135
+ const { pluginEnableHandler } = await import("./chunk-vetj2j2n.js");
9922
10136
  await pluginEnableHandler(plugin, options);
9923
10137
  });
9924
10138
  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) => {
9925
- const { pluginDisableHandler } = await import("./chunk-t2r4qham.js");
10139
+ const { pluginDisableHandler } = await import("./chunk-vetj2j2n.js");
9926
10140
  await pluginDisableHandler(plugin, options);
9927
10141
  });
9928
10142
  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) => {
9929
- const { pluginUpdateHandler } = await import("./chunk-t2r4qham.js");
10143
+ const { pluginUpdateHandler } = await import("./chunk-vetj2j2n.js");
9930
10144
  await pluginUpdateHandler(plugin, options);
9931
10145
  });
9932
10146
  program2.command("setup-token").description("Set up a long-lived authentication token (requires Claude subscription)").action(async () => {
9933
10147
  const [{ setupTokenHandler }, { createRoot }] = await Promise.all([
9934
- import("./chunk-90qefxa4.js"),
9935
- import("./chunk-7ghq231e.js")
10148
+ import("./chunk-v522k1r4.js"),
10149
+ import("./chunk-y3cshvgb.js")
9936
10150
  ]);
9937
10151
  const root = await createRoot(getBaseRenderOptions(false));
9938
10152
  await setupTokenHandler(root);
9939
10153
  });
9940
10154
  program2.command("agents").description("List configured agents").option("--setting-sources <sources>", "Comma-separated list of setting sources to load (user, project, local).").action(async () => {
9941
- const { agentsHandler } = await import("./chunk-bxfv6aew.js");
10155
+ const { agentsHandler } = await import("./chunk-e26hypm4.js");
9942
10156
  await agentsHandler();
9943
10157
  process.exit(0);
9944
10158
  });
9945
- if (false) {}
10159
+ if (true) {
10160
+ if (getAutoModeEnabledStateIfCached() !== "disabled") {
10161
+ const autoModeCmd = program2.command("auto-mode", { hidden: true }).description("Inspect auto mode classifier configuration");
10162
+ autoModeCmd.command("defaults").description("Print the default auto mode environment, allow, and deny rules as JSON").action(async () => {
10163
+ const { autoModeDefaultsHandler } = await import("./chunk-jx80x2sn.js");
10164
+ autoModeDefaultsHandler();
10165
+ process.exit(0);
10166
+ });
10167
+ autoModeCmd.command("config").description("Print the effective auto mode config as JSON: your settings where set, defaults otherwise").action(async () => {
10168
+ const { autoModeConfigHandler } = await import("./chunk-jx80x2sn.js");
10169
+ autoModeConfigHandler();
10170
+ process.exit(0);
10171
+ });
10172
+ autoModeCmd.command("critique").description("Get AI feedback on your custom auto mode rules").option("--model <model>", "Override which model is used").action(async (options) => {
10173
+ const { autoModeCritiqueHandler } = await import("./chunk-jx80x2sn.js");
10174
+ await autoModeCritiqueHandler(options);
10175
+ process.exit();
10176
+ });
10177
+ }
10178
+ }
9946
10179
  {
9947
10180
  const autonomyCmd = program2.command("autonomy").description("Inspect and manage automatic autonomy runs and flows");
9948
10181
  autonomyCmd.command("status").description("Print autonomy run, flow, team, pipe, and remote-control status").option("--deep", "Include teams, pipes, daemon, and remote-control sections").action(async (options) => {
9949
- const { autonomyStatusHandler } = await import("./chunk-ec3vxfsp.js");
10182
+ const { autonomyStatusHandler } = await import("./chunk-envqyd27.js");
9950
10183
  await autonomyStatusHandler(options);
9951
10184
  process.exit(0);
9952
10185
  });
9953
10186
  autonomyCmd.command("runs [limit]").description("List recent autonomy runs").action(async (limit) => {
9954
- const { autonomyRunsHandler } = await import("./chunk-ec3vxfsp.js");
10187
+ const { autonomyRunsHandler } = await import("./chunk-envqyd27.js");
9955
10188
  await autonomyRunsHandler(limit);
9956
10189
  process.exit(0);
9957
10190
  });
9958
10191
  autonomyCmd.command("flows [limit]").description("List recent autonomy flows").action(async (limit) => {
9959
- const { autonomyFlowsHandler } = await import("./chunk-ec3vxfsp.js");
10192
+ const { autonomyFlowsHandler } = await import("./chunk-envqyd27.js");
9960
10193
  await autonomyFlowsHandler(limit);
9961
10194
  process.exit(0);
9962
10195
  });
9963
10196
  const flowCmd = autonomyCmd.command("flow <flowId>").description("Inspect a single autonomy flow").action(async (flowId) => {
9964
- const { autonomyFlowHandler } = await import("./chunk-ec3vxfsp.js");
10197
+ const { autonomyFlowHandler } = await import("./chunk-envqyd27.js");
9965
10198
  await autonomyFlowHandler(flowId);
9966
10199
  process.exit(0);
9967
10200
  });
9968
10201
  flowCmd.command("cancel <flowId>").description("Cancel a queued, waiting, or running autonomy flow").action(async (flowId) => {
9969
- const { autonomyFlowCancelHandler } = await import("./chunk-ec3vxfsp.js");
10202
+ const { autonomyFlowCancelHandler } = await import("./chunk-envqyd27.js");
9970
10203
  await autonomyFlowCancelHandler(flowId);
9971
10204
  process.exit(0);
9972
10205
  });
9973
10206
  flowCmd.command("resume <flowId>").description("Resume a waiting autonomy flow").action(async (flowId) => {
9974
- const { autonomyFlowResumeHandler } = await import("./chunk-ec3vxfsp.js");
10207
+ const { autonomyFlowResumeHandler } = await import("./chunk-envqyd27.js");
9975
10208
  await autonomyFlowResumeHandler(flowId);
9976
10209
  process.exit(0);
9977
10210
  });
9978
10211
  }
9979
- if (false) {}
10212
+ if (true) {
10213
+ program2.command("remote-control", { hidden: true }).alias("rc").description("Connect your local environment for remote-control sessions via costrict.ai").action(async () => {
10214
+ const { bridgeMain } = await import("./chunk-a18ypbnr.js");
10215
+ await bridgeMain(process.argv.slice(3));
10216
+ });
10217
+ }
9980
10218
  if (true) {
9981
10219
  program2.command("assistant [sessionId]", { hidden: true }).description("Attach the REPL as a client to a running bridge session. Discovers sessions via API if no sessionId given.").action(() => {
9982
10220
  process.stderr.write(`Usage: csc assistant [sessionId]
@@ -9988,24 +10226,24 @@ Omit sessionId to discover and pick from available sessions.
9988
10226
  });
9989
10227
  }
9990
10228
  program2.command("cloud [args...]", { noHelp: true }).description("Manage cloud daemon (register device and connect via WebSocket tunnel)").allowUnknownOption().action(async (args) => {
9991
- const { cloudHandler } = await import("./chunk-80yycsam.js");
10229
+ const { cloudHandler } = await import("./chunk-a80y3b1p.js");
9992
10230
  await cloudHandler(args);
9993
10231
  });
9994
10232
  program2.command("update").alias("upgrade").description("Check for updates and install the latest version").action(async () => {
9995
- const { update } = await import("./chunk-naqmbswb.js");
10233
+ const { update } = await import("./chunk-p10xajeq.js");
9996
10234
  await update();
9997
10235
  });
9998
10236
  program2.command("doctor").description("Check the health of your CoStrict auto-updater").action(async () => {
9999
10237
  const [{ doctorHandler }, { createRoot }] = await Promise.all([
10000
- import("./chunk-90qefxa4.js"),
10001
- import("./chunk-7ghq231e.js")
10238
+ import("./chunk-v522k1r4.js"),
10239
+ import("./chunk-y3cshvgb.js")
10002
10240
  ]);
10003
10241
  const root = await createRoot(getBaseRenderOptions(false));
10004
10242
  await doctorHandler(root);
10005
10243
  });
10006
10244
  if (process.env.USER_TYPE === "ant") {
10007
10245
  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 () => {
10008
- const { up } = await import("./chunk-8c4wbrma.js");
10246
+ const { up } = await import("./chunk-y9mnawak.js");
10009
10247
  await up();
10010
10248
  });
10011
10249
  }
@@ -10021,7 +10259,7 @@ Examples:
10021
10259
  });
10022
10260
  }
10023
10261
  program2.command("install [target]").description("Install CoStrict native build. Use [target] to specify version (stable, latest, or specific version)").option("--force", "Force installation even if already installed").action(async (target, options) => {
10024
- const { installHandler } = await import("./chunk-90qefxa4.js");
10262
+ const { installHandler } = await import("./chunk-v522k1r4.js");
10025
10263
  await installHandler(target, options);
10026
10264
  });
10027
10265
  if (process.env.USER_TYPE === "ant") {
@@ -10032,11 +10270,11 @@ Examples:
10032
10270
  return Number(value);
10033
10271
  };
10034
10272
  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) => {
10035
- const { logHandler } = await import("./chunk-bdhx8k7k.js");
10273
+ const { logHandler } = await import("./chunk-a96dsyhm.js");
10036
10274
  await logHandler(logId);
10037
10275
  });
10038
10276
  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) => {
10039
- const { errorHandler } = await import("./chunk-bdhx8k7k.js");
10277
+ const { errorHandler } = await import("./chunk-a96dsyhm.js");
10040
10278
  await errorHandler(number);
10041
10279
  });
10042
10280
  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", `
@@ -10045,34 +10283,34 @@ Examples:
10045
10283
  $ claude export <uuid> conversation.txt Export conversation by session ID
10046
10284
  $ claude export input.json output.txt Render JSON log file to text
10047
10285
  $ claude export <uuid>.jsonl output.txt Render JSONL session file to text`).action(async (source, outputFile) => {
10048
- const { exportHandler } = await import("./chunk-bdhx8k7k.js");
10286
+ const { exportHandler } = await import("./chunk-a96dsyhm.js");
10049
10287
  await exportHandler(source, outputFile);
10050
10288
  });
10051
10289
  if (process.env.USER_TYPE === "ant") {
10052
10290
  const taskCmd = program2.command("task").description("[ANT-ONLY] Manage task list tasks");
10053
10291
  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) => {
10054
- const { taskCreateHandler } = await import("./chunk-bdhx8k7k.js");
10292
+ const { taskCreateHandler } = await import("./chunk-a96dsyhm.js");
10055
10293
  await taskCreateHandler(subject, opts);
10056
10294
  });
10057
10295
  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) => {
10058
- const { taskListHandler } = await import("./chunk-bdhx8k7k.js");
10296
+ const { taskListHandler } = await import("./chunk-a96dsyhm.js");
10059
10297
  await taskListHandler(opts);
10060
10298
  });
10061
10299
  taskCmd.command("get <id>").description("Get details of a task").option("-l, --list <id>", 'Task list ID (defaults to "tasklist")').action(async (id, opts) => {
10062
- const { taskGetHandler } = await import("./chunk-bdhx8k7k.js");
10300
+ const { taskGetHandler } = await import("./chunk-a96dsyhm.js");
10063
10301
  await taskGetHandler(id, opts);
10064
10302
  });
10065
10303
  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) => {
10066
- const { taskUpdateHandler } = await import("./chunk-bdhx8k7k.js");
10304
+ const { taskUpdateHandler } = await import("./chunk-a96dsyhm.js");
10067
10305
  await taskUpdateHandler(id, opts);
10068
10306
  });
10069
10307
  taskCmd.command("dir").description("Show the tasks directory path").option("-l, --list <id>", 'Task list ID (defaults to "tasklist")').action(async (opts) => {
10070
- const { taskDirHandler } = await import("./chunk-bdhx8k7k.js");
10308
+ const { taskDirHandler } = await import("./chunk-a96dsyhm.js");
10071
10309
  await taskDirHandler(opts);
10072
10310
  });
10073
10311
  }
10074
10312
  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) => {
10075
- const { completionHandler } = await import("./chunk-bdhx8k7k.js");
10313
+ const { completionHandler } = await import("./chunk-a96dsyhm.js");
10076
10314
  await completionHandler(shell, opts, program2);
10077
10315
  });
10078
10316
  }
@@ -10142,7 +10380,7 @@ async function logTenguInit({
10142
10380
  appendSystemPromptFlag
10143
10381
  },
10144
10382
  is_simple: isBareMode() || undefined,
10145
- is_coordinator: coordinatorModeModule?.isCoordinatorMode() ? true : undefined,
10383
+ is_coordinator: undefined,
10146
10384
  ...assistantActivationPath && {
10147
10385
  assistantActivationPath
10148
10386
  },
@@ -10212,5 +10450,5 @@ export {
10212
10450
  main
10213
10451
  };
10214
10452
 
10215
- //# debugId=02B69907BA84BD8564756E2164756E21
10216
- //# sourceMappingURL=chunk-ck1qvj5k.js.map
10453
+ //# debugId=78680F863768198364756E2164756E21
10454
+ //# sourceMappingURL=chunk-hyztfnyq.js.map