@costrict/csc 4.1.0 → 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-jj0pqphf.js → chunk-03g34taj.js} +55 -52
  2. package/dist/{chunk-srntgfa4.js → chunk-04h1dzn8.js} +58 -55
  3. package/dist/{chunk-bnqe1rhv.js → chunk-04js9982.js} +14 -14
  4. package/dist/{chunk-a40pqd86.js → chunk-0cm9fcaq.js} +4 -4
  5. package/dist/{chunk-3710m54v.js → chunk-0d8p649e.js} +205 -1297
  6. package/dist/{chunk-q4z98yeq.js → chunk-0ftbdtb6.js} +57909 -57909
  7. package/dist/{chunk-x1xw4k8y.js → chunk-0kv76cch.js} +69 -66
  8. package/dist/{chunk-5fmdr8kf.js → chunk-0q8601fc.js} +56 -53
  9. package/dist/{chunk-99ch3v87.js → chunk-0s2qjxt0.js} +2 -2
  10. package/dist/{chunk-wvexwzsv.js → chunk-0vjhwg78.js} +4 -4
  11. package/dist/{chunk-n20s9kza.js → chunk-0wfby4jk.js} +55 -52
  12. package/dist/{chunk-qsq0dead.js → chunk-0wzfz235.js} +55 -52
  13. package/dist/{chunk-jkkca78b.js → chunk-0z3swktk.js} +58 -55
  14. package/dist/{chunk-b50c6d9d.js → chunk-0zwtzj7s.js} +4 -4
  15. package/dist/{chunk-j4smny6q.js → chunk-12b1dsca.js} +3 -3
  16. package/dist/{chunk-xstgv88m.js → chunk-172aq1cm.js} +3 -3
  17. package/dist/{chunk-4cve1vrz.js → chunk-1928vvnf.js} +16 -16
  18. package/dist/{chunk-18vnrzf5.js → chunk-1gta3pqg.js} +26 -1390
  19. package/dist/{chunk-jkb9g66a.js → chunk-1hr30g9j.js} +56 -53
  20. package/dist/{chunk-qkewrphe.js → chunk-1ta87008.js} +13 -13
  21. package/dist/{chunk-c110nsx0.js → chunk-1tsg5bqp.js} +7 -7
  22. package/dist/{chunk-9ey1xvcm.js → chunk-1xdybmyp.js} +2 -2
  23. package/dist/{chunk-zdkvcpbe.js → chunk-1xqh8b38.js} +2 -2
  24. package/dist/{chunk-pb9tbzx4.js → chunk-1z6393pz.js} +55 -52
  25. package/dist/{chunk-rq1rj0fm.js → chunk-20rdctr8.js} +59 -56
  26. package/dist/{chunk-n99mdb05.js → chunk-2278qvvz.js} +82 -69
  27. package/dist/{chunk-1r3w86w2.js → chunk-27rca2qk.js} +14 -14
  28. package/dist/{chunk-0yw7zdrk.js → chunk-28p3x5mq.js} +58 -55
  29. package/dist/{chunk-cdcg7rv7.js → chunk-29n8fs0h.js} +3 -3
  30. package/dist/{chunk-eemwbs1k.js → chunk-2bahqsy8.js} +5 -5
  31. package/dist/{chunk-vmnb4fe2.js → chunk-2d4az1sb.js} +1051 -213
  32. package/dist/{chunk-bbm8cs3b.js → chunk-2dtsff0m.js} +2 -2
  33. package/dist/{chunk-epb6vn7a.js → chunk-2dvsb5m8.js} +3 -3
  34. package/dist/{chunk-hh9e110e.js → chunk-2ea63hn5.js} +55 -52
  35. package/dist/{chunk-2wzw1ch2.js → chunk-2heyngx7.js} +55 -52
  36. package/dist/{chunk-exy61tq9.js → chunk-2n4jnkr3.js} +5 -5
  37. package/dist/{chunk-04fesxxb.js → chunk-2npy5n4d.js} +3 -3
  38. package/dist/chunk-2yz7ej7r.js +215 -0
  39. package/dist/{chunk-6dszbr2m.js → chunk-347n8wrb.js} +56 -53
  40. package/dist/{chunk-ac8h9vfx.js → chunk-365z3p8q.js} +4 -4
  41. package/dist/{chunk-2bjxdx6v.js → chunk-3ax3g4ky.js} +5 -5
  42. package/dist/{chunk-6tgdp97d.js → chunk-3c22f5y8.js} +4 -4
  43. package/dist/{chunk-y8h1t9ak.js → chunk-3ed5qycn.js} +59 -56
  44. package/dist/{chunk-2afnxgdd.js → chunk-3hw6pcqt.js} +12 -12
  45. package/dist/chunk-3j0f3yyd.js +20 -0
  46. package/dist/{chunk-yc2nybgd.js → chunk-3keyh8d3.js} +2 -2
  47. package/dist/{chunk-hegr0s7q.js → chunk-3n8prx9k.js} +3 -3
  48. package/dist/{chunk-8fvbvp8b.js → chunk-3tnabt1t.js} +2 -2
  49. package/dist/{chunk-0jehknrf.js → chunk-3ydfy1vc.js} +2 -2
  50. package/dist/{chunk-246ewz3k.js → chunk-41ncbfk7.js} +3 -3
  51. package/dist/{chunk-9qdc1dr7.js → chunk-45ynv6r6.js} +2 -2
  52. package/dist/chunk-46sfycpp.js +125 -0
  53. package/dist/{chunk-a1mp5wrb.js → chunk-496449vy.js} +2 -2
  54. package/dist/{chunk-a8w0ptwp.js → chunk-49z79885.js} +3 -3
  55. package/dist/{chunk-25j8nzw3.js → chunk-4c8mdzm1.js} +4 -4
  56. package/dist/{chunk-frafv5eb.js → chunk-4f56n8y8.js} +4 -4
  57. package/dist/{chunk-1mft5mam.js → chunk-4ffz1d36.js} +4 -4
  58. package/dist/{chunk-9jkv01k5.js → chunk-4hgk89n9.js} +59 -56
  59. package/dist/{chunk-g2z79a35.js → chunk-4k4kn7h2.js} +18 -18
  60. package/dist/{chunk-vf5aqnmh.js → chunk-4ks3c21q.js} +64 -61
  61. package/dist/{chunk-bazg62tk.js → chunk-4v3p8phf.js} +15 -15
  62. package/dist/chunk-4vzg1cn7.js +264 -0
  63. package/dist/{chunk-ex5da5zw.js → chunk-4xp653hr.js} +55 -52
  64. package/dist/{chunk-szhqm62n.js → chunk-4zvptd40.js} +60 -56
  65. package/dist/{chunk-70ygvt3c.js → chunk-503675yy.js} +2 -2
  66. package/dist/{chunk-cpmwecza.js → chunk-52d0caw3.js} +58 -55
  67. package/dist/{chunk-x0vsajns.js → chunk-56speggn.js} +3 -3
  68. package/dist/{chunk-94zksc1x.js → chunk-58jcwxyh.js} +14 -14
  69. package/dist/{chunk-ff33xk7c.js → chunk-5bd0sf0q.js} +2 -2
  70. package/dist/chunk-5cxetff3.js +443 -0
  71. package/dist/{chunk-10k5cmhr.js → chunk-5dm3xwms.js} +6 -6
  72. package/dist/{chunk-kb3arncw.js → chunk-5e4sk6wr.js} +3 -3
  73. package/dist/{chunk-azj0n2d5.js → chunk-5fny1a0a.js} +48 -17
  74. package/dist/{chunk-vavwasjv.js → chunk-5hn85d4q.js} +58 -55
  75. package/dist/{chunk-h8mre2wt.js → chunk-5p3bwhcw.js} +5 -5
  76. package/dist/{chunk-sgmscys1.js → chunk-5r57a99p.js} +15 -15
  77. package/dist/{chunk-9t6bcs6h.js → chunk-5thf5z45.js} +136 -44
  78. package/dist/chunk-5vbtjcd2.js +624 -0
  79. package/dist/{chunk-16mcxht8.js → chunk-5w9qcjjt.js} +61 -58
  80. package/dist/{chunk-wvevgh1a.js → chunk-5xj3z42h.js} +5 -5
  81. package/dist/{chunk-r3ve8thc.js → chunk-62r8rxkw.js} +4 -4
  82. package/dist/chunk-64wm5777.js +85 -0
  83. package/dist/{chunk-mht29n4v.js → chunk-6a32d602.js} +55 -52
  84. package/dist/{chunk-007h648h.js → chunk-6aevda19.js} +2 -2
  85. package/dist/{chunk-445bwfcz.js → chunk-6bb0gyhh.js} +55 -52
  86. package/dist/{chunk-72jyr3w9.js → chunk-6d9njm1w.js} +2 -2
  87. package/dist/{chunk-7fxmzq5j.js → chunk-6fbvxhan.js} +3 -3
  88. package/dist/{chunk-d988v6vq.js → chunk-6kddkcqk.js} +57 -54
  89. package/dist/{chunk-ejds7a1j.js → chunk-6sytfk68.js} +5 -5
  90. package/dist/{chunk-7z7d0s4n.js → chunk-6ypvw68g.js} +55 -52
  91. package/dist/{chunk-cga8jcd5.js → chunk-6zkxtny0.js} +4 -4
  92. package/dist/{chunk-k7mg4se1.js → chunk-6zn0szv5.js} +19 -17
  93. package/dist/{chunk-yqb19vg0.js → chunk-71053xes.js} +14 -14
  94. package/dist/chunk-758qmraw.js +66 -0
  95. package/dist/{chunk-41rte42b.js → chunk-76g1m8sa.js} +16 -4
  96. package/dist/{chunk-t7d66zgt.js → chunk-7b1ze28c.js} +55 -52
  97. package/dist/{chunk-a3m8brwc.js → chunk-7bq6az8b.js} +3 -3
  98. package/dist/{chunk-p5zfk1p0.js → chunk-7ckqn3c3.js} +55 -52
  99. package/dist/chunk-7d5gzxsx.js +145 -0
  100. package/dist/{chunk-wwcagza5.js → chunk-7gyjd00q.js} +3 -3
  101. package/dist/{chunk-weq1878z.js → chunk-7hnmt967.js} +84 -80
  102. package/dist/{chunk-07bx2jcz.js → chunk-7jbeh3g8.js} +3 -3
  103. package/dist/{chunk-nk4avpbc.js → chunk-7k0h27s8.js} +7 -7
  104. package/dist/{chunk-zyjnx7p3.js → chunk-7myptjaa.js} +5 -5
  105. package/dist/{chunk-gj458fct.js → chunk-7yq22pd2.js} +57 -54
  106. package/dist/{chunk-jzngaehg.js → chunk-7zxvjs3d.js} +2 -2
  107. package/dist/{chunk-1yw96d3f.js → chunk-83v18n96.js} +14 -14
  108. package/dist/{chunk-cehe5fzp.js → chunk-84a79s9g.js} +124 -149
  109. package/dist/{chunk-188vmn2q.js → chunk-86n03xsk.js} +60 -57
  110. package/dist/{chunk-yrx21nzs.js → chunk-87ddk39d.js} +6 -6
  111. package/dist/{chunk-91pgjs9c.js → chunk-89jrgnx3.js} +15 -15
  112. package/dist/{chunk-0g5nbhfx.js → chunk-8dehkx39.js} +5 -5
  113. package/dist/{chunk-r5m7dsya.js → chunk-8fm77brm.js} +59 -56
  114. package/dist/{chunk-65q352pt.js → chunk-8fqa9v4h.js} +55 -52
  115. package/dist/{chunk-kr7tq75r.js → chunk-8pqe4w62.js} +62 -59
  116. package/dist/{chunk-bnma4wvz.js → chunk-8qp0ytjr.js} +2 -2
  117. package/dist/{chunk-3bz9rf07.js → chunk-8v8n8gxv.js} +3 -3
  118. package/dist/{chunk-nq3atbmt.js → chunk-94jqjx3g.js} +59 -56
  119. package/dist/chunk-9663bsk0.js +18 -0
  120. package/dist/{chunk-k927esxr.js → chunk-96gwphgv.js} +3 -3
  121. package/dist/{chunk-22gbyh19.js → chunk-9bf696cj.js} +95 -87
  122. package/dist/{chunk-50dqzjnc.js → chunk-9cw6etxe.js} +56 -53
  123. package/dist/{chunk-r7a5cqdw.js → chunk-9dwdn2sk.js} +7 -7
  124. package/dist/{chunk-w5hj47pg.js → chunk-9ggwn844.js} +55 -68
  125. package/dist/{chunk-3wdtayab.js → chunk-9gxdrrd5.js} +55 -52
  126. package/dist/{chunk-91n8b2bh.js → chunk-9q952pw0.js} +2 -2
  127. package/dist/{chunk-rh4c6hqb.js → chunk-9qgzdk8y.js} +7 -7
  128. package/dist/{chunk-308mgh4v.js → chunk-9qj9t1g4.js} +2 -2
  129. package/dist/{chunk-fepvmnye.js → chunk-9sr5cheh.js} +55 -52
  130. package/dist/{chunk-4ksc1s3d.js → chunk-9vvffdb6.js} +64 -61
  131. package/dist/chunk-a18ypbnr.js +151 -0
  132. package/dist/{chunk-agp8g4vs.js → chunk-a80y3b1p.js} +3 -3
  133. package/dist/{chunk-82e5ecfq.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-42m1b4hy.js → chunk-am5zfwnf.js} +19 -19
  137. package/dist/{chunk-dz9y4ynp.js → chunk-b21j3y4h.js} +2 -2
  138. package/dist/{chunk-k85dxf7e.js → chunk-b52sketm.js} +55 -52
  139. package/dist/{chunk-nda7wdyd.js → chunk-b7fcydvv.js} +18 -18
  140. package/dist/{chunk-tfy2cfmx.js → chunk-bb9h35x7.js} +55 -52
  141. package/dist/{chunk-8yvwvs92.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-6qjny6s9.js → chunk-be8pcep0.js} +2 -2
  145. package/dist/{chunk-gb253fe4.js → chunk-bgpftrxc.js} +56 -53
  146. package/dist/{chunk-1psvq5k9.js → chunk-bh4k9q9y.js} +4 -4
  147. package/dist/{chunk-1ht0vtnv.js → chunk-bjc8f709.js} +62 -59
  148. package/dist/{chunk-3xn43gdg.js → chunk-bm5370d5.js} +14 -14
  149. package/dist/{chunk-g14bjgw2.js → chunk-br1qf4bc.js} +12 -21
  150. package/dist/{chunk-wmxdjz06.js → chunk-bxmc7435.js} +7 -7
  151. package/dist/chunk-c36xznt7.js +1045 -0
  152. package/dist/{chunk-3153jw2k.js → chunk-c3z2f4aq.js} +58 -55
  153. package/dist/chunk-cchv4yn8.js +214 -0
  154. package/dist/{chunk-j4rqvdds.js → chunk-cewbt8ah.js} +2 -2
  155. package/dist/{chunk-txcczr8d.js → chunk-cfeakba6.js} +55 -52
  156. package/dist/{chunk-b0rzqvdk.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-nynqcpbc.js → chunk-cwpxrn2d.js} +17 -17
  161. package/dist/chunk-cy223s48.js +881 -0
  162. package/dist/{chunk-7btb0pt0.js → chunk-cydd546q.js} +57 -53
  163. package/dist/{chunk-vwppfk3m.js → chunk-cz5ycdta.js} +3 -3
  164. package/dist/{chunk-mkqj6971.js → chunk-da7f9a81.js} +105 -29
  165. package/dist/{chunk-6w9vbmda.js → chunk-dfzfxt1y.js} +7 -7
  166. package/dist/{chunk-qwn30dmv.js → chunk-dj6y2sr8.js} +3 -3
  167. package/dist/{chunk-cbhwxy49.js → chunk-djbawqmw.js} +55 -52
  168. package/dist/{chunk-n0qw1yqs.js → chunk-dpb1kvb9.js} +56 -53
  169. package/dist/{chunk-gr3hsybk.js → chunk-dt5c48mh.js} +2 -2
  170. package/dist/{chunk-sffjkpkr.js → chunk-e1m95nec.js} +6 -6
  171. package/dist/{chunk-gy5e77gm.js → chunk-e26hypm4.js} +56 -53
  172. package/dist/{chunk-8z65azad.js → chunk-e5kn4hwp.js} +56 -53
  173. package/dist/{chunk-750k6p99.js → chunk-e6dq8apj.js} +55 -52
  174. package/dist/{chunk-afjvd592.js → chunk-e6p5x2p4.js} +4 -4
  175. package/dist/{chunk-4bwmnypz.js → chunk-eb6x30zz.js} +57 -54
  176. package/dist/{chunk-mcmhgv5a.js → chunk-ebfv6acv.js} +12 -12
  177. package/dist/{chunk-zgt8wev2.js → chunk-egkwv0bp.js} +2 -2
  178. package/dist/{chunk-7e6cm3rj.js → chunk-ennzq1s5.js} +14 -4
  179. package/dist/{chunk-4am10fzg.js → chunk-envqyd27.js} +59 -55
  180. package/dist/{chunk-d9c2bj73.js → chunk-epprxdgg.js} +2 -2
  181. package/dist/{chunk-2nrg59n8.js → chunk-et42fzf1.js} +22 -22
  182. package/dist/{chunk-h0rbjg6x.js → chunk-f2mhrmww.js} +10 -3
  183. package/dist/{chunk-ywmprz18.js → chunk-fb5ehysd.js} +57 -54
  184. package/dist/chunk-fbtp7vga.js +37 -0
  185. package/dist/{chunk-d2148dsd.js → chunk-fgna18nd.js} +6 -6
  186. package/dist/{chunk-wzheh2yr.js → chunk-fknjgxt4.js} +56 -53
  187. package/dist/{chunk-y1jcd7xx.js → chunk-fpb43g1s.js} +6 -6
  188. package/dist/{chunk-d24kfzcv.js → chunk-ftfz2eh3.js} +2 -2
  189. package/dist/{chunk-3j8vq1pf.js → chunk-fv94gm4h.js} +56 -53
  190. package/dist/{chunk-fjqp3q7c.js → chunk-fx7pr1g4.js} +13 -13
  191. package/dist/{chunk-ryqepdpz.js → chunk-g0axk7cx.js} +56 -53
  192. package/dist/chunk-g6d9avms.js +205 -0
  193. package/dist/{chunk-xjfqctzs.js → chunk-g9caj6wj.js} +66 -63
  194. package/dist/{chunk-nfbw6f7k.js → chunk-gbekxw41.js} +56 -53
  195. package/dist/{chunk-ahq40vpt.js → chunk-gcpc6b2z.js} +2 -2
  196. package/dist/{chunk-98174mf4.js → chunk-gfycetpg.js} +5 -5
  197. package/dist/{chunk-sjjq8xdb.js → chunk-gn0ja3k5.js} +5 -5
  198. package/dist/{chunk-j2zvdmqh.js → chunk-gt9gwwdh.js} +5 -5
  199. package/dist/{chunk-cf8d6pz4.js → chunk-gz0nj0mm.js} +55 -52
  200. package/dist/{chunk-msr65xs2.js → chunk-gz6pze8f.js} +57 -54
  201. package/dist/{chunk-7m8k6pa3.js → chunk-h1frxdrg.js} +56 -54
  202. package/dist/{chunk-eac7ypee.js → chunk-h93ve2g2.js} +14 -14
  203. package/dist/{chunk-vee2y2a3.js → chunk-h9mr8ey4.js} +13 -13
  204. package/dist/{chunk-59bwmnpt.js → chunk-hd8ydnzq.js} +15 -15
  205. package/dist/{chunk-kgcmddnw.js → chunk-hebz2z6z.js} +58 -55
  206. package/dist/chunk-hgxb4qn5.js +390 -0
  207. package/dist/{chunk-00hg5r38.js → chunk-hh6kgtq5.js} +3 -3
  208. package/dist/{chunk-hd9nkrx3.js → chunk-hhcx2jjn.js} +3 -3
  209. package/dist/{chunk-6x5h6cqf.js → chunk-hjp1yckp.js} +56 -53
  210. package/dist/{chunk-bqbxmdjy.js → chunk-hjxz7a04.js} +58 -55
  211. package/dist/{chunk-0v69sn62.js → chunk-hkkz8rde.js} +55 -52
  212. package/dist/{chunk-677p38pg.js → chunk-hnms0snx.js} +2 -2
  213. package/dist/{chunk-y15fkqed.js → chunk-hq4jd1fy.js} +23 -23
  214. package/dist/{chunk-hknjwtbv.js → chunk-hthfhdty.js} +15 -15
  215. package/dist/{chunk-xkavy09t.js → chunk-hy5vd50e.js} +3 -3
  216. package/dist/{chunk-86nrce87.js → chunk-hyztfnyq.js} +468 -226
  217. package/dist/{chunk-45m4a7v2.js → chunk-j5rnevxw.js} +62 -59
  218. package/dist/{chunk-26g6w0ah.js → chunk-j74ctwq9.js} +3 -3
  219. package/dist/{chunk-nt0qt25w.js → chunk-jcdv05ym.js} +33 -5
  220. package/dist/{chunk-bdjevwn2.js → chunk-jd5xs374.js} +55 -52
  221. package/dist/{chunk-rz56zge4.js → chunk-jgbz49jh.js} +6 -4
  222. package/dist/{chunk-7hsedj2m.js → chunk-jhdtyhk5.js} +57 -54
  223. package/dist/{chunk-e40wen38.js → chunk-jkbkp0ek.js} +14 -14
  224. package/dist/{chunk-kf6gt482.js → chunk-jkyn6ge9.js} +5 -5
  225. package/dist/{chunk-nb02zd8m.js → chunk-jn7qa13m.js} +3 -3
  226. package/dist/{chunk-4ah5x35c.js → chunk-jt7ea6rq.js} +55 -52
  227. package/dist/{chunk-827qm1sh.js → chunk-jt7wch8z.js} +2 -2
  228. package/dist/{chunk-v4vcp64e.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-dkazyend.js → chunk-k11m1rfc.js} +57 -54
  232. package/dist/{chunk-z2yjcarh.js → chunk-k3mghke5.js} +57 -86
  233. package/dist/{chunk-a0dd5hkn.js → chunk-k5rrrd0q.js} +78 -75
  234. package/dist/{chunk-2wbwn8g8.js → chunk-kbbjfeb8.js} +2 -2
  235. package/dist/chunk-kcz5b7xv.js +73 -0
  236. package/dist/{chunk-173gkvba.js → chunk-khnxj5vx.js} +3 -3
  237. package/dist/{chunk-cgqv2grs.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-qgbfcm47.js → chunk-kszphewb.js} +63 -54
  241. package/dist/{chunk-h9j4zz8p.js → chunk-kxn6mzy3.js} +4 -4
  242. package/dist/{chunk-bjgz0wdj.js → chunk-m0zzdgkt.js} +31 -26
  243. package/dist/{chunk-xpvj19fq.js → chunk-m7qa1fqb.js} +3 -3
  244. package/dist/{chunk-ffg51hwt.js → chunk-mdm5cbxy.js} +55 -52
  245. package/dist/chunk-mnqvtfd5.js +78 -0
  246. package/dist/{chunk-429gckc3.js → chunk-mp5km99q.js} +20 -20
  247. package/dist/{chunk-psbm5jsc.js → chunk-mpxcgg5f.js} +6 -6
  248. package/dist/{chunk-a5615tp4.js → chunk-mqr18cwx.js} +4 -4
  249. package/dist/chunk-n014czx3.js +18 -0
  250. package/dist/{chunk-wtcd14r5.js → chunk-n40kbp9f.js} +55 -52
  251. package/dist/{chunk-z3qy0rgg.js → chunk-n51s6m60.js} +14 -14
  252. package/dist/{chunk-0rr38kc5.js → chunk-n87c314c.js} +56 -53
  253. package/dist/{chunk-qrzeq3x3.js → chunk-nevf0mb9.js} +15 -15
  254. package/dist/{chunk-fe3f357e.js → chunk-nkeknzb2.js} +4 -4
  255. package/dist/{chunk-xcvezw4b.js → chunk-nkgq6a5q.js} +28 -28
  256. package/dist/{chunk-3208ghtw.js → chunk-nmj9qx2x.js} +65 -62
  257. package/dist/{chunk-26bfvj72.js → chunk-nmyfe9j9.js} +57 -54
  258. package/dist/{chunk-fz2zjx1x.js → chunk-nmzy0qjn.js} +7 -7
  259. package/dist/{chunk-gdajxwh7.js → chunk-np05dg07.js} +55 -52
  260. package/dist/{chunk-w51sng2s.js → chunk-npgyhaqc.js} +2 -2
  261. package/dist/{chunk-chfh2dha.js → chunk-nr2skyv7.js} +56 -53
  262. package/dist/{chunk-5wrrjqyd.js → chunk-nv5rddp1.js} +55 -52
  263. package/dist/{chunk-7aeww2z6.js → chunk-p10xajeq.js} +69 -66
  264. package/dist/{chunk-2kajewxj.js → chunk-p1wxbhgj.js} +4 -4
  265. package/dist/{chunk-q65zt8zd.js → chunk-p6fhtt1h.js} +4 -4
  266. package/dist/{chunk-5w18hvcs.js → chunk-p8d1q69a.js} +55 -52
  267. package/dist/{chunk-rrcsw70h.js → chunk-pbmy8ktp.js} +7 -7
  268. package/dist/{chunk-wvp9qznk.js → chunk-pqrb30bj.js} +2 -2
  269. package/dist/{chunk-etd086w1.js → chunk-pr321r8d.js} +3 -3
  270. package/dist/{chunk-t4f85b5b.js → chunk-psq9gtg7.js} +2 -2
  271. package/dist/{chunk-wt40qpf8.js → chunk-ptermrp1.js} +60 -57
  272. package/dist/{chunk-ybpn8zcq.js → chunk-pyfrphvc.js} +57 -54
  273. package/dist/{chunk-vajyw4ea.js → chunk-pzb2zc4x.js} +6 -6
  274. package/dist/{chunk-9p4wsdjj.js → chunk-q0w614e1.js} +3 -3
  275. package/dist/{chunk-x8khmg37.js → chunk-q110twdj.js} +59 -116
  276. package/dist/{chunk-v3ynnwf5.js → chunk-q72dtjqy.js} +2 -2
  277. package/dist/{chunk-73zyqp47.js → chunk-q90bcq6v.js} +59 -56
  278. package/dist/{chunk-cmk5fvhp.js → chunk-qavfmmqd.js} +6 -6
  279. package/dist/{chunk-fsr3wqt8.js → chunk-qjx52q61.js} +2 -2
  280. package/dist/{chunk-fw4y0f76.js → chunk-qk2tvn8y.js} +56 -53
  281. package/dist/{chunk-2d9752es.js → chunk-qm3k6vez.js} +13 -13
  282. package/dist/{chunk-h2q4v2te.js → chunk-qmp50hjb.js} +19 -19
  283. package/dist/{chunk-tvnzqcya.js → chunk-qnztz65r.js} +56 -53
  284. package/dist/{chunk-0c1d11gp.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-gmyt1kr3.js → chunk-r3fadmd6.js} +5 -5
  289. package/dist/{chunk-sgw20vr8.js → chunk-r4mec6w5.js} +3 -3
  290. package/dist/chunk-r6g3xx75.js +415 -0
  291. package/dist/{chunk-3d8wynhd.js → chunk-r8ywba1h.js} +14 -14
  292. package/dist/{chunk-pc761fjv.js → chunk-r974358t.js} +13 -13
  293. package/dist/{chunk-s996ghdk.js → chunk-r9qnxgqt.js} +5 -5
  294. package/dist/{chunk-vyc908t4.js → chunk-rasdgp8g.js} +4 -4
  295. package/dist/{chunk-z4et0c5h.js → chunk-rbr0tsrz.js} +55 -52
  296. package/dist/{chunk-qak319wf.js → chunk-re5p7q2e.js} +4 -4
  297. package/dist/{chunk-ndfk4pk7.js → chunk-rfvzhq5x.js} +55 -52
  298. package/dist/{chunk-bqxeky5x.js → chunk-rfxctace.js} +3 -4
  299. package/dist/chunk-rhqffqzf.js +189 -0
  300. package/dist/{chunk-56qq2p9r.js → chunk-rnjtkqzg.js} +4 -4
  301. package/dist/{chunk-ws77frz2.js → chunk-rqa3fz1t.js} +55 -52
  302. package/dist/{chunk-ss1c88v5.js → chunk-rtgff67y.js} +63 -60
  303. package/dist/{chunk-2vvwrqnf.js → chunk-rw1070pc.js} +4 -4
  304. package/dist/{chunk-cxkxps51.js → chunk-rzrm7j9x.js} +2 -2
  305. package/dist/{chunk-bat87bmz.js → chunk-s262tfgm.js} +3 -3
  306. package/dist/{chunk-mj4zph9q.js → chunk-s4pjm9jw.js} +55 -52
  307. package/dist/chunk-s5pnejsn.js +216 -0
  308. package/dist/{chunk-6fp3tvak.js → chunk-sczmmmvj.js} +2 -2
  309. package/dist/{chunk-pynkknss.js → chunk-sd2g0s0k.js} +9 -9
  310. package/dist/{chunk-rnsws47e.js → chunk-sg5nsm4p.js} +3 -3
  311. package/dist/{chunk-c5sm4sc3.js → chunk-stqsfa68.js} +3 -3
  312. package/dist/{chunk-pxmfaad7.js → chunk-svb5eqfz.js} +14 -14
  313. package/dist/{chunk-5tbfphgg.js → chunk-swr65v0j.js} +10 -10
  314. package/dist/{chunk-4gkqm4bn.js → chunk-swtk97hy.js} +14 -14
  315. package/dist/{chunk-rrbsm1d2.js → chunk-sx4gbak5.js} +56 -53
  316. package/dist/{chunk-4n3kmsaj.js → chunk-t12d6tby.js} +3 -3
  317. package/dist/{chunk-w9dy1w2w.js → chunk-t20f5mnk.js} +14 -14
  318. package/dist/{chunk-rkwfpq4m.js → chunk-t408adb9.js} +56 -53
  319. package/dist/{chunk-gz1jqh8a.js → chunk-t7434h4s.js} +55 -52
  320. package/dist/{chunk-dve0wwbm.js → chunk-t7y6mg54.js} +13 -13
  321. package/dist/{chunk-tdpx7hh3.js → chunk-tdkwcv57.js} +4 -4
  322. package/dist/{chunk-crpj1nw0.js → chunk-tfew976a.js} +55 -52
  323. package/dist/{chunk-n9d1qnp6.js → chunk-thzmxfnt.js} +2 -2
  324. package/dist/{chunk-vh81ygd3.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-h9c871q9.js → chunk-tnqjynvy.js} +14 -14
  328. package/dist/{chunk-2hevw9te.js → chunk-tq32b105.js} +3 -3
  329. package/dist/{chunk-gzpsa71f.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-xs5ncg1b.js → chunk-ttzyw0y7.js} +17 -17
  333. package/dist/{chunk-997z9was.js → chunk-tw0b366n.js} +55 -52
  334. package/dist/{chunk-w2z0zq63.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-t15y7qj2.js → chunk-v21ssxkp.js} +2 -2
  338. package/dist/{chunk-dn3k7jx0.js → chunk-v2vzfj4h.js} +55 -52
  339. package/dist/{chunk-f6xc2rtk.js → chunk-v4h7dscd.js} +27 -249
  340. package/dist/{chunk-vn0y1222.js → chunk-v522k1r4.js} +70 -67
  341. package/dist/{chunk-b1akqr40.js → chunk-v9b2rh8h.js} +58 -55
  342. package/dist/{chunk-g8e4wwak.js → chunk-vacje5g9.js} +4 -4
  343. package/dist/{chunk-x36cer09.js → chunk-vetj2j2n.js} +60 -57
  344. package/dist/{chunk-354nk8fp.js → chunk-vpn54vqg.js} +6 -6
  345. package/dist/{chunk-xytm9792.js → chunk-vqhgs52z.js} +7 -7
  346. package/dist/{chunk-0yyajtmg.js → chunk-vtnm80k9.js} +13 -13
  347. package/dist/{chunk-0q17nthv.js → chunk-vvk6wx6b.js} +14 -14
  348. package/dist/{chunk-k4r2smrc.js → chunk-vym5zrn6.js} +4944 -2380
  349. package/dist/{chunk-9ej0hnae.js → chunk-vzxtxv4a.js} +56 -53
  350. package/dist/{chunk-pydt2a2n.js → chunk-w3wdqhv0.js} +62 -59
  351. package/dist/{chunk-esmecavs.js → chunk-w59jkye4.js} +56 -53
  352. package/dist/{chunk-r86f5rq0.js → chunk-w60fa5cj.js} +65 -62
  353. package/dist/{chunk-rnr60956.js → chunk-w8xchcwf.js} +3 -3
  354. package/dist/{chunk-f0a3t1s8.js → chunk-w9fptpp9.js} +64 -61
  355. package/dist/{chunk-4pc3744p.js → chunk-wa7g3yv7.js} +13 -13
  356. package/dist/{chunk-appan6jz.js → chunk-wdn3pb9r.js} +3 -3
  357. package/dist/{chunk-ta3mpea5.js → chunk-wqk03hpc.js} +55 -52
  358. package/dist/{chunk-6hywp0n9.js → chunk-wvs8wv8t.js} +2 -2
  359. package/dist/{chunk-nb32etb5.js → chunk-wwfe7gg7.js} +58 -55
  360. package/dist/{chunk-nmaxmbg9.js → chunk-wz18c465.js} +4 -4
  361. package/dist/{chunk-9gy4amsa.js → chunk-wz34c685.js} +15 -15
  362. package/dist/{chunk-5tg67tyt.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-4n33zjr2.js → chunk-x41dz9y9.js} +2 -2
  366. package/dist/chunk-x48x54hx.js +3942 -0
  367. package/dist/{chunk-fapmq0mf.js → chunk-x6cjkxqe.js} +5 -5
  368. package/dist/{chunk-37va52e9.js → chunk-x89sscn0.js} +2 -2
  369. package/dist/chunk-x9qqj8wc.js +153 -0
  370. package/dist/{chunk-wt541mkc.js → chunk-xa9xpah3.js} +3041 -2505
  371. package/dist/{chunk-644422j5.js → chunk-xcxcysx3.js} +2 -2
  372. package/dist/{chunk-qemwdcf4.js → chunk-xftqvncz.js} +9 -46
  373. package/dist/{chunk-zhmz5pc1.js → chunk-xhnmweqe.js} +86 -61
  374. package/dist/{chunk-jvnjg83j.js → chunk-xm6t6khx.js} +56 -53
  375. package/dist/chunk-xt65mfby.js +1395 -0
  376. package/dist/{chunk-e59fmxpj.js → chunk-xvmtyz8q.js} +2 -2
  377. package/dist/{chunk-55cx3c4n.js → chunk-xxfz08mf.js} +55 -52
  378. package/dist/{chunk-9zd21fw9.js → chunk-y061xbn9.js} +5 -5
  379. package/dist/{chunk-1tc6spqh.js → chunk-y0z468z2.js} +56 -53
  380. package/dist/{chunk-8x3wqyv3.js → chunk-y3cshvgb.js} +2 -2
  381. package/dist/{chunk-jakgz278.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-4zbc59gv.js → chunk-ycdbp5q4.js} +55 -52
  385. package/dist/{chunk-q6vrrdxm.js → chunk-ycsh7pst.js} +13 -13
  386. package/dist/{chunk-00c1cny7.js → chunk-yedzdc0a.js} +14 -8
  387. package/dist/{chunk-f0613fz6.js → chunk-yrr4d26k.js} +56 -53
  388. package/dist/{chunk-0mmyn5gx.js → chunk-yt5gwdg5.js} +7 -60
  389. package/dist/{chunk-bdd27pgp.js → chunk-yteefw26.js} +55 -52
  390. package/dist/{chunk-m0hg4ry7.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-pa6m6zh8.js → chunk-zb7ctc11.js} +55 -52
  394. package/dist/{chunk-tx6c6zpp.js → chunk-zc2mfxy0.js} +58 -55
  395. package/dist/{chunk-yh935z65.js → chunk-zdsqreyq.js} +3 -3
  396. package/dist/chunk-zf5btqc3.js +54 -0
  397. package/dist/{chunk-s6afn83n.js → chunk-zfwgjjde.js} +2 -2
  398. package/dist/{chunk-35se2h9e.js → chunk-zgvyn6yk.js} +55 -52
  399. package/dist/{chunk-hryyyanp.js → chunk-zmj9sehj.js} +56 -53
  400. package/dist/{chunk-cv2hk4fq.js → chunk-zr750mg3.js} +93 -56
  401. package/dist/{chunk-z1b4600y.js → chunk-zshw91dr.js} +5 -5
  402. package/dist/{chunk-m2epey0s.js → chunk-zyhpq0w1.js} +17 -5
  403. package/dist/{chunk-arnzwvcj.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-2s9sfj9h.js +0 -99
  409. package/dist/chunk-76xcw4kg.js +0 -138
  410. package/dist/chunk-7bdscsqe.js +0 -197
  411. package/dist/chunk-pppfybd8.js +0 -183
  412. package/dist/chunk-q2pkj7sp.js +0 -18
  413. package/dist/chunk-zbn3eb68.js +0 -57
@@ -1,56 +1,59 @@
1
1
  // @bun
2
- import"./chunk-cgqv2grs.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-psbm5jsc.js";
11
7
  import {
12
8
  buildDeepLinkBanner
13
- } from "./chunk-7fxmzq5j.js";
9
+ } from "./chunk-6fbvxhan.js";
14
10
  import {
15
11
  filterExistingPaths,
16
12
  getKnownPathsForRepo,
17
13
  updateGithubRepoPathMapping
18
- } from "./chunk-h9j4zz8p.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-y15fkqed.js";
21
+ } from "./chunk-hq4jd1fy.js";
26
22
  import {
27
- processResumedConversation,
28
- skillChangeDetector
29
- } from "./chunk-f6xc2rtk.js";
23
+ processResumedConversation
24
+ } from "./chunk-v4h7dscd.js";
30
25
  import {
31
26
  installAsciicastRecorder
32
- } from "./chunk-x07xwqrj.js";
33
- import"./chunk-70ygvt3c.js";
27
+ } from "./chunk-kpqx95pr.js";
28
+ import {
29
+ getBaseRenderOptions
30
+ } from "./chunk-ppxsd5ye.js";
34
31
  import {
35
32
  createStatsStore
36
- } from "./chunk-n9d1qnp6.js";
33
+ } from "./chunk-thzmxfnt.js";
37
34
  import {
38
35
  onChangeAppState
39
- } from "./chunk-a5615tp4.js";
36
+ } from "./chunk-mqr18cwx.js";
40
37
  import {
41
38
  seedEarlyInput,
42
39
  stopCapturingEarlyInput
43
- } from "./chunk-rz56zge4.js";
44
- import {
45
- getBaseRenderOptions
46
- } from "./chunk-ppxsd5ye.js";
40
+ } from "./chunk-jgbz49jh.js";
47
41
  import"./chunk-6hbmdynn.js";
42
+ import {
43
+ exports_assistant,
44
+ init_assistant
45
+ } from "./chunk-mpxcgg5f.js";
46
+ import"./chunk-503675yy.js";
47
+ import {
48
+ init_skillChangeDetector,
49
+ skillChangeDetector
50
+ } from "./chunk-2yz7ej7r.js";
48
51
  import {
49
52
  init_setup,
50
53
  setupClaudeInChrome,
51
54
  shouldAutoEnableClaudeInChrome,
52
55
  shouldEnableClaudeInChrome
53
- } from "./chunk-fe3f357e.js";
56
+ } from "./chunk-nkeknzb2.js";
54
57
  import {
55
58
  buildCliLaunch,
56
59
  init_cliLaunch
@@ -58,22 +61,22 @@ import {
58
61
  import {
59
62
  init_partition,
60
63
  partition_default
61
- } from "./chunk-t4f85b5b.js";
64
+ } from "./chunk-psq9gtg7.js";
62
65
  import {
63
66
  init_releaseNotes,
64
67
  migrateChangelogFromConfig
65
- } from "./chunk-zyjnx7p3.js";
68
+ } from "./chunk-7myptjaa.js";
66
69
  import {
67
70
  exports_extension,
68
71
  init_review
69
- } from "./chunk-q4z98yeq.js";
70
- import"./chunk-91n8b2bh.js";
72
+ } from "./chunk-0ftbdtb6.js";
73
+ import"./chunk-9q952pw0.js";
71
74
  import {
72
75
  VALID_INSTALLABLE_SCOPES,
73
76
  VALID_UPDATE_SCOPES
74
- } from "./chunk-kf6gt482.js";
75
- import"./chunk-sjjq8xdb.js";
76
- import"./chunk-sffjkpkr.js";
77
+ } from "./chunk-jkyn6ge9.js";
78
+ import"./chunk-gn0ja3k5.js";
79
+ import"./chunk-e1m95nec.js";
77
80
  import {
78
81
  BROWSER_TOOLS,
79
82
  init_src as init_src2
@@ -81,8 +84,8 @@ import {
81
84
  import {
82
85
  init_sink,
83
86
  initializeAnalyticsGates
84
- } from "./chunk-vh81ygd3.js";
85
- import"./chunk-qwn30dmv.js";
87
+ } from "./chunk-tmedrj3f.js";
88
+ import"./chunk-dj6y2sr8.js";
86
89
  import {
87
90
  AppStateProvider,
88
91
  CLAUDE_CODE_GUIDE_AGENT_TYPE,
@@ -133,7 +136,7 @@ import {
133
136
  excludeCommandsByServer,
134
137
  excludeResourcesByServer,
135
138
  exports_BriefTool,
136
- exports_coordinatorMode,
139
+ exports_autoModeState,
137
140
  exports_teammatePromptAddendum,
138
141
  fetchClaudeAIMcpConfigsIfEligible,
139
142
  fetchEnvironments,
@@ -142,6 +145,8 @@ import {
142
145
  generateTempFilePath,
143
146
  getActiveAgentsFromList,
144
147
  getAgentDefinitionsWithOverrides,
148
+ getAutoModeEnabledState,
149
+ getAutoModeEnabledStateIfCached,
145
150
  getCachedIdpIdToken,
146
151
  getCharBudget,
147
152
  getClaudeCodeMcpConfigs,
@@ -188,6 +193,7 @@ import {
188
193
  init_api as init_api2,
189
194
  init_apiControlConfig,
190
195
  init_auth as init_auth2,
196
+ init_autoModeState,
191
197
  init_bundledSkills,
192
198
  init_cacheUtils,
193
199
  init_changeDetector,
@@ -203,7 +209,6 @@ import {
203
209
  init_consolidationPrompt,
204
210
  init_context as init_context2,
205
211
  init_conversationRecovery,
206
- init_coordinatorMode,
207
212
  init_defaultBindings,
208
213
  init_effort,
209
214
  init_environments,
@@ -234,7 +239,7 @@ import {
234
239
  init_policyLimits,
235
240
  init_preconditions,
236
241
  init_product,
237
- init_prompt as init_prompt4,
242
+ init_prompt as init_prompt3,
238
243
  init_prompt3 as init_prompt5,
239
244
  init_promptSuggestion,
240
245
  init_remoteManagedSettings,
@@ -263,6 +268,7 @@ import {
263
268
  initializeVersionedPlugins,
264
269
  isAdvisorEnabled,
265
270
  isBuiltInAgent,
271
+ isDefaultPermissionModeAuto,
266
272
  isEligibleForRemoteManagedSettings,
267
273
  isKeybindingCustomizationEnabled,
268
274
  isPolicyAllowed,
@@ -306,7 +312,6 @@ import {
306
312
  saveIdpClientSecret,
307
313
  saveIdpIdTokenFromJwt,
308
314
  saveMcpClientSecret,
309
- saveMode,
310
315
  searchSessionsByCustomTitle,
311
316
  sessionIdExists,
312
317
  setAllHookEventsEnabled,
@@ -318,82 +323,86 @@ import {
318
323
  shouldShowClaudeMdExternalIncludesWarning,
319
324
  shutdownLangfuse,
320
325
  shutdownLspServerManager,
326
+ stripDangerousPermissionsForAutoMode,
321
327
  teleportToRemoteWithErrorHandling,
322
328
  uniqBy_default,
323
329
  updateSessionName,
324
330
  validateGitState,
325
331
  validateSessionRepository,
326
332
  validateUuid,
333
+ verifyAutoModeGateAccess,
327
334
  waitForPolicyLimitsToLoad,
328
335
  waitForRemoteManagedSettingsToLoad
329
- } from "./chunk-k4r2smrc.js";
336
+ } from "./chunk-vym5zrn6.js";
330
337
  import"./chunk-j7g5prq1.js";
331
- import {
332
- exports_proactive,
333
- getSessionIngressAuthToken,
334
- init_proactive,
335
- init_sessionIngressAuth
336
- } from "./chunk-w5hj47pg.js";
337
- import"./chunk-a1mp5wrb.js";
338
- import"./chunk-wvp9qznk.js";
338
+ import"./chunk-pqrb30bj.js";
339
+ import"./chunk-et824jj8.js";
339
340
  import {
340
341
  exports_teammateModeSnapshot,
341
342
  init_teammateModeSnapshot
342
- } from "./chunk-ahq40vpt.js";
343
+ } from "./chunk-gcpc6b2z.js";
343
344
  import"./chunk-dj0c74sd.js";
344
- import"./chunk-et824jj8.js";
345
345
  import {
346
346
  BASE_CHROME_PROMPT,
347
347
  CLAUDE_IN_CHROME_SKILL_HINT,
348
348
  init_prompt as init_prompt6
349
349
  } from "./chunk-7cpxexw0.js";
350
- import"./chunk-xstgv88m.js";
351
- import"./chunk-8fvbvp8b.js";
352
350
  import"./chunk-2gzv8nrw.js";
353
351
  import"./chunk-ehtwnxpg.js";
352
+ import"./chunk-172aq1cm.js";
354
353
  import {
355
354
  createEmptyAttributionState,
356
355
  init_commitAttribution
357
- } from "./chunk-h8mre2wt.js";
358
- import"./chunk-x6pa9me9.js";
359
- import"./chunk-2f6hs25r.js";
356
+ } from "./chunk-5p3bwhcw.js";
360
357
  import {
361
358
  DEFAULT_TASKS_MODE_TASK_LIST_ID,
362
359
  TASK_STATUSES,
363
360
  init_tasks
364
- } from "./chunk-wmxdjz06.js";
365
- import {
366
- init_builtinPlugins,
367
- registerBuiltinPlugin
368
- } from "./chunk-6hywp0n9.js";
361
+ } from "./chunk-bxmc7435.js";
362
+ import"./chunk-3tnabt1t.js";
369
363
  import {
370
- initSentry,
371
- init_sentry
372
- } from "./chunk-00hg5r38.js";
364
+ exports_proactive,
365
+ getSessionIngressAuthToken,
366
+ init_proactive,
367
+ init_sessionIngressAuth
368
+ } from "./chunk-9ggwn844.js";
369
+ import"./chunk-496449vy.js";
373
370
  import {
374
371
  init_worktreeModeEnabled,
375
372
  isWorktreeModeEnabled
376
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";
377
386
  import {
378
387
  CLAUDE_IN_CHROME_MCP_SERVER_NAME,
379
388
  init_common,
380
389
  isClaudeInChromeMCPServer
381
- } from "./chunk-677p38pg.js";
382
- import"./chunk-41rte42b.js";
390
+ } from "./chunk-hnms0snx.js";
391
+ import"./chunk-s5pnejsn.js";
383
392
  import"./chunk-dg8c6j5q.js";
384
393
  import {
385
394
  init_referral,
386
395
  prefetchPassesEligibility
387
- } from "./chunk-fapmq0mf.js";
388
- import"./chunk-xq92sh7h.js";
389
- import"./chunk-yrx21nzs.js";
390
- import"./chunk-26g6w0ah.js";
391
- import"./chunk-pgjmgh51.js";
396
+ } from "./chunk-x6cjkxqe.js";
397
+ import"./chunk-qzp51m93.js";
398
+ import"./chunk-87ddk39d.js";
399
+ import"./chunk-j74ctwq9.js";
392
400
  import"./chunk-pdkfgve3.js";
393
- import"./chunk-308mgh4v.js";
394
- import"./chunk-2wbwn8g8.js";
401
+ import"./chunk-a97kj439.js";
402
+ import"./chunk-9qj9t1g4.js";
403
+ import"./chunk-kbbjfeb8.js";
395
404
  import"./chunk-t4kcvmes.js";
396
- import"./chunk-5tg67tyt.js";
405
+ import"./chunk-wzzaxwej.js";
397
406
  import"./chunk-dx4aw2jf.js";
398
407
  import {
399
408
  ASK_USER_QUESTION_TOOL_NAME,
@@ -410,25 +419,26 @@ import {
410
419
  init_constants4,
411
420
  init_constants5,
412
421
  init_prompt4 as init_prompt2,
413
- init_prompt9 as init_prompt3,
422
+ init_prompt9 as init_prompt4,
414
423
  isKairosCronEnabled,
415
424
  isSyntheticOutputToolEnabled
416
- } from "./chunk-7e6cm3rj.js";
425
+ } from "./chunk-ennzq1s5.js";
417
426
  import"./chunk-14ya36qs.js";
418
427
  import"./chunk-edqtm6y0.js";
419
- import"./chunk-6fp3tvak.js";
428
+ import"./chunk-76g1m8sa.js";
420
429
  import"./chunk-4vbza3s0.js";
421
- import"./chunk-t15y7qj2.js";
422
- import"./chunk-644422j5.js";
430
+ import"./chunk-v21ssxkp.js";
431
+ import"./chunk-sczmmmvj.js";
432
+ import"./chunk-xcxcysx3.js";
423
433
  import"./chunk-4jm600zv.js";
424
- import"./chunk-zgt8wev2.js";
434
+ import"./chunk-egkwv0bp.js";
425
435
  import"./chunk-mh90mtzg.js";
426
- import"./chunk-tdpx7hh3.js";
427
- import"./chunk-appan6jz.js";
428
- import"./chunk-99ch3v87.js";
436
+ import"./chunk-tdkwcv57.js";
437
+ import"./chunk-wdn3pb9r.js";
438
+ import"./chunk-0s2qjxt0.js";
429
439
  import"./chunk-0k1kkyw8.js";
430
- import"./chunk-72jyr3w9.js";
431
- import"./chunk-bbm8cs3b.js";
440
+ import"./chunk-6d9njm1w.js";
441
+ import"./chunk-2dtsff0m.js";
432
442
  import"./chunk-2w8qb2c2.js";
433
443
  import"./chunk-26jcng1n.js";
434
444
  import"./chunk-h6hgwf7t.js";
@@ -437,15 +447,15 @@ import {
437
447
  fetchSession,
438
448
  init_api,
439
449
  prepareApiRequest
440
- } from "./chunk-xpvj19fq.js";
441
- import"./chunk-9ey1xvcm.js";
450
+ } from "./chunk-m7qa1fqb.js";
451
+ import"./chunk-1xdybmyp.js";
442
452
  import"./chunk-8ye7m55r.js";
443
453
  import {
444
454
  getTelemetryAttributes,
445
455
  init_betaSessionTracing,
446
456
  init_telemetryAttributes,
447
457
  isBetaTracingEnabled
448
- } from "./chunk-vyc908t4.js";
458
+ } from "./chunk-rasdgp8g.js";
449
459
  import"./chunk-nvce80tx.js";
450
460
  import {
451
461
  AGENT_TOOL_NAME,
@@ -550,13 +560,24 @@ import {
550
560
  updateSettingsForSource,
551
561
  validateForceLoginOrg,
552
562
  withOAuth401Retry
553
- } from "./chunk-9t6bcs6h.js";
563
+ } from "./chunk-5thf5z45.js";
554
564
  import {
555
565
  init_json,
556
566
  safeParseJSON
557
567
  } from "./chunk-fs34dpdm.js";
558
- 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";
559
576
  import"./chunk-00e8e1k5.js";
577
+ import {
578
+ init_windowsPaths,
579
+ setShellIfWindows
580
+ } from "./chunk-rzrm7j9x.js";
560
581
  import {
561
582
  configureGlobalAgents,
562
583
  configureGlobalMTLS,
@@ -565,32 +586,21 @@ import {
565
586
  init_proxy,
566
587
  validateExtraCACertsEnv
567
588
  } from "./chunk-4bvckeaj.js";
568
- import {
569
- count,
570
- exports_teammate,
571
- init_array,
572
- init_teammate,
573
- uniq
574
- } from "./chunk-zwarn9h7.js";
575
589
  import"./chunk-jakx4th4.js";
576
590
  import {
577
591
  PERMISSION_MODES
578
592
  } from "./chunk-pe9b769s.js";
579
- import {
580
- init_windowsPaths,
581
- setShellIfWindows
582
- } from "./chunk-cxkxps51.js";
583
593
  import {
584
594
  init_lazySchema,
585
595
  lazySchema
586
596
  } from "./chunk-64c1avct.js";
587
- import"./chunk-nz9rqw9y.js";
588
597
  import"./chunk-8g5pe1gr.js";
589
598
  import {
590
599
  getPlatform,
591
600
  init_platform
592
601
  } from "./chunk-nq504fa3.js";
593
- import"./chunk-3bz9rf07.js";
602
+ import"./chunk-8v8n8gxv.js";
603
+ import"./chunk-qxp3d963.js";
594
604
  import {
595
605
  init_v4
596
606
  } from "./chunk-6dpcm4za.js";
@@ -610,7 +620,7 @@ import {
610
620
  getOauthConfig,
611
621
  init_oauth
612
622
  } from "./chunk-rh5a2rg9.js";
613
- import"./chunk-w51sng2s.js";
623
+ import"./chunk-npgyhaqc.js";
614
624
  import"./chunk-6ws6m83v.js";
615
625
  import"./chunk-a4wjqc9g.js";
616
626
  import"./chunk-0f6syxra.js";
@@ -624,7 +634,7 @@ import {
624
634
  init_startupProfiler,
625
635
  profileCheckpoint,
626
636
  profileReport
627
- } from "./chunk-kb3arncw.js";
637
+ } from "./chunk-5e4sk6wr.js";
628
638
  import"./chunk-crmjpsqe.js";
629
639
  import {
630
640
  Byline,
@@ -639,7 +649,7 @@ import {
639
649
  isSynchronizedOutputSupported,
640
650
  setThemeConfigCallbacks,
641
651
  source_default
642
- } from "./chunk-m2epey0s.js";
652
+ } from "./chunk-zyhpq0w1.js";
643
653
  import {
644
654
  require_react
645
655
  } from "./chunk-64k6ybmm.js";
@@ -649,7 +659,7 @@ import {
649
659
  import {
650
660
  init_analytics,
651
661
  logEvent
652
- } from "./chunk-h0rbjg6x.js";
662
+ } from "./chunk-f2mhrmww.js";
653
663
  import"./chunk-kenv28g4.js";
654
664
  import"./chunk-nbq5dw92.js";
655
665
  import {
@@ -657,7 +667,7 @@ import {
657
667
  detectCurrentRepositoryWithHost,
658
668
  init_detectRepository,
659
669
  parseGitRemote
660
- } from "./chunk-xcm658wm.js";
670
+ } from "./chunk-ckq5d8ev.js";
661
671
  import {
662
672
  findGitRoot,
663
673
  getBranch,
@@ -667,14 +677,14 @@ import {
667
677
  init_diagLogs,
668
678
  init_git,
669
679
  logForDiagnosticsNoPII
670
- } from "./chunk-g8e4wwak.js";
680
+ } from "./chunk-vacje5g9.js";
671
681
  import"./chunk-nrcew0nb.js";
672
682
  import"./chunk-gagn0nrq.js";
673
- import"./chunk-dsdbya1y.js";
683
+ import"./chunk-qwtfyr6d.js";
674
684
  import {
675
685
  getCwd,
676
686
  init_cwd
677
- } from "./chunk-d24kfzcv.js";
687
+ } from "./chunk-ftfz2eh3.js";
678
688
  import {
679
689
  init_log,
680
690
  init_privacyLevel,
@@ -3371,8 +3381,8 @@ var init = memoize_default(async () => {
3371
3381
  setupGracefulShutdown();
3372
3382
  profileCheckpoint("init_after_graceful_shutdown");
3373
3383
  Promise.all([
3374
- import("./chunk-4pc3744p.js"),
3375
- import("./chunk-pc761fjv.js")
3384
+ import("./chunk-wa7g3yv7.js"),
3385
+ import("./chunk-r974358t.js")
3376
3386
  ]).then(([fp, gb]) => {
3377
3387
  fp.initialize1PEventLogging();
3378
3388
  gb.onGrowthBookRefresh(() => {
@@ -3436,7 +3446,7 @@ var init = memoize_default(async () => {
3436
3446
  setShellIfWindows();
3437
3447
  registerCleanup(shutdownLspServerManager);
3438
3448
  registerCleanup(async () => {
3439
- const { cleanupSessionTeams } = await import("./chunk-exy61tq9.js");
3449
+ const { cleanupSessionTeams } = await import("./chunk-2n4jnkr3.js");
3440
3450
  await cleanupSessionTeams();
3441
3451
  });
3442
3452
  if (isScratchpadEnabled()) {
@@ -3458,7 +3468,7 @@ var init = memoize_default(async () => {
3458
3468
  gracefulShutdownSync(1);
3459
3469
  return;
3460
3470
  }
3461
- return import("./chunk-ffg51hwt.js").then((m) => m.showInvalidConfigDialog({ error }));
3471
+ return import("./chunk-mdm5cbxy.js").then((m) => m.showInvalidConfigDialog({ error }));
3462
3472
  } else {
3463
3473
  throw error;
3464
3474
  }
@@ -3503,7 +3513,7 @@ async function doInitializeTelemetry() {
3503
3513
  }
3504
3514
  }
3505
3515
  async function setMeterState() {
3506
- const { initializeTelemetry } = await import("./chunk-429gckc3.js");
3516
+ const { initializeTelemetry } = await import("./chunk-mp5km99q.js");
3507
3517
  const meter = await initializeTelemetry();
3508
3518
  if (meter) {
3509
3519
  const createAttributedCounter = (name, options) => {
@@ -3530,9 +3540,9 @@ init_history();
3530
3540
  // src/replLauncher.tsx
3531
3541
  var jsx_runtime = __toESM(require_jsx_runtime(), 1);
3532
3542
  async function launchRepl(root, appProps, replProps, renderAndRun) {
3533
- const { App } = await import("./chunk-ywmprz18.js");
3534
- const { SentryErrorBoundary } = await import("./chunk-wwcagza5.js");
3535
- const { REPL } = await import("./chunk-7bdscsqe.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");
3536
3546
  await renderAndRun(root, /* @__PURE__ */ jsx_runtime.jsx(SentryErrorBoundary, {
3537
3547
  name: "RootREPLBoundary",
3538
3548
  children: /* @__PURE__ */ jsx_runtime.jsx(App, {
@@ -3666,6 +3676,7 @@ init_messages();
3666
3676
  init_platform();
3667
3677
  init_sessionIngressAuth();
3668
3678
  init_changeDetector();
3679
+ init_skillChangeDetector();
3669
3680
  init_slowOperations();
3670
3681
 
3671
3682
  // src/utils/warningHandler.ts
@@ -4050,7 +4061,7 @@ function completeOnboarding() {
4050
4061
  saveGlobalConfig((current) => ({
4051
4062
  ...current,
4052
4063
  hasCompletedOnboarding: true,
4053
- lastOnboardingVersion: "4.1.0"
4064
+ lastOnboardingVersion: "4.1.2"
4054
4065
  }));
4055
4066
  }
4056
4067
  function showDialog(root, renderer) {
@@ -4063,7 +4074,7 @@ async function exitWithError(root, message, beforeExit) {
4063
4074
  return exitWithMessage(root, message, { color: "error", beforeExit });
4064
4075
  }
4065
4076
  async function exitWithMessage(root, message, options) {
4066
- const { Text } = await import("./chunk-8x3wqyv3.js");
4077
+ const { Text } = await import("./chunk-y3cshvgb.js");
4067
4078
  const color = options?.color;
4068
4079
  const exitCode = options?.exitCode ?? 1;
4069
4080
  root.render(color ? /* @__PURE__ */ jsx_runtime6.jsx(Text, {
@@ -4099,7 +4110,7 @@ async function showSetupScreens(root, permissionMode, allowDangerouslySkipPermis
4099
4110
  let onboardingShown = false;
4100
4111
  if (!config.theme || !config.hasCompletedOnboarding) {
4101
4112
  onboardingShown = true;
4102
- const { Onboarding } = await import("./chunk-y8h1t9ak.js");
4113
+ const { Onboarding } = await import("./chunk-3ed5qycn.js");
4103
4114
  await showSetupDialog(root, (done) => /* @__PURE__ */ jsx_runtime6.jsx(Onboarding, {
4104
4115
  onDone: () => {
4105
4116
  completeOnboarding();
@@ -4109,7 +4120,7 @@ async function showSetupScreens(root, permissionMode, allowDangerouslySkipPermis
4109
4120
  }
4110
4121
  if (!isEnvTruthy(process.env.CLAUBBIT)) {
4111
4122
  if (!checkHasTrustDialogAccepted()) {
4112
- const { TrustDialog } = await import("./chunk-1tc6spqh.js");
4123
+ const { TrustDialog } = await import("./chunk-y0z468z2.js");
4113
4124
  await showSetupDialog(root, (done) => /* @__PURE__ */ jsx_runtime6.jsx(TrustDialog, {
4114
4125
  commands,
4115
4126
  onDone: done
@@ -4125,7 +4136,7 @@ async function showSetupScreens(root, permissionMode, allowDangerouslySkipPermis
4125
4136
  }
4126
4137
  if (await shouldShowClaudeMdExternalIncludesWarning()) {
4127
4138
  const externalIncludes = getExternalClaudeMdIncludes(await getMemoryFiles(true));
4128
- const { ClaudeMdExternalIncludesDialog } = await import("./chunk-rrbsm1d2.js");
4139
+ const { ClaudeMdExternalIncludesDialog } = await import("./chunk-sx4gbak5.js");
4129
4140
  await showSetupDialog(root, (done) => /* @__PURE__ */ jsx_runtime6.jsx(ClaudeMdExternalIncludesDialog, {
4130
4141
  onDone: done,
4131
4142
  isStandaloneDialog: true,
@@ -4140,7 +4151,7 @@ async function showSetupScreens(root, permissionMode, allowDangerouslySkipPermis
4140
4151
  applyConfigEnvironmentVariables();
4141
4152
  setImmediate(() => initializeTelemetryAfterTrust());
4142
4153
  if (await isQualifiedForGrove()) {
4143
- const { GroveDialog } = await import("./chunk-3j8vq1pf.js");
4154
+ const { GroveDialog } = await import("./chunk-fv94gm4h.js");
4144
4155
  const decision = await showSetupDialog(root, (done) => /* @__PURE__ */ jsx_runtime6.jsx(GroveDialog, {
4145
4156
  showIfAlreadyViewed: false,
4146
4157
  location: onboardingShown ? "onboarding" : "policy_update_modal",
@@ -4156,7 +4167,7 @@ async function showSetupScreens(root, permissionMode, allowDangerouslySkipPermis
4156
4167
  const customApiKeyTruncated = normalizeApiKeyForConfig(process.env.ANTHROPIC_API_KEY);
4157
4168
  const keyStatus = getCustomApiKeyStatus(customApiKeyTruncated);
4158
4169
  if (keyStatus === "new") {
4159
- const { ApproveApiKey } = await import("./chunk-jkb9g66a.js");
4170
+ const { ApproveApiKey } = await import("./chunk-1hr30g9j.js");
4160
4171
  await showSetupDialog(root, (done) => /* @__PURE__ */ jsx_runtime6.jsx(ApproveApiKey, {
4161
4172
  customApiKeyTruncated,
4162
4173
  onDone: done
@@ -4164,13 +4175,13 @@ async function showSetupScreens(root, permissionMode, allowDangerouslySkipPermis
4164
4175
  }
4165
4176
  }
4166
4177
  if ((permissionMode === "bypassPermissions" || allowDangerouslySkipPermissions) && !hasSkipDangerousModePermissionPrompt()) {
4167
- const { BypassPermissionsModeDialog } = await import("./chunk-qsq0dead.js");
4178
+ const { BypassPermissionsModeDialog } = await import("./chunk-0wzfz235.js");
4168
4179
  await showSetupDialog(root, (done) => /* @__PURE__ */ jsx_runtime6.jsx(BypassPermissionsModeDialog, {
4169
4180
  onAccept: done
4170
4181
  }));
4171
4182
  }
4172
4183
  if (devChannels && devChannels.length > 0) {
4173
- const { DevChannelsDialog } = await import("./chunk-pa6m6zh8.js");
4184
+ const { DevChannelsDialog } = await import("./chunk-zb7ctc11.js");
4174
4185
  await showSetupDialog(root, (done) => /* @__PURE__ */ jsx_runtime6.jsx(DevChannelsDialog, {
4175
4186
  channels: devChannels,
4176
4187
  onAccept: () => {
@@ -4184,7 +4195,7 @@ async function showSetupScreens(root, permissionMode, allowDangerouslySkipPermis
4184
4195
  }));
4185
4196
  }
4186
4197
  if (claudeInChrome && !getGlobalConfig().hasCompletedClaudeInChromeOnboarding) {
4187
- const { ClaudeInChromeOnboarding } = await import("./chunk-91pgjs9c.js");
4198
+ const { ClaudeInChromeOnboarding } = await import("./chunk-89jrgnx3.js");
4188
4199
  await showSetupDialog(root, (done) => /* @__PURE__ */ jsx_runtime6.jsx(ClaudeInChromeOnboarding, {
4189
4200
  onDone: done
4190
4201
  }));
@@ -4245,7 +4256,7 @@ function getRenderContext(exitOnCtrlC) {
4245
4256
  init_KeybindingProviderSetup();
4246
4257
  var jsx_runtime7 = __toESM(require_jsx_runtime(), 1);
4247
4258
  async function launchInvalidSettingsDialog(root, props) {
4248
- const { InvalidSettingsDialog } = await import("./chunk-6x5h6cqf.js");
4259
+ const { InvalidSettingsDialog } = await import("./chunk-hjp1yckp.js");
4249
4260
  return showSetupDialog(root, (done) => /* @__PURE__ */ jsx_runtime7.jsx(InvalidSettingsDialog, {
4250
4261
  settingsErrors: props.settingsErrors,
4251
4262
  onContinue: done,
@@ -4253,7 +4264,7 @@ async function launchInvalidSettingsDialog(root, props) {
4253
4264
  }));
4254
4265
  }
4255
4266
  async function launchAssistantSessionChooser(root, props) {
4256
- const { AssistantSessionChooser } = await import("./chunk-d988v6vq.js");
4267
+ const { AssistantSessionChooser } = await import("./chunk-6kddkcqk.js");
4257
4268
  return showSetupDialog(root, (done) => /* @__PURE__ */ jsx_runtime7.jsx(AssistantSessionChooser, {
4258
4269
  sessions: props.sessions,
4259
4270
  onSelect: (id) => done(id),
@@ -4261,7 +4272,7 @@ async function launchAssistantSessionChooser(root, props) {
4261
4272
  }));
4262
4273
  }
4263
4274
  async function launchAssistantInstallWizard(root) {
4264
- const { NewInstallWizard, computeDefaultInstallDir } = await import("./chunk-gj458fct.js");
4275
+ const { NewInstallWizard, computeDefaultInstallDir } = await import("./chunk-7yq22pd2.js");
4265
4276
  const defaultDir = await computeDefaultInstallDir();
4266
4277
  let rejectWithError;
4267
4278
  const errorPromise = new Promise((_, reject) => {
@@ -4276,7 +4287,7 @@ async function launchAssistantInstallWizard(root) {
4276
4287
  return Promise.race([resultPromise, errorPromise]);
4277
4288
  }
4278
4289
  async function launchTeleportResumeWrapper(root) {
4279
- const { TeleportResumeWrapper } = await import("./chunk-p5zfk1p0.js");
4290
+ const { TeleportResumeWrapper } = await import("./chunk-7ckqn3c3.js");
4280
4291
  return showSetupDialog(root, (done) => /* @__PURE__ */ jsx_runtime7.jsx(TeleportResumeWrapper, {
4281
4292
  onComplete: done,
4282
4293
  onCancel: () => done(null),
@@ -4284,7 +4295,7 @@ async function launchTeleportResumeWrapper(root) {
4284
4295
  }));
4285
4296
  }
4286
4297
  async function launchTeleportRepoMismatchDialog(root, props) {
4287
- const { TeleportRepoMismatchDialog } = await import("./chunk-hryyyanp.js");
4298
+ const { TeleportRepoMismatchDialog } = await import("./chunk-zmj9sehj.js");
4288
4299
  return showSetupDialog(root, (done) => /* @__PURE__ */ jsx_runtime7.jsx(TeleportRepoMismatchDialog, {
4289
4300
  targetRepo: props.targetRepo,
4290
4301
  initialPaths: props.initialPaths,
@@ -4295,8 +4306,8 @@ async function launchTeleportRepoMismatchDialog(root, props) {
4295
4306
  async function launchResumeChooser(root, appProps, worktreePathsPromise, resumeProps) {
4296
4307
  const [worktreePaths, { ResumeConversation }, { App }] = await Promise.all([
4297
4308
  worktreePathsPromise,
4298
- import("./chunk-cehe5fzp.js"),
4299
- import("./chunk-ywmprz18.js")
4309
+ import("./chunk-84a79s9g.js"),
4310
+ import("./chunk-fb5ehysd.js")
4300
4311
  ]);
4301
4312
  await renderAndRun(root, /* @__PURE__ */ jsx_runtime7.jsx(App, {
4302
4313
  getFpsMetrics: appProps.getFpsMetrics,
@@ -4322,7 +4333,7 @@ function registerWeixinBuiltinPlugin() {
4322
4333
  registerBuiltinPlugin({
4323
4334
  name: "weixin",
4324
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`.",
4325
- version: "4.1.0",
4336
+ version: "4.1.2",
4326
4337
  defaultEnabled: true,
4327
4338
  mcpServers: {
4328
4339
  weixin: {
@@ -5706,7 +5717,7 @@ ${args}
5706
5717
  }
5707
5718
 
5708
5719
  // src/skills/bundled/cronManage.ts
5709
- init_prompt3();
5720
+ init_prompt4();
5710
5721
  init_bundledSkills();
5711
5722
  function registerCronListSkill() {
5712
5723
  registerBundledSkill({
@@ -5756,7 +5767,7 @@ Provide the job ID to cancel. Use /cron-list to see active jobs and their IDs.`
5756
5767
  }
5757
5768
 
5758
5769
  // src/skills/bundled/loop.ts
5759
- init_prompt3();
5770
+ init_prompt4();
5760
5771
  init_bundledSkills();
5761
5772
  var DEFAULT_INTERVAL = "10m";
5762
5773
  var USAGE_MESSAGE = `Usage: /loop [interval] <prompt>
@@ -6658,7 +6669,7 @@ init_pluginTelemetry();
6658
6669
  // src/utils/telemetry/skillLoadedEvent.ts
6659
6670
  init_commands();
6660
6671
  init_analytics();
6661
- init_prompt4();
6672
+ init_prompt3();
6662
6673
  async function logSkillsLoaded(cwd, contextWindowTokens) {
6663
6674
  const skills = await getSkillToolCommands(cwd);
6664
6675
  const skillBudget = getCharBudget(contextWindowTokens);
@@ -7229,6 +7240,31 @@ init_config2();
7229
7240
  init_log();
7230
7241
  init_permissionSetup();
7231
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
+ }
7232
7268
 
7233
7269
  // src/migrations/resetProToOpusDefault.ts
7234
7270
  init_analytics();
@@ -7363,9 +7399,10 @@ startKeychainPrefetch();
7363
7399
  var getTeammateUtils = () => (init_teammate(), __toCommonJS(exports_teammate));
7364
7400
  var getTeammatePromptAddendum = () => (init_teammatePromptAddendum(), __toCommonJS(exports_teammatePromptAddendum));
7365
7401
  var getTeammateModeSnapshot = () => (init_teammateModeSnapshot(), __toCommonJS(exports_teammateModeSnapshot));
7366
- var coordinatorModeModule = (init_coordinatorMode(), __toCommonJS(exports_coordinatorMode));
7402
+ var coordinatorModeModule = null;
7367
7403
  var assistantModule = (init_assistant(), __toCommonJS(exports_assistant));
7368
7404
  var kairosGate = (init_gate(), __toCommonJS(exports_gate));
7405
+ var autoModeStateModule = (init_autoModeState(), __toCommonJS(exports_autoModeState));
7369
7406
  profileCheckpoint("main_tsx_imports_loaded");
7370
7407
  function logManagedSettings() {
7371
7408
  try {
@@ -7435,7 +7472,9 @@ function runMigrations() {
7435
7472
  migrateSonnet45ToSonnet46();
7436
7473
  migrateOpusToOpus1m();
7437
7474
  migrateReplBridgeEnabledToRemoteControlAtStartup();
7438
- if (false) {}
7475
+ if (true) {
7476
+ resetAutoModeOptInForDefaultOffer();
7477
+ }
7439
7478
  if (process.env.USER_TYPE === "ant") {
7440
7479
  migrateFennecToOpus();
7441
7480
  }
@@ -7572,6 +7611,15 @@ var _pendingConnect = {
7572
7611
  dangerouslySkipPermissions: false
7573
7612
  };
7574
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
+ };
7575
7623
  async function main() {
7576
7624
  profileCheckpoint("main_function_start");
7577
7625
  process.env.NoDefaultCurrentDirectoryInExePath = "1";
@@ -7626,17 +7674,17 @@ async function main() {
7626
7674
  if (true) {
7627
7675
  const handleUriIdx = process.argv.indexOf("--handle-uri");
7628
7676
  if (handleUriIdx !== -1 && process.argv[handleUriIdx + 1]) {
7629
- const { enableConfigs: enableConfigs2 } = await import("./chunk-q6vrrdxm.js");
7677
+ const { enableConfigs: enableConfigs2 } = await import("./chunk-ycsh7pst.js");
7630
7678
  enableConfigs2();
7631
7679
  const uri = process.argv[handleUriIdx + 1];
7632
- const { handleDeepLinkUri } = await import("./chunk-nynqcpbc.js");
7680
+ const { handleDeepLinkUri } = await import("./chunk-cwpxrn2d.js");
7633
7681
  const exitCode = await handleDeepLinkUri(uri);
7634
7682
  process.exit(exitCode);
7635
7683
  }
7636
7684
  if (process.platform === "darwin" && process.env.__CFBundleIdentifier === "com.anthropic.claude-code-url-handler") {
7637
- const { enableConfigs: enableConfigs2 } = await import("./chunk-q6vrrdxm.js");
7685
+ const { enableConfigs: enableConfigs2 } = await import("./chunk-ycsh7pst.js");
7638
7686
  enableConfigs2();
7639
- const { handleUrlSchemeLaunch } = await import("./chunk-nynqcpbc.js");
7687
+ const { handleUrlSchemeLaunch } = await import("./chunk-cwpxrn2d.js");
7640
7688
  const urlSchemeResult = await handleUrlSchemeLaunch();
7641
7689
  process.exit(urlSchemeResult ?? 1);
7642
7690
  }
@@ -7656,7 +7704,79 @@ async function main() {
7656
7704
  }
7657
7705
  }
7658
7706
  }
7659
- 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
+ }
7660
7780
  const cliArgs = process.argv.slice(2);
7661
7781
  const forceInteractive = isEnvTruthy(process.env.CLAUDE_CODE_FORCE_INTERACTIVE);
7662
7782
  const isNonInteractive = shouldUseNonInteractiveSession({
@@ -7777,7 +7897,7 @@ async function run() {
7777
7897
  if (!isEnvTruthy(process.env.CLAUDE_CODE_DISABLE_TERMINAL_TITLE)) {
7778
7898
  process.title = "csc";
7779
7899
  }
7780
- const { initSinks } = await import("./chunk-xs5ncg1b.js");
7900
+ const { initSinks } = await import("./chunk-ttzyw0y7.js");
7781
7901
  initSinks();
7782
7902
  profileCheckpoint("preAction_after_sinks");
7783
7903
  const pluginDir = thisCommand.getOptionValue("pluginDir");
@@ -7871,7 +7991,9 @@ async function run() {
7871
7991
  let fileDownloadPromise;
7872
7992
  const agentsJson = options.agents;
7873
7993
  const agentCli = options.agent;
7874
- if (false) {}
7994
+ if (agentCli) {
7995
+ process.env.CLAUDE_CODE_AGENT = agentCli;
7996
+ }
7875
7997
  let outputFormat = options.outputFormat;
7876
7998
  let inputFormat = options.inputFormat;
7877
7999
  let verbose = options.verbose ?? getGlobalConfig().verbose;
@@ -8068,7 +8190,11 @@ ${addendum}` : addendum;
8068
8190
  dangerouslySkipPermissions
8069
8191
  });
8070
8192
  setSessionBypassPermissionsMode(permissionMode === "bypassPermissions");
8071
- if (false) {}
8193
+ if (true) {
8194
+ if (options.enableAutoMode || permissionModeCli === "auto" || permissionMode === "auto" || !permissionModeCli && isDefaultPermissionModeAuto()) {
8195
+ autoModeStateModule?.setAutoModeFlagCli(true);
8196
+ }
8197
+ }
8072
8198
  let dynamicMcpConfig = {
8073
8199
  "mcp-chrome": {
8074
8200
  type: "http",
@@ -8222,9 +8348,9 @@ ${hint}` : hint;
8222
8348
  }
8223
8349
  if (getPlatform() !== "unknown" && !getIsNonInteractiveSession()) {
8224
8350
  try {
8225
- const { getChicagoEnabled } = await import("./chunk-bnqe1rhv.js");
8351
+ const { getChicagoEnabled } = await import("./chunk-04js9982.js");
8226
8352
  if (getChicagoEnabled()) {
8227
- const { setupComputerUseMCP } = await import("./chunk-h9c871q9.js");
8353
+ const { setupComputerUseMCP } = await import("./chunk-tnqjynvy.js");
8228
8354
  const { mcpConfig: mcpConfig2, allowedTools: cuTools } = setupComputerUseMCP();
8229
8355
  dynamicMcpConfig = {
8230
8356
  ...dynamicMcpConfig,
@@ -8322,7 +8448,9 @@ ${hint}` : hint;
8322
8448
  }
8323
8449
  toolPermissionContext = removeDangerousPermissions(toolPermissionContext, overlyBroadBashPermissions);
8324
8450
  }
8325
- if (false) {}
8451
+ if (dangerousPermissions.length > 0) {
8452
+ toolPermissionContext = stripDangerousPermissionsForAutoMode(toolPermissionContext);
8453
+ }
8326
8454
  warnings.forEach((warning) => {
8327
8455
  console.error(warning);
8328
8456
  });
@@ -8378,10 +8506,7 @@ ${hint}` : hint;
8378
8506
  profileCheckpoint("action_after_input_prompt");
8379
8507
  maybeActivateProactive(options);
8380
8508
  let tools = getTools(toolPermissionContext);
8381
- if (isEnvTruthy(process.env.CLAUDE_CODE_COORDINATOR_MODE)) {
8382
- const { applyCoordinatorToolFilter } = await import("./chunk-76xcw4kg.js");
8383
- tools = applyCoordinatorToolFilter(tools);
8384
- }
8509
+ if (false) {}
8385
8510
  profileCheckpoint("action_tools_loaded");
8386
8511
  let jsonSchema;
8387
8512
  if (isSyntheticOutputToolEnabled({ isNonInteractiveSession }) && options.jsonSchema) {
@@ -8404,7 +8529,7 @@ ${hint}` : hint;
8404
8529
  profileCheckpoint("action_before_setup");
8405
8530
  logForDebugging("[STARTUP] Running setup()...");
8406
8531
  const setupStart = Date.now();
8407
- const { setup } = await import("./chunk-weq1878z.js");
8532
+ const { setup } = await import("./chunk-7hnmt967.js");
8408
8533
  const messagingSocketPath = undefined;
8409
8534
  const preSetupCwd = getCwd();
8410
8535
  if (process.env.CLAUDE_CODE_ENTRYPOINT !== "local-agent") {
@@ -8598,7 +8723,7 @@ ${assistantAddendum}` : assistantAddendum;
8598
8723
  if (process.env.USER_TYPE === "ant") {
8599
8724
  installAsciicastRecorder();
8600
8725
  }
8601
- const { createRoot } = await import("./chunk-8x3wqyv3.js");
8726
+ const { createRoot } = await import("./chunk-y3cshvgb.js");
8602
8727
  root = await createRoot(ctx.renderOptions);
8603
8728
  logEvent("tengu_timer", {
8604
8729
  event: "startup",
@@ -8608,7 +8733,16 @@ ${assistantAddendum}` : assistantAddendum;
8608
8733
  const setupScreensStart = Date.now();
8609
8734
  const onboardingShown = await showSetupScreens(root, permissionMode, allowDangerouslySkipPermissions, commands, enableClaudeInChrome, devChannels);
8610
8735
  logForDebugging(`[STARTUP] showSetupScreens() completed in ${Date.now() - setupScreensStart}ms`);
8611
- 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
+ }
8612
8746
  if (false) {}
8613
8747
  if (onboardingShown && prompt?.trim().toLowerCase() === "/login") {
8614
8748
  prompt = "";
@@ -8617,7 +8751,7 @@ ${assistantAddendum}` : assistantAddendum;
8617
8751
  refreshPolicyLimits();
8618
8752
  resetUserCache();
8619
8753
  refreshGrowthBookAfterAuthChange();
8620
- import("./chunk-94zksc1x.js").then((m) => {
8754
+ import("./chunk-58jcwxyh.js").then((m) => {
8621
8755
  m.clearTrustedDeviceToken();
8622
8756
  return m.enrollTrustedDevice();
8623
8757
  });
@@ -8729,7 +8863,7 @@ ${assistantAddendum}` : assistantAddendum;
8729
8863
  }
8730
8864
  }
8731
8865
  logForDiagnosticsNoPII("info", "started", {
8732
- version: "4.1.0",
8866
+ version: "4.1.2",
8733
8867
  is_native_binary: isInBundledMode()
8734
8868
  });
8735
8869
  registerCleanup(async () => {
@@ -8835,7 +8969,16 @@ ${assistantAddendum}` : assistantAddendum;
8835
8969
  ...{ kairosEnabled }
8836
8970
  };
8837
8971
  const headlessStore = createStore(headlessInitialState, onChangeAppState);
8838
- 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
+ }
8839
8982
  if (options.sessionPersistence === false) {
8840
8983
  setSessionPersistenceDisabled(true);
8841
8984
  }
@@ -8942,14 +9085,14 @@ ${assistantAddendum}` : assistantAddendum;
8942
9085
  profileCheckpoint("after_connectMcp_claudeai");
8943
9086
  if (!isBareMode()) {
8944
9087
  startDeferredPrefetches();
8945
- import("./chunk-16mcxht8.js").then((m) => m.startBackgroundHousekeeping());
9088
+ import("./chunk-5w9qcjjt.js").then((m) => m.startBackgroundHousekeeping());
8946
9089
  if (process.env.USER_TYPE === "ant") {
8947
9090
  import("./chunk-3nk79af8.js").then((m) => m.startSdkMemoryMonitor());
8948
9091
  }
8949
9092
  }
8950
9093
  logSessionTelemetry();
8951
9094
  profileCheckpoint("before_print_import");
8952
- const { runHeadless } = await import("./chunk-3710m54v.js");
9095
+ const { runHeadless } = await import("./chunk-0d8p649e.js");
8953
9096
  profileCheckpoint("after_print_import");
8954
9097
  runHeadless(inputPrompt, () => headlessStore.getState(), headlessStore.setState, commandsHeadless, tools, sdkMcpConfigs, agentDefinitions.activeAgents, {
8955
9098
  continue: options.continue,
@@ -9144,7 +9287,7 @@ ${assistantAddendum}` : assistantAddendum;
9144
9287
  logStartupTelemetry();
9145
9288
  logSessionTelemetry();
9146
9289
  });
9147
- const sessionUploaderPromise = process.env.USER_TYPE === "ant" ? import("./chunk-hd9nkrx3.js") : null;
9290
+ const sessionUploaderPromise = process.env.USER_TYPE === "ant" ? import("./chunk-hhcx2jjn.js") : null;
9148
9291
  const uploaderReady = sessionUploaderPromise ? sessionUploaderPromise.then((mod) => mod.createSessionTurnUploader()).catch(() => null) : null;
9149
9292
  const sessionConfig = {
9150
9293
  debug: debug || debugToStderr,
@@ -9178,7 +9321,7 @@ ${assistantAddendum}` : assistantAddendum;
9178
9321
  let resumeSucceeded = false;
9179
9322
  try {
9180
9323
  const resumeStart = performance.now();
9181
- const { clearSessionCaches } = await import("./chunk-ybpn8zcq.js");
9324
+ const { clearSessionCaches } = await import("./chunk-pyfrphvc.js");
9182
9325
  clearSessionCaches();
9183
9326
  const result = await loadConversationForResume(undefined, undefined);
9184
9327
  if (!result) {
@@ -9257,8 +9400,71 @@ Session: ${directConnectConfig.sessionId}`, "info");
9257
9400
  thinkingConfig
9258
9401
  }, renderAndRun);
9259
9402
  return;
9260
- } else if (false) {} else if (_pendingAssistantChat && (_pendingAssistantChat.sessionId || _pendingAssistantChat.discover)) {
9261
- const { discoverAssistantSessions } = await import("./chunk-4n33zjr2.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");
9262
9468
  let targetSessionId = _pendingAssistantChat.sessionId;
9263
9469
  if (!targetSessionId) {
9264
9470
  let sessions;
@@ -9299,7 +9505,7 @@ Session: ${directConnectConfig.sessionId}`, "info");
9299
9505
  const {
9300
9506
  checkAndRefreshOAuthTokenIfNeeded,
9301
9507
  getClaudeAIOAuthTokens: getClaudeAIOAuthTokens2
9302
- } = await import("./chunk-dve0wwbm.js");
9508
+ } = await import("./chunk-t7y6mg54.js");
9303
9509
  await checkAndRefreshOAuthTokenIfNeeded();
9304
9510
  let apiCreds;
9305
9511
  try {
@@ -9338,7 +9544,7 @@ Session: ${directConnectConfig.sessionId}`, "info");
9338
9544
  }, renderAndRun);
9339
9545
  return;
9340
9546
  } else if (options.resume || options.fromPr || teleport || remote !== null) {
9341
- const { clearSessionCaches } = await import("./chunk-ybpn8zcq.js");
9547
+ const { clearSessionCaches } = await import("./chunk-pyfrphvc.js");
9342
9548
  clearSessionCaches();
9343
9549
  let messages = null;
9344
9550
  let processedResume;
@@ -9413,7 +9619,7 @@ Usage: csc --remote "your task description"`, () => gracefulShutdown(1));
9413
9619
  logError(toError(error));
9414
9620
  return await exitWithError(root, `Error: ${errorMessage(error) || "Failed to authenticate"}`, () => gracefulShutdown(1));
9415
9621
  }
9416
- const { getClaudeAIOAuthTokens: getTokensForRemote } = await import("./chunk-dve0wwbm.js");
9622
+ const { getClaudeAIOAuthTokens: getTokensForRemote } = await import("./chunk-t7y6mg54.js");
9417
9623
  const getAccessTokenForRemote = () => getTokensForRemote()?.accessToken ?? apiCreds.accessToken;
9418
9624
  const remoteSessionConfig = createRemoteSessionConfig(createdSession.id, getAccessTokenForRemote, apiCreds.orgUUID, hasInitialPrompt);
9419
9625
  const remoteSessionUrl = `${getRemoteSessionUrl(createdSession.id)}?m=0`;
@@ -9486,7 +9692,7 @@ Usage: csc --remote "your task description"`, () => gracefulShutdown(1));
9486
9692
  `));
9487
9693
  }
9488
9694
  await validateGitState();
9489
- const { teleportWithProgress } = await import("./chunk-cf8d6pz4.js");
9695
+ const { teleportWithProgress } = await import("./chunk-gz0nj0mm.js");
9490
9696
  const result = await teleportWithProgress(root, teleport);
9491
9697
  setTeleportedSessionInfo({ sessionId: teleport });
9492
9698
  messages = result.messages;
@@ -9668,9 +9874,7 @@ Usage: csc --remote "your task description"`, () => gracefulShutdown(1));
9668
9874
  profileCheckpoint("action_after_hooks");
9669
9875
  maybeActivateProactive(options);
9670
9876
  maybeActivateBrief(options);
9671
- if (true) {
9672
- saveMode(coordinatorModeModule?.isCoordinatorMode() ? "coordinator" : "normal");
9673
- }
9877
+ if (false) {}
9674
9878
  let deepLinkBanner = null;
9675
9879
  if (true) {
9676
9880
  if (options.deepLinkOrigin) {
@@ -9695,7 +9899,7 @@ Usage: csc --remote "your task description"`, () => gracefulShutdown(1));
9695
9899
  pendingHookMessages
9696
9900
  }, renderAndRun);
9697
9901
  }
9698
- }).version("4.1.0 (CoStrict)", "-v, --version", "Output the version number");
9902
+ }).version("4.1.2 (CoStrict)", "-v, --version", "Output the version number");
9699
9903
  program2.addOption(new Option("-w, --worktree [name]", "Create a new git worktree for this session (optionally specify a name)").hideHelp());
9700
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());
9701
9905
  if (canUserConfigureAdvisor()) {
@@ -9710,7 +9914,9 @@ Usage: csc --remote "your task description"`, () => gracefulShutdown(1));
9710
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());
9711
9915
  program2.option("--agent-teams", "[ANT-ONLY] Force Claude to use multi-agent mode for solving problems", () => true);
9712
9916
  }
9713
- if (false) {}
9917
+ if (true) {
9918
+ program2.addOption(new Option("--enable-auto-mode", "Opt in to auto mode").hideHelp());
9919
+ }
9714
9920
  if (true) {
9715
9921
  program2.addOption(new Option("--proactive", "Start in proactive autonomous mode").hideHelp());
9716
9922
  }
@@ -9734,7 +9940,10 @@ Usage: csc --remote "your task description"`, () => gracefulShutdown(1));
9734
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());
9735
9941
  program2.addOption(new Option("--teleport [session]", "Resume a teleport session, optionally specify session ID").hideHelp());
9736
9942
  program2.addOption(new Option("--remote [description]", "Create a remote session with the given description").hideHelp());
9737
- 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
+ }
9738
9947
  if (false) {}
9739
9948
  profileCheckpoint("run_main_options_built");
9740
9949
  const isPrintMode = process.argv.includes("-p") || process.argv.includes("--print");
@@ -9750,7 +9959,7 @@ Usage: csc --remote "your task description"`, () => gracefulShutdown(1));
9750
9959
  debug,
9751
9960
  verbose
9752
9961
  }) => {
9753
- const { mcpServeHandler } = await import("./chunk-26bfvj72.js");
9962
+ const { mcpServeHandler } = await import("./chunk-nmyfe9j9.js");
9754
9963
  await mcpServeHandler({ debug, verbose });
9755
9964
  });
9756
9965
  registerMcpAddCommand(mcp);
@@ -9758,36 +9967,36 @@ Usage: csc --remote "your task description"`, () => gracefulShutdown(1));
9758
9967
  registerMcpXaaIdpCommand(mcp);
9759
9968
  }
9760
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) => {
9761
- const { mcpRemoveHandler } = await import("./chunk-26bfvj72.js");
9970
+ const { mcpRemoveHandler } = await import("./chunk-nmyfe9j9.js");
9762
9971
  await mcpRemoveHandler(name, options);
9763
9972
  });
9764
9973
  mcp.command("list").alias("ls").description("List configured MCP servers").action(async () => {
9765
- const { mcpListHandler } = await import("./chunk-26bfvj72.js");
9974
+ const { mcpListHandler } = await import("./chunk-nmyfe9j9.js");
9766
9975
  await mcpListHandler();
9767
9976
  });
9768
9977
  mcp.command("get <name>").description("Get details about an MCP server").action(async (name) => {
9769
- const { mcpGetHandler } = await import("./chunk-26bfvj72.js");
9978
+ const { mcpGetHandler } = await import("./chunk-nmyfe9j9.js");
9770
9979
  await mcpGetHandler(name);
9771
9980
  });
9772
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) => {
9773
- const { mcpAddJsonHandler } = await import("./chunk-26bfvj72.js");
9982
+ const { mcpAddJsonHandler } = await import("./chunk-nmyfe9j9.js");
9774
9983
  await mcpAddJsonHandler(name, json, options);
9775
9984
  });
9776
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) => {
9777
- const { mcpAddFromDesktopHandler } = await import("./chunk-26bfvj72.js");
9986
+ const { mcpAddFromDesktopHandler } = await import("./chunk-nmyfe9j9.js");
9778
9987
  await mcpAddFromDesktopHandler(options);
9779
9988
  });
9780
9989
  mcp.command("reset-project-choices").description("Reset all approved and rejected project-scoped (.mcp.json) servers within this project").action(async () => {
9781
- const { mcpResetChoicesHandler } = await import("./chunk-26bfvj72.js");
9990
+ const { mcpResetChoicesHandler } = await import("./chunk-nmyfe9j9.js");
9782
9991
  await mcpResetChoicesHandler();
9783
9992
  });
9784
9993
  if (true) {
9785
9994
  const serveAction = async (opts) => {
9786
- const { startServer } = await import("./chunk-szhqm62n.js");
9995
+ const { startServer } = await import("./chunk-4zvptd40.js");
9787
9996
  const { EventBus } = await import("./chunk-3sbvwddb.js");
9788
- const { SessionManager } = await import("./chunk-etd086w1.js");
9997
+ const { SessionManager } = await import("./chunk-pr321r8d.js");
9789
9998
  const { printBanner } = await import("./chunk-4jr4f2va.js");
9790
- const { getScriptArgsForChild, saveChildSpawnPrefix } = await import("./chunk-ff33xk7c.js");
9999
+ const { getScriptArgsForChild, saveChildSpawnPrefix } = await import("./chunk-5bd0sf0q.js");
9791
10000
  await saveChildSpawnPrefix();
9792
10001
  const eventBus = new EventBus;
9793
10002
  const config = {
@@ -9831,7 +10040,16 @@ Usage: csc --remote "your task description"`, () => gracefulShutdown(1));
9831
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);
9832
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);
9833
10042
  }
9834
- 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
+ }
9835
10053
  if (true) {
9836
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) => {
9837
10055
  const { parseConnectUrl } = await import("./chunk-1qzt23et.js");
@@ -9867,112 +10085,136 @@ Usage: csc --remote "your task description"`, () => gracefulShutdown(1));
9867
10085
  console: useConsole,
9868
10086
  claudeai
9869
10087
  }) => {
9870
- const { authLogin } = await import("./chunk-tfy2cfmx.js");
10088
+ const { authLogin } = await import("./chunk-bb9h35x7.js");
9871
10089
  await authLogin({ email, sso, console: useConsole, claudeai });
9872
10090
  });
9873
10091
  auth.command("status").description("Show authentication status").option("--json", "Output as JSON (default)").option("--text", "Output as human-readable text").action(async (opts) => {
9874
- const { authStatus } = await import("./chunk-tfy2cfmx.js");
10092
+ const { authStatus } = await import("./chunk-bb9h35x7.js");
9875
10093
  await authStatus(opts);
9876
10094
  });
9877
10095
  auth.command("logout").description("Log out from your CoStrict account").action(async () => {
9878
- const { authLogout } = await import("./chunk-tfy2cfmx.js");
10096
+ const { authLogout } = await import("./chunk-bb9h35x7.js");
9879
10097
  await authLogout();
9880
10098
  });
9881
10099
  const coworkOption = () => new Option("--cowork", "Use cowork_plugins directory").hideHelp();
9882
10100
  const pluginCmd = program2.command("plugin").alias("plugins").alias("plug").description("Manage CoStrict plugins").addHelpCommand(false).configureHelp(createSortedHelpConfig());
9883
10101
  pluginCmd.command("validate <path>").description("Validate a plugin or marketplace manifest").addOption(coworkOption()).action(async (manifestPath, options) => {
9884
- const { pluginValidateHandler } = await import("./chunk-x36cer09.js");
10102
+ const { pluginValidateHandler } = await import("./chunk-vetj2j2n.js");
9885
10103
  await pluginValidateHandler(manifestPath, options);
9886
10104
  });
9887
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) => {
9888
- const { pluginListHandler } = await import("./chunk-x36cer09.js");
10106
+ const { pluginListHandler } = await import("./chunk-vetj2j2n.js");
9889
10107
  await pluginListHandler(options);
9890
10108
  });
9891
10109
  const marketplaceCmd = pluginCmd.command("marketplace").description("Manage CoStrict marketplaces").configureHelp(createSortedHelpConfig());
9892
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) => {
9893
- const { marketplaceAddHandler } = await import("./chunk-x36cer09.js");
10111
+ const { marketplaceAddHandler } = await import("./chunk-vetj2j2n.js");
9894
10112
  await marketplaceAddHandler(source, options);
9895
10113
  });
9896
10114
  marketplaceCmd.command("list").description("List all configured marketplaces").option("--json", "Output as JSON").addOption(coworkOption()).action(async (options) => {
9897
- const { marketplaceListHandler } = await import("./chunk-x36cer09.js");
10115
+ const { marketplaceListHandler } = await import("./chunk-vetj2j2n.js");
9898
10116
  await marketplaceListHandler(options);
9899
10117
  });
9900
10118
  marketplaceCmd.command("remove <name>").alias("rm").description("Remove a configured marketplace").addOption(coworkOption()).action(async (name, options) => {
9901
- const { marketplaceRemoveHandler } = await import("./chunk-x36cer09.js");
10119
+ const { marketplaceRemoveHandler } = await import("./chunk-vetj2j2n.js");
9902
10120
  await marketplaceRemoveHandler(name, options);
9903
10121
  });
9904
10122
  marketplaceCmd.command("update [name]").description("Update marketplace(s) from their source - updates all if no name specified").addOption(coworkOption()).action(async (name, options) => {
9905
- const { marketplaceUpdateHandler } = await import("./chunk-x36cer09.js");
10123
+ const { marketplaceUpdateHandler } = await import("./chunk-vetj2j2n.js");
9906
10124
  await marketplaceUpdateHandler(name, options);
9907
10125
  });
9908
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) => {
9909
- const { pluginInstallHandler } = await import("./chunk-x36cer09.js");
10127
+ const { pluginInstallHandler } = await import("./chunk-vetj2j2n.js");
9910
10128
  await pluginInstallHandler(plugin, options);
9911
10129
  });
9912
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) => {
9913
- const { pluginUninstallHandler } = await import("./chunk-x36cer09.js");
10131
+ const { pluginUninstallHandler } = await import("./chunk-vetj2j2n.js");
9914
10132
  await pluginUninstallHandler(plugin, options);
9915
10133
  });
9916
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) => {
9917
- const { pluginEnableHandler } = await import("./chunk-x36cer09.js");
10135
+ const { pluginEnableHandler } = await import("./chunk-vetj2j2n.js");
9918
10136
  await pluginEnableHandler(plugin, options);
9919
10137
  });
9920
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) => {
9921
- const { pluginDisableHandler } = await import("./chunk-x36cer09.js");
10139
+ const { pluginDisableHandler } = await import("./chunk-vetj2j2n.js");
9922
10140
  await pluginDisableHandler(plugin, options);
9923
10141
  });
9924
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) => {
9925
- const { pluginUpdateHandler } = await import("./chunk-x36cer09.js");
10143
+ const { pluginUpdateHandler } = await import("./chunk-vetj2j2n.js");
9926
10144
  await pluginUpdateHandler(plugin, options);
9927
10145
  });
9928
10146
  program2.command("setup-token").description("Set up a long-lived authentication token (requires Claude subscription)").action(async () => {
9929
10147
  const [{ setupTokenHandler }, { createRoot }] = await Promise.all([
9930
- import("./chunk-vn0y1222.js"),
9931
- import("./chunk-8x3wqyv3.js")
10148
+ import("./chunk-v522k1r4.js"),
10149
+ import("./chunk-y3cshvgb.js")
9932
10150
  ]);
9933
10151
  const root = await createRoot(getBaseRenderOptions(false));
9934
10152
  await setupTokenHandler(root);
9935
10153
  });
9936
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 () => {
9937
- const { agentsHandler } = await import("./chunk-gy5e77gm.js");
10155
+ const { agentsHandler } = await import("./chunk-e26hypm4.js");
9938
10156
  await agentsHandler();
9939
10157
  process.exit(0);
9940
10158
  });
9941
- 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
+ }
9942
10179
  {
9943
10180
  const autonomyCmd = program2.command("autonomy").description("Inspect and manage automatic autonomy runs and flows");
9944
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) => {
9945
- const { autonomyStatusHandler } = await import("./chunk-4am10fzg.js");
10182
+ const { autonomyStatusHandler } = await import("./chunk-envqyd27.js");
9946
10183
  await autonomyStatusHandler(options);
9947
10184
  process.exit(0);
9948
10185
  });
9949
10186
  autonomyCmd.command("runs [limit]").description("List recent autonomy runs").action(async (limit) => {
9950
- const { autonomyRunsHandler } = await import("./chunk-4am10fzg.js");
10187
+ const { autonomyRunsHandler } = await import("./chunk-envqyd27.js");
9951
10188
  await autonomyRunsHandler(limit);
9952
10189
  process.exit(0);
9953
10190
  });
9954
10191
  autonomyCmd.command("flows [limit]").description("List recent autonomy flows").action(async (limit) => {
9955
- const { autonomyFlowsHandler } = await import("./chunk-4am10fzg.js");
10192
+ const { autonomyFlowsHandler } = await import("./chunk-envqyd27.js");
9956
10193
  await autonomyFlowsHandler(limit);
9957
10194
  process.exit(0);
9958
10195
  });
9959
10196
  const flowCmd = autonomyCmd.command("flow <flowId>").description("Inspect a single autonomy flow").action(async (flowId) => {
9960
- const { autonomyFlowHandler } = await import("./chunk-4am10fzg.js");
10197
+ const { autonomyFlowHandler } = await import("./chunk-envqyd27.js");
9961
10198
  await autonomyFlowHandler(flowId);
9962
10199
  process.exit(0);
9963
10200
  });
9964
10201
  flowCmd.command("cancel <flowId>").description("Cancel a queued, waiting, or running autonomy flow").action(async (flowId) => {
9965
- const { autonomyFlowCancelHandler } = await import("./chunk-4am10fzg.js");
10202
+ const { autonomyFlowCancelHandler } = await import("./chunk-envqyd27.js");
9966
10203
  await autonomyFlowCancelHandler(flowId);
9967
10204
  process.exit(0);
9968
10205
  });
9969
10206
  flowCmd.command("resume <flowId>").description("Resume a waiting autonomy flow").action(async (flowId) => {
9970
- const { autonomyFlowResumeHandler } = await import("./chunk-4am10fzg.js");
10207
+ const { autonomyFlowResumeHandler } = await import("./chunk-envqyd27.js");
9971
10208
  await autonomyFlowResumeHandler(flowId);
9972
10209
  process.exit(0);
9973
10210
  });
9974
10211
  }
9975
- 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
+ }
9976
10218
  if (true) {
9977
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(() => {
9978
10220
  process.stderr.write(`Usage: csc assistant [sessionId]
@@ -9984,24 +10226,24 @@ Omit sessionId to discover and pick from available sessions.
9984
10226
  });
9985
10227
  }
9986
10228
  program2.command("cloud [args...]", { noHelp: true }).description("Manage cloud daemon (register device and connect via WebSocket tunnel)").allowUnknownOption().action(async (args) => {
9987
- const { cloudHandler } = await import("./chunk-agp8g4vs.js");
10229
+ const { cloudHandler } = await import("./chunk-a80y3b1p.js");
9988
10230
  await cloudHandler(args);
9989
10231
  });
9990
10232
  program2.command("update").alias("upgrade").description("Check for updates and install the latest version").action(async () => {
9991
- const { update } = await import("./chunk-7aeww2z6.js");
10233
+ const { update } = await import("./chunk-p10xajeq.js");
9992
10234
  await update();
9993
10235
  });
9994
10236
  program2.command("doctor").description("Check the health of your CoStrict auto-updater").action(async () => {
9995
10237
  const [{ doctorHandler }, { createRoot }] = await Promise.all([
9996
- import("./chunk-vn0y1222.js"),
9997
- import("./chunk-8x3wqyv3.js")
10238
+ import("./chunk-v522k1r4.js"),
10239
+ import("./chunk-y3cshvgb.js")
9998
10240
  ]);
9999
10241
  const root = await createRoot(getBaseRenderOptions(false));
10000
10242
  await doctorHandler(root);
10001
10243
  });
10002
10244
  if (process.env.USER_TYPE === "ant") {
10003
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 () => {
10004
- const { up } = await import("./chunk-8c4wbrma.js");
10246
+ const { up } = await import("./chunk-y9mnawak.js");
10005
10247
  await up();
10006
10248
  });
10007
10249
  }
@@ -10017,7 +10259,7 @@ Examples:
10017
10259
  });
10018
10260
  }
10019
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) => {
10020
- const { installHandler } = await import("./chunk-vn0y1222.js");
10262
+ const { installHandler } = await import("./chunk-v522k1r4.js");
10021
10263
  await installHandler(target, options);
10022
10264
  });
10023
10265
  if (process.env.USER_TYPE === "ant") {
@@ -10028,11 +10270,11 @@ Examples:
10028
10270
  return Number(value);
10029
10271
  };
10030
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) => {
10031
- const { logHandler } = await import("./chunk-82e5ecfq.js");
10273
+ const { logHandler } = await import("./chunk-a96dsyhm.js");
10032
10274
  await logHandler(logId);
10033
10275
  });
10034
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) => {
10035
- const { errorHandler } = await import("./chunk-82e5ecfq.js");
10277
+ const { errorHandler } = await import("./chunk-a96dsyhm.js");
10036
10278
  await errorHandler(number);
10037
10279
  });
10038
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", `
@@ -10041,34 +10283,34 @@ Examples:
10041
10283
  $ claude export <uuid> conversation.txt Export conversation by session ID
10042
10284
  $ claude export input.json output.txt Render JSON log file to text
10043
10285
  $ claude export <uuid>.jsonl output.txt Render JSONL session file to text`).action(async (source, outputFile) => {
10044
- const { exportHandler } = await import("./chunk-82e5ecfq.js");
10286
+ const { exportHandler } = await import("./chunk-a96dsyhm.js");
10045
10287
  await exportHandler(source, outputFile);
10046
10288
  });
10047
10289
  if (process.env.USER_TYPE === "ant") {
10048
10290
  const taskCmd = program2.command("task").description("[ANT-ONLY] Manage task list tasks");
10049
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) => {
10050
- const { taskCreateHandler } = await import("./chunk-82e5ecfq.js");
10292
+ const { taskCreateHandler } = await import("./chunk-a96dsyhm.js");
10051
10293
  await taskCreateHandler(subject, opts);
10052
10294
  });
10053
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) => {
10054
- const { taskListHandler } = await import("./chunk-82e5ecfq.js");
10296
+ const { taskListHandler } = await import("./chunk-a96dsyhm.js");
10055
10297
  await taskListHandler(opts);
10056
10298
  });
10057
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) => {
10058
- const { taskGetHandler } = await import("./chunk-82e5ecfq.js");
10300
+ const { taskGetHandler } = await import("./chunk-a96dsyhm.js");
10059
10301
  await taskGetHandler(id, opts);
10060
10302
  });
10061
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) => {
10062
- const { taskUpdateHandler } = await import("./chunk-82e5ecfq.js");
10304
+ const { taskUpdateHandler } = await import("./chunk-a96dsyhm.js");
10063
10305
  await taskUpdateHandler(id, opts);
10064
10306
  });
10065
10307
  taskCmd.command("dir").description("Show the tasks directory path").option("-l, --list <id>", 'Task list ID (defaults to "tasklist")').action(async (opts) => {
10066
- const { taskDirHandler } = await import("./chunk-82e5ecfq.js");
10308
+ const { taskDirHandler } = await import("./chunk-a96dsyhm.js");
10067
10309
  await taskDirHandler(opts);
10068
10310
  });
10069
10311
  }
10070
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) => {
10071
- const { completionHandler } = await import("./chunk-82e5ecfq.js");
10313
+ const { completionHandler } = await import("./chunk-a96dsyhm.js");
10072
10314
  await completionHandler(shell, opts, program2);
10073
10315
  });
10074
10316
  }
@@ -10138,7 +10380,7 @@ async function logTenguInit({
10138
10380
  appendSystemPromptFlag
10139
10381
  },
10140
10382
  is_simple: isBareMode() || undefined,
10141
- is_coordinator: coordinatorModeModule?.isCoordinatorMode() ? true : undefined,
10383
+ is_coordinator: undefined,
10142
10384
  ...assistantActivationPath && {
10143
10385
  assistantActivationPath
10144
10386
  },
@@ -10208,5 +10450,5 @@ export {
10208
10450
  main
10209
10451
  };
10210
10452
 
10211
- //# debugId=0165836F4401C29664756E2164756E21
10212
- //# sourceMappingURL=chunk-86nrce87.js.map
10453
+ //# debugId=78680F863768198364756E2164756E21
10454
+ //# sourceMappingURL=chunk-hyztfnyq.js.map