@zyycn/claudex 1.0.3-fork.63859d8 → 1.0.3-fork.dc451ee

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 (282) hide show
  1. package/dist/{chunk-tjw7n4me.js → chunk-00xcm9ma.js} +2 -2
  2. package/dist/{chunk-151y6sdp.js → chunk-01jbgenf.js} +35 -34
  3. package/dist/{chunk-mn5dbpj6.js → chunk-039mev52.js} +1 -1
  4. package/dist/{chunk-4hv1jgmd.js → chunk-03vfa4c5.js} +23 -22
  5. package/dist/{chunk-hdy46n07.js → chunk-0dh6n0ch.js} +3 -3
  6. package/dist/{chunk-2jebr2b3.js → chunk-0fxwgch0.js} +5 -5
  7. package/dist/{chunk-58vfra9b.js → chunk-0jpawpmr.js} +373 -146
  8. package/dist/{chunk-07wsrc0z.js → chunk-0njdqjh2.js} +45 -44
  9. package/dist/{chunk-9bh231gs.js → chunk-0r43hjca.js} +6 -6
  10. package/dist/{chunk-f59vm2wr.js → chunk-0wsksm3h.js} +24 -23
  11. package/dist/{chunk-674v1ftd.js → chunk-0ybgmphy.js} +20 -19
  12. package/dist/{chunk-0fstqfpr.js → chunk-12ba0dyr.js} +4 -4
  13. package/dist/chunk-12vrm30y.js +53 -0
  14. package/dist/{chunk-3b00105q.js → chunk-14jv3jm7.js} +1 -1
  15. package/dist/{chunk-xj6921ek.js → chunk-14tk332x.js} +23 -22
  16. package/dist/{chunk-kbzszx69.js → chunk-15ep9q6g.js} +22 -21
  17. package/dist/{chunk-h9ss6jmy.js → chunk-1txpc2g1.js} +21 -20
  18. package/dist/{chunk-ajs4f0bc.js → chunk-1vh98qr0.js} +3 -3
  19. package/dist/{chunk-p0b6mrmr.js → chunk-1w5mkj15.js} +22 -21
  20. package/dist/{chunk-jm26x16f.js → chunk-204bvb3a.js} +20 -19
  21. package/dist/{chunk-7a2jf60n.js → chunk-29z3qkgf.js} +20 -19
  22. package/dist/{chunk-vyxz19k4.js → chunk-2fmhdd8f.js} +2 -2
  23. package/dist/chunk-2fwze72g.js +24 -0
  24. package/dist/{chunk-texzbcna.js → chunk-2t1frg13.js} +1 -1
  25. package/dist/{chunk-fe28tydf.js → chunk-34bxf7y6.js} +1 -1
  26. package/dist/{chunk-w60scsje.js → chunk-3e6mgtmj.js} +2 -2
  27. package/dist/{chunk-chbeyhvx.js → chunk-3j94qess.js} +31 -30
  28. package/dist/{chunk-kn9tvhfx.js → chunk-3k7b192z.js} +28 -26
  29. package/dist/chunk-3nk79af8.js +8 -0
  30. package/dist/{chunk-r855fz3z.js → chunk-3peatsdv.js} +1 -1
  31. package/dist/{chunk-f2m3jj5b.js → chunk-3ph8mywh.js} +25 -24
  32. package/dist/{chunk-ja5ndhsq.js → chunk-3sn27knv.js} +1 -1
  33. package/dist/{chunk-kwfkfd6t.js → chunk-3yasspz3.js} +20 -19
  34. package/dist/{chunk-fx9bv58w.js → chunk-3z1qwrcm.js} +7 -7
  35. package/dist/{chunk-8zqswz9e.js → chunk-42ppyf2p.js} +34 -33
  36. package/dist/{chunk-rmcsv3z0.js → chunk-451p7apq.js} +7 -7
  37. package/dist/{chunk-qhfhd3vp.js → chunk-4g3nkwf6.js} +3 -3
  38. package/dist/{chunk-7yksfkaa.js → chunk-4he43f79.js} +45 -23
  39. package/dist/{chunk-b25ezktx.js → chunk-4k5tvnaa.js} +2 -2
  40. package/dist/{chunk-52ps3ztw.js → chunk-4nset8em.js} +24 -23
  41. package/dist/{chunk-54056j9z.js → chunk-4vy9ansq.js} +2 -2
  42. package/dist/{chunk-28et4nhw.js → chunk-4x6pcda3.js} +1 -1
  43. package/dist/{chunk-0ahhw7bz.js → chunk-54ey0bfh.js} +20 -19
  44. package/dist/{chunk-awb5xkq3.js → chunk-5dyqnr9v.js} +20 -19
  45. package/dist/{chunk-bwv35h1r.js → chunk-5kysreeg.js} +21 -20
  46. package/dist/{chunk-gnqrg21t.js → chunk-5nrq1pdw.js} +20 -19
  47. package/dist/{chunk-n20vgzea.js → chunk-5q3xwwxc.js} +4 -4
  48. package/dist/{chunk-4vrcx9cz.js → chunk-5qcb7v09.js} +21 -20
  49. package/dist/{chunk-f1dcrf3f.js → chunk-5v3sg5wp.js} +2 -2
  50. package/dist/{chunk-0mrfv28j.js → chunk-5vjhgysy.js} +21 -20
  51. package/dist/{chunk-zkpjxvnd.js → chunk-65rhdjsh.js} +1 -1
  52. package/dist/{chunk-5zmq9q3e.js → chunk-6camhvtz.js} +24 -23
  53. package/dist/{chunk-eag9xeqh.js → chunk-6dapx39c.js} +6 -6
  54. package/dist/{chunk-zf7nyn7m.js → chunk-6q6f1wpf.js} +1 -1
  55. package/dist/{chunk-n04af68e.js → chunk-6x07mer9.js} +43 -19
  56. package/dist/{chunk-c1077c9c.js → chunk-6zj0xxwa.js} +50 -22
  57. package/dist/{chunk-cgeewb6e.js → chunk-70sptmfr.js} +1 -1
  58. package/dist/{chunk-gnves4xd.js → chunk-72qky895.js} +1 -1
  59. package/dist/{chunk-fht1rp3n.js → chunk-75v2m3wc.js} +2 -2
  60. package/dist/{chunk-hqwn51wm.js → chunk-7efm29pb.js} +4 -4
  61. package/dist/{chunk-mahta9jh.js → chunk-7g5m01ns.js} +3 -3
  62. package/dist/{chunk-xq2kcm6c.js → chunk-7mxd760q.js} +21 -20
  63. package/dist/{chunk-fmkhaba7.js → chunk-7q237ftq.js} +2 -2
  64. package/dist/chunk-7xyswgjh.js +8 -0
  65. package/dist/{chunk-e8xahfkt.js → chunk-893egk2x.js} +11 -11
  66. package/dist/{chunk-r1ww9cw4.js → chunk-8jqd6zk1.js} +9 -9
  67. package/dist/{chunk-a63ksyvs.js → chunk-8msd30bx.js} +21 -20
  68. package/dist/{chunk-9519vn44.js → chunk-8n6h3zms.js} +3 -3
  69. package/dist/{chunk-6edknq5c.js → chunk-8qt8g4v6.js} +20 -19
  70. package/dist/{chunk-qwg20wpg.js → chunk-8xthyq2a.js} +20 -19
  71. package/dist/{chunk-6tphsenx.js → chunk-928e93fe.js} +21 -20
  72. package/dist/{chunk-xb93c8k2.js → chunk-935snp32.js} +3 -3
  73. package/dist/{chunk-epy41asf.js → chunk-95s727e4.js} +21 -20
  74. package/dist/{chunk-9w599e3a.js → chunk-9cyyef6h.js} +20 -19
  75. package/dist/{chunk-v16d7g1x.js → chunk-9gpzf0pn.js} +1 -1
  76. package/dist/{chunk-s88vzmek.js → chunk-9k27xdmg.js} +4 -4
  77. package/dist/{chunk-9acbbgmc.js → chunk-9r95vmm0.js} +13 -13
  78. package/dist/chunk-9x5zgy22.js +12 -0
  79. package/dist/{chunk-gxf6dm7a.js → chunk-9xeqmmys.js} +2 -2
  80. package/dist/{chunk-d1gtryh9.js → chunk-9zy5e7xp.js} +1 -1
  81. package/dist/{chunk-fhf695ja.js → chunk-a0yq6r2s.js} +4 -4
  82. package/dist/{chunk-md3se9pg.js → chunk-a280pgbp.js} +4 -4
  83. package/dist/{chunk-xjrg0ghm.js → chunk-a3dhm7f4.js} +2 -2
  84. package/dist/{chunk-0x4wp2ks.js → chunk-a3n7swjm.js} +18 -11
  85. package/dist/{chunk-hmxx5m0j.js → chunk-a4f63wwn.js} +27 -26
  86. package/dist/{chunk-r7wg5rc4.js → chunk-a8441emx.js} +20 -19
  87. package/dist/{chunk-5x0qecy1.js → chunk-abeh3zrz.js} +3 -3
  88. package/dist/{chunk-djfvtc4j.js → chunk-ac769m23.js} +2 -2
  89. package/dist/{chunk-h7m0dkj5.js → chunk-adr042e8.js} +2 -2
  90. package/dist/{chunk-a0p2qhvp.js → chunk-adsny3rk.js} +1 -1
  91. package/dist/{chunk-h5f90qy3.js → chunk-ar1vk71q.js} +2 -2
  92. package/dist/{chunk-gr655xh9.js → chunk-axg7dmhd.js} +24 -23
  93. package/dist/{chunk-v5zhbvpq.js → chunk-b492k6w5.js} +2 -2
  94. package/dist/{chunk-qseetcxd.js → chunk-b7cywkg9.js} +1 -1
  95. package/dist/{chunk-3dzknnm6.js → chunk-b9kme9pv.js} +2 -2
  96. package/dist/{chunk-69ky64mf.js → chunk-bff0kgxz.js} +1 -1
  97. package/dist/{chunk-wzjhrjtm.js → chunk-bgrf03e7.js} +21 -20
  98. package/dist/{chunk-4xhhtzah.js → chunk-bh40vfxs.js} +73 -72
  99. package/dist/{chunk-ah6a2fb0.js → chunk-bq30y0tt.js} +29 -21
  100. package/dist/{chunk-kb20jst8.js → chunk-bqqmwf67.js} +20 -19
  101. package/dist/{chunk-bftwqs59.js → chunk-bv2eqmzw.js} +1 -1
  102. package/dist/{chunk-cm3fv459.js → chunk-c02es22f.js} +2 -2
  103. package/dist/{chunk-dbf076r1.js → chunk-c35xkm17.js} +21 -20
  104. package/dist/{chunk-67zb3v67.js → chunk-c52pxtdp.js} +20 -19
  105. package/dist/{chunk-vpgbh5bf.js → chunk-c5gedm4r.js} +20 -19
  106. package/dist/{chunk-png9e5ck.js → chunk-cckwtdb4.js} +1 -1
  107. package/dist/{chunk-6qsdqh0f.js → chunk-cgj8jsts.js} +5 -5
  108. package/dist/{chunk-ksccst8q.js → chunk-cjwzcb6y.js} +20 -19
  109. package/dist/{chunk-vta85bqs.js → chunk-ckhrg84a.js} +22 -21
  110. package/dist/{chunk-k2s22ypg.js → chunk-cs5fn1ys.js} +2 -2
  111. package/dist/{chunk-jwft70vy.js → chunk-czensfac.js} +1 -1
  112. package/dist/{chunk-2e5b3tkf.js → chunk-d2ptwy7e.js} +2 -2
  113. package/dist/{chunk-k0j7zgsv.js → chunk-d5c4hhjf.js} +4 -4
  114. package/dist/{chunk-5k919r4p.js → chunk-d77k886w.js} +20 -19
  115. package/dist/{chunk-ycbkq0vg.js → chunk-dhhhc3nr.js} +1 -1
  116. package/dist/{chunk-0n3w76pm.js → chunk-dj3twbkt.js} +22 -21
  117. package/dist/{chunk-wmnqnhdt.js → chunk-dqf0z3wb.js} +27 -26
  118. package/dist/{chunk-rzmx8nhh.js → chunk-drnpqm9b.js} +1 -1
  119. package/dist/{chunk-dhd6zm3z.js → chunk-ds5nkfg0.js} +1 -1
  120. package/dist/{chunk-cs3fj3pz.js → chunk-dwfph287.js} +20 -19
  121. package/dist/{chunk-2p1yg770.js → chunk-dx35mxvf.js} +30 -29
  122. package/dist/{chunk-1hvgwx0r.js → chunk-e067kzj6.js} +2 -2
  123. package/dist/{chunk-n9n0mrjy.js → chunk-e3q7htwd.js} +1 -1
  124. package/dist/{chunk-s59j7gwp.js → chunk-e8bq61w7.js} +23 -22
  125. package/dist/{chunk-v4j0vaec.js → chunk-ecpna5ny.js} +20 -19
  126. package/dist/{chunk-nx4e896a.js → chunk-ezf1ppbj.js} +2 -2
  127. package/dist/{chunk-z8f41zjt.js → chunk-ezv8m5n1.js} +2 -2
  128. package/dist/{chunk-eegrp4q3.js → chunk-f1q9zc26.js} +3 -3
  129. package/dist/{chunk-w65b80a1.js → chunk-f1t11cfc.js} +22 -21
  130. package/dist/{chunk-95ndwcrd.js → chunk-f5c2rz1k.js} +20 -19
  131. package/dist/{chunk-rc0ha2yr.js → chunk-f7vscw75.js} +20 -19
  132. package/dist/{chunk-q5981tda.js → chunk-fdex6gh0.js} +4 -4
  133. package/dist/{chunk-pgmdnz6t.js → chunk-fhxyts2e.js} +2 -2
  134. package/dist/{chunk-02bk4pn4.js → chunk-fst69d4x.js} +22 -21
  135. package/dist/{chunk-y5yzya8k.js → chunk-fwczm6pd.js} +31 -30
  136. package/dist/{chunk-3hy8ccbv.js → chunk-fye84z7c.js} +2 -2
  137. package/dist/{chunk-w83va2p1.js → chunk-g851jeek.js} +23 -22
  138. package/dist/{chunk-mqxwvjev.js → chunk-gdmf3jkv.js} +20 -19
  139. package/dist/{chunk-2xng67gx.js → chunk-ggtxtmxb.js} +27 -26
  140. package/dist/{chunk-8ax52psx.js → chunk-gh095zq3.js} +28 -27
  141. package/dist/{chunk-4tcernwd.js → chunk-gk96s7cj.js} +21 -20
  142. package/dist/{chunk-9nta4x35.js → chunk-gmaybtrd.js} +1 -1
  143. package/dist/{chunk-hv343bav.js → chunk-gmtb3py1.js} +9 -9
  144. package/dist/{chunk-pb4906ef.js → chunk-gn3ahnf2.js} +20 -19
  145. package/dist/{chunk-t3d6vdah.js → chunk-gn3ehnss.js} +2 -2
  146. package/dist/{chunk-bx3fzqtt.js → chunk-gzdjjnn5.js} +3 -3
  147. package/dist/{chunk-twhe6v3t.js → chunk-h15b7cz3.js} +1 -1
  148. package/dist/{chunk-b2px10ft.js → chunk-h43t48kg.js} +20 -19
  149. package/dist/{chunk-tsfs1vf8.js → chunk-h4mynavj.js} +22 -21
  150. package/dist/{chunk-ncag7yd4.js → chunk-h64ezmsr.js} +21 -20
  151. package/dist/{chunk-aczfb3vf.js → chunk-h9jv2xgg.js} +2 -2
  152. package/dist/{chunk-cgqxb74c.js → chunk-hjdgcdwx.js} +2 -2
  153. package/dist/{chunk-pn0gryjm.js → chunk-hmym2src.js} +94 -29
  154. package/dist/{chunk-k7gjm8sr.js → chunk-hq4ghfgh.js} +24 -23
  155. package/dist/{chunk-r77has4c.js → chunk-hxj00asb.js} +20 -19
  156. package/dist/{chunk-wvazv5bb.js → chunk-hy4tj4dr.js} +2 -2
  157. package/dist/{chunk-jb82y7f5.js → chunk-j35has2p.js} +1 -1
  158. package/dist/{chunk-a37n4kr4.js → chunk-j566xj0b.js} +24 -23
  159. package/dist/{chunk-82pj9548.js → chunk-j877m6ys.js} +2 -2
  160. package/dist/{chunk-8jdz7wfb.js → chunk-j9jdgw34.js} +23 -22
  161. package/dist/{chunk-rz4jtfde.js → chunk-jepn7r9p.js} +3 -3
  162. package/dist/{chunk-kz6f106c.js → chunk-jpp9dqv4.js} +1 -1
  163. package/dist/{chunk-veby851k.js → chunk-k1crwgbf.js} +27 -26
  164. package/dist/{chunk-d3kffc86.js → chunk-k23pmfbx.js} +1 -1
  165. package/dist/{chunk-8qm7hxn7.js → chunk-k2aj61ee.js} +2 -2
  166. package/dist/{chunk-smfnjta6.js → chunk-k9njhmpx.js} +4 -3
  167. package/dist/{chunk-jmawd9e7.js → chunk-kbw8v1gx.js} +4 -4
  168. package/dist/{chunk-0r20f5sd.js → chunk-kbx5e5my.js} +1 -1
  169. package/dist/{chunk-2m3nn9wn.js → chunk-kfbmhrtq.js} +4 -4
  170. package/dist/{chunk-harq79ch.js → chunk-knpcrc3f.js} +6 -6
  171. package/dist/{chunk-z83r4ard.js → chunk-kqseqv7y.js} +1 -1
  172. package/dist/{chunk-0a7cn092.js → chunk-m4gdbyrb.js} +2 -2
  173. package/dist/{chunk-vxk8d3bf.js → chunk-md1y2eqg.js} +13 -13
  174. package/dist/{chunk-xh1kgbeq.js → chunk-mdcrf7kq.js} +2 -2
  175. package/dist/{chunk-evdp9tp6.js → chunk-mnxz3vrc.js} +14 -14
  176. package/dist/{chunk-41x5pfyr.js → chunk-mqqxnnfj.js} +3 -3
  177. package/dist/{chunk-xh72pz56.js → chunk-mtvjbywy.js} +31 -30
  178. package/dist/{chunk-cjrhgkc5.js → chunk-mvtgvpcq.js} +21 -20
  179. package/dist/{chunk-y1twysg3.js → chunk-mvzv376c.js} +22 -21
  180. package/dist/{chunk-zej1a9jp.js → chunk-my0s74jd.js} +5 -5
  181. package/dist/{chunk-v1qr0n3a.js → chunk-n9baptct.js} +20 -19
  182. package/dist/{chunk-aw44hsj7.js → chunk-nc2jgzdn.js} +10 -9
  183. package/dist/{chunk-seccg7jz.js → chunk-nc7cr0gr.js} +3 -3
  184. package/dist/{chunk-1g08kq8k.js → chunk-ncms02sf.js} +3 -3
  185. package/dist/{chunk-ene0rqec.js → chunk-ng9r08ph.js} +10 -10
  186. package/dist/{chunk-ycdypzgh.js → chunk-p0j4ydhy.js} +20 -19
  187. package/dist/{chunk-zpwh305r.js → chunk-p1awc9y1.js} +3 -3
  188. package/dist/{chunk-e65m636c.js → chunk-pdhje0vd.js} +1 -1
  189. package/dist/{chunk-7x9kyp5a.js → chunk-pe6w0anj.js} +1 -1
  190. package/dist/{chunk-kzvcbm2a.js → chunk-ph3b78ps.js} +3 -3
  191. package/dist/{chunk-3qfhn68g.js → chunk-pkch61xz.js} +2 -2
  192. package/dist/{chunk-a62sss8p.js → chunk-pkct38g4.js} +5 -5
  193. package/dist/chunk-ppwjyveh.js +8 -0
  194. package/dist/{chunk-cthzgjxe.js → chunk-prxnxj25.js} +21 -20
  195. package/dist/{chunk-16egjxjg.js → chunk-q0sq5qtt.js} +8 -8
  196. package/dist/{chunk-4v84xyct.js → chunk-q10bhasj.js} +36 -35
  197. package/dist/{chunk-dk04svw2.js → chunk-q1e2q8vd.js} +1 -1
  198. package/dist/{chunk-46j4s200.js → chunk-q1s4atwf.js} +3 -3
  199. package/dist/{chunk-w3dz905t.js → chunk-q7bxdsfd.js} +2 -2
  200. package/dist/{chunk-pa86j0bt.js → chunk-qb9wcc29.js} +2 -2
  201. package/dist/{chunk-cyp8x61z.js → chunk-qe7v8338.js} +1 -1
  202. package/dist/{chunk-hq2bbp9m.js → chunk-qqrva33h.js} +20 -19
  203. package/dist/{chunk-8gas56p1.js → chunk-qqzq7zq5.js} +20 -19
  204. package/dist/{chunk-pdja94je.js → chunk-r33bj9hd.js} +20 -19
  205. package/dist/{chunk-4aahjqsx.js → chunk-raxk1djz.js} +2 -2
  206. package/dist/{chunk-hmd50qnc.js → chunk-re781b8d.js} +22 -21
  207. package/dist/{chunk-w8yw30sd.js → chunk-res15ktd.js} +4 -1
  208. package/dist/{chunk-41qb7ggn.js → chunk-rnnpz84j.js} +20 -19
  209. package/dist/{chunk-twjvkefv.js → chunk-rt07mhhd.js} +1 -1
  210. package/dist/{chunk-vz6s9tzt.js → chunk-rtgznsee.js} +1 -1
  211. package/dist/{chunk-q3y7hz85.js → chunk-rxg5tfet.js} +20 -19
  212. package/dist/{chunk-kq8vbzm5.js → chunk-sdp7y6wk.js} +1 -1
  213. package/dist/{chunk-kynkgy2b.js → chunk-sfmvvvej.js} +1 -1
  214. package/dist/{chunk-gbd3vt5e.js → chunk-sfznvv94.js} +2 -2
  215. package/dist/chunk-shcf6ywy.js +143 -0
  216. package/dist/{chunk-7dynrzwa.js → chunk-ssk2rgcq.js} +40 -32
  217. package/dist/{chunk-0edbx65p.js → chunk-sxv4ej3r.js} +21 -20
  218. package/dist/{chunk-rvdbsq4q.js → chunk-sz2my4s2.js} +4 -4
  219. package/dist/{chunk-br557xrm.js → chunk-t6f605we.js} +21 -20
  220. package/dist/{chunk-zc4bvzph.js → chunk-t6n82trs.js} +2 -2
  221. package/dist/{chunk-pfz2eecq.js → chunk-t7jreps1.js} +1 -1
  222. package/dist/{chunk-kxp86zsr.js → chunk-t8aatza2.js} +20 -19
  223. package/dist/{chunk-keh6rhb9.js → chunk-t9szgfq4.js} +21 -20
  224. package/dist/{chunk-kh4zk8k3.js → chunk-tf2bch5a.js} +48 -19
  225. package/dist/{chunk-jja22ke5.js → chunk-tjk56vh8.js} +1 -1
  226. package/dist/{chunk-5ys5mwe2.js → chunk-tp128m12.js} +2 -2
  227. package/dist/{chunk-z3xgnyvt.js → chunk-trxj710w.js} +21 -20
  228. package/dist/{chunk-92yxvq6c.js → chunk-tsrmegs7.js} +16 -11
  229. package/dist/{chunk-68hy9wpy.js → chunk-tx795rhd.js} +1 -1
  230. package/dist/{chunk-t6nhrqn5.js → chunk-tzm3e3gk.js} +7 -7
  231. package/dist/{chunk-qxem93da.js → chunk-v5cyme56.js} +3 -3
  232. package/dist/chunk-v6czveqp.js +79 -0
  233. package/dist/{chunk-0att9gx6.js → chunk-v7te982b.js} +20 -19
  234. package/dist/{chunk-z4gz6dxr.js → chunk-v8gmdw89.js} +32 -31
  235. package/dist/{chunk-ddqs9xnj.js → chunk-vd3bb2zh.js} +3 -3
  236. package/dist/{chunk-c5m3cg5c.js → chunk-ve5vatga.js} +20 -19
  237. package/dist/{chunk-4rxzk7tv.js → chunk-vfenn4z5.js} +7 -7
  238. package/dist/{chunk-qm3nkwce.js → chunk-vhnpv3pj.js} +2 -2
  239. package/dist/{chunk-7sxd56xv.js → chunk-vnkvzr4h.js} +14 -14
  240. package/dist/{chunk-nbfaqb9f.js → chunk-vsds9f6z.js} +3 -3
  241. package/dist/{chunk-b5fkptr7.js → chunk-vzp6qwme.js} +2 -2
  242. package/dist/{chunk-rm56f6q8.js → chunk-w100pzs6.js} +1 -1
  243. package/dist/{chunk-3tq8k5r7.js → chunk-w1yp7n9a.js} +25 -24
  244. package/dist/{chunk-2ssrm349.js → chunk-w4nbestk.js} +259 -206
  245. package/dist/{chunk-sf1qb20v.js → chunk-w56p0krx.js} +2 -2
  246. package/dist/{chunk-9jetfeq0.js → chunk-w774ntch.js} +31 -30
  247. package/dist/{chunk-ydp9e689.js → chunk-w7g64wm8.js} +3 -3
  248. package/dist/{chunk-r05x881j.js → chunk-wfgd8s68.js} +6 -6
  249. package/dist/{chunk-heg1nmw6.js → chunk-wrhhmkf7.js} +1 -1
  250. package/dist/{chunk-m86aa1c1.js → chunk-x59aq274.js} +2 -2
  251. package/dist/chunk-x6r4v44b.js +8 -0
  252. package/dist/{chunk-8gf60417.js → chunk-x83df67j.js} +3 -3
  253. package/dist/{chunk-d6rxfmhy.js → chunk-xbtacp2f.js} +5 -5
  254. package/dist/{chunk-3zvw1hg8.js → chunk-xdxqjjjm.js} +2 -2
  255. package/dist/{chunk-sf6wtnqs.js → chunk-xgtm1e87.js} +46 -35
  256. package/dist/{chunk-amskwnzz.js → chunk-xm6kmhn3.js} +1 -1
  257. package/dist/{chunk-em7mxr1y.js → chunk-xpxja2pj.js} +21 -20
  258. package/dist/{chunk-73kdatnx.js → chunk-xrzjf3ng.js} +24 -23
  259. package/dist/chunk-xv3era3s.js +8 -0
  260. package/dist/{chunk-kxc04m1t.js → chunk-xyqhqbv4.js} +21 -20
  261. package/dist/{chunk-z2tsjhf3.js → chunk-y1awg7b9.js} +21 -20
  262. package/dist/{chunk-s5mcnqdj.js → chunk-y8nbd78g.js} +22 -21
  263. package/dist/{chunk-fxh5vfg8.js → chunk-yac7hqxy.js} +21 -20
  264. package/dist/{chunk-zc9ds5qb.js → chunk-yc2q7z9e.js} +20 -19
  265. package/dist/{chunk-0hgm34fp.js → chunk-yd7rjac1.js} +1 -1
  266. package/dist/{chunk-10k1h112.js → chunk-yfsxkk0m.js} +4 -4
  267. package/dist/{chunk-k5876c7b.js → chunk-ygz63dz0.js} +5 -5
  268. package/dist/{chunk-68k646wc.js → chunk-yn35568f.js} +3 -3
  269. package/dist/{chunk-jdvy710r.js → chunk-ypn9csh5.js} +1 -1
  270. package/dist/{chunk-qsd1r4pm.js → chunk-ysvwcdav.js} +3 -3
  271. package/dist/{chunk-zpywc76a.js → chunk-ytvzxnx2.js} +1 -1
  272. package/dist/{chunk-41bv0qr9.js → chunk-yy038nv7.js} +6 -6
  273. package/dist/{chunk-b4jy0s3f.js → chunk-yym7gb2v.js} +1250 -363
  274. package/dist/{chunk-4bt4tycr.js → chunk-zhs1p77x.js} +2 -2
  275. package/dist/{chunk-n21beyta.js → chunk-zma5bt6m.js} +3 -3
  276. package/dist/{chunk-8w0r66wr.js → chunk-zqprzgwd.js} +5 -5
  277. package/dist/{chunk-renve22b.js → chunk-ztmjzgq7.js} +4 -4
  278. package/dist/{chunk-x5psxyg8.js → chunk-zx7pgp71.js} +1 -1
  279. package/dist/{chunk-w5qmx5qj.js → chunk-zym9gr30.js} +21 -20
  280. package/dist/cli.js +9 -6
  281. package/package.json +4 -4
  282. package/dist/chunk-s9jbg9pc.js +0 -142
@@ -1,5 +1,5 @@
1
1
  // @bun
2
- import"./chunk-k2s22ypg.js";
2
+ import"./chunk-cs5fn1ys.js";
3
3
  import {
4
4
  cliError,
5
5
  cliOk
@@ -8,61 +8,63 @@ import {
8
8
  filterExistingPaths,
9
9
  getKnownPathsForRepo,
10
10
  updateGithubRepoPathMapping
11
- } from "./chunk-mn5dbpj6.js";
11
+ } from "./chunk-039mev52.js";
12
12
  import {
13
13
  computeInitialTeamContext,
14
14
  createRemoteSessionConfig,
15
15
  getModelDeprecationWarning,
16
16
  getRelevantTips,
17
17
  refreshExampleCommands
18
- } from "./chunk-9acbbgmc.js";
18
+ } from "./chunk-9r95vmm0.js";
19
19
  import {
20
20
  processResumedConversation,
21
21
  skillChangeDetector
22
- } from "./chunk-r05x881j.js";
23
- import"./chunk-kynkgy2b.js";
24
- import"./chunk-bvp4dgm4.js";
22
+ } from "./chunk-wfgd8s68.js";
23
+ import"./chunk-sfmvvvej.js";
24
+ import {
25
+ installAsciicastRecorder
26
+ } from "./chunk-bvp4dgm4.js";
25
27
  import {
26
28
  getBaseRenderOptions
27
29
  } from "./chunk-0q2xkmse.js";
28
30
  import {
29
31
  createStatsStore
30
- } from "./chunk-m86aa1c1.js";
32
+ } from "./chunk-x59aq274.js";
31
33
  import {
32
34
  applyConfigEnvironmentVariables,
33
35
  applySafeConfigEnvironmentVariables,
34
36
  onChangeAppState
35
- } from "./chunk-rvdbsq4q.js";
37
+ } from "./chunk-sz2my4s2.js";
36
38
  import"./chunk-x8b7vft8.js";
37
- import"./chunk-twhe6v3t.js";
39
+ import"./chunk-h15b7cz3.js";
38
40
  import"./chunk-6n2qgm9v.js";
39
41
  import {
40
42
  init_setup,
41
43
  setupClaudeInChrome,
42
44
  shouldAutoEnableClaudeInChrome,
43
45
  shouldEnableClaudeInChrome
44
- } from "./chunk-sf1qb20v.js";
46
+ } from "./chunk-w56p0krx.js";
45
47
  import {
46
48
  init_partition,
47
49
  partition_default
48
- } from "./chunk-kq8vbzm5.js";
50
+ } from "./chunk-sdp7y6wk.js";
49
51
  import {
50
52
  init_releaseNotes,
51
53
  migrateChangelogFromConfig
52
- } from "./chunk-kzvcbm2a.js";
54
+ } from "./chunk-ph3b78ps.js";
53
55
  import {
54
56
  VALID_INSTALLABLE_SCOPES,
55
57
  VALID_UPDATE_SCOPES
56
- } from "./chunk-eegrp4q3.js";
57
- import"./chunk-aczfb3vf.js";
58
- import"./chunk-bx3fzqtt.js";
59
- import"./chunk-0fstqfpr.js";
60
- import"./chunk-t3d6vdah.js";
61
- import"./chunk-b5fkptr7.js";
58
+ } from "./chunk-f1q9zc26.js";
59
+ import"./chunk-h9jv2xgg.js";
60
+ import"./chunk-gzdjjnn5.js";
61
+ import"./chunk-12ba0dyr.js";
62
+ import"./chunk-gn3ehnss.js";
63
+ import"./chunk-vzp6qwme.js";
62
64
  import {
63
65
  init_sink,
64
66
  initializeAnalyticsGates
65
- } from "./chunk-3zvw1hg8.js";
67
+ } from "./chunk-xdxqjjjm.js";
66
68
  import {
67
69
  BROWSER_TOOLS,
68
70
  init_src
@@ -257,6 +259,7 @@ import {
257
259
  loadConversationForResume,
258
260
  loadPolicyLimits,
259
261
  loadRemoteManagedSettings,
262
+ loadTranscriptFromFile,
260
263
  logContextMetrics,
261
264
  logPermissionContextForAnts,
262
265
  logPluginLoadErrors,
@@ -280,6 +283,7 @@ import {
280
283
  refreshRemoteManagedSettings,
281
284
  registerBundledSkill,
282
285
  registerSession,
286
+ removeDangerousPermissions,
283
287
  saveAgentSetting,
284
288
  saveIdpClientSecret,
285
289
  saveIdpIdTokenFromJwt,
@@ -302,22 +306,18 @@ import {
302
306
  validateUuid,
303
307
  waitForPolicyLimitsToLoad,
304
308
  waitForRemoteManagedSettingsToLoad
305
- } from "./chunk-2ssrm349.js";
306
- import {
307
- createEmptyAttributionState,
308
- init_commitAttribution
309
- } from "./chunk-0hgm34fp.js";
310
- import"./chunk-t0rgmccj.js";
309
+ } from "./chunk-w4nbestk.js";
311
310
  import {
312
311
  getSessionIngressAuthToken,
313
312
  init_sessionIngressAuth
314
- } from "./chunk-bftwqs59.js";
315
- import"./chunk-zkpjxvnd.js";
316
- import"./chunk-cyp8x61z.js";
313
+ } from "./chunk-bv2eqmzw.js";
314
+ import"./chunk-qe7v8338.js";
317
315
  import {
318
316
  exports_teammateModeSnapshot,
319
317
  init_teammateModeSnapshot
320
- } from "./chunk-cgeewb6e.js";
318
+ } from "./chunk-70sptmfr.js";
319
+ import"./chunk-t0rgmccj.js";
320
+ import"./chunk-65rhdjsh.js";
321
321
  import {
322
322
  BASE_CHROME_PROMPT,
323
323
  Byline,
@@ -330,13 +330,19 @@ import {
330
330
  init_Dialog,
331
331
  init_KeyboardShortcutHint,
332
332
  init_prompt as init_prompt4
333
- } from "./chunk-41x5pfyr.js";
333
+ } from "./chunk-mqqxnnfj.js";
334
334
  import"./chunk-ehtwnxpg.js";
335
+ import"./chunk-v6czveqp.js";
336
+ import {
337
+ createEmptyAttributionState,
338
+ init_commitAttribution
339
+ } from "./chunk-yd7rjac1.js";
335
340
  import"./chunk-vhjx5fag.js";
336
341
  import {
337
342
  DEFAULT_TASKS_MODE_TASK_LIST_ID,
343
+ TASK_STATUSES,
338
344
  init_tasks
339
- } from "./chunk-smfnjta6.js";
345
+ } from "./chunk-k9njhmpx.js";
340
346
  import"./chunk-2gzv8nrw.js";
341
347
  import {
342
348
  CLAUDE_IN_CHROME_MCP_SERVER_NAME,
@@ -350,12 +356,12 @@ import {
350
356
  import {
351
357
  init_referral,
352
358
  prefetchPassesEligibility
353
- } from "./chunk-pa86j0bt.js";
354
- import"./chunk-cgqxb74c.js";
359
+ } from "./chunk-qb9wcc29.js";
360
+ import"./chunk-hjdgcdwx.js";
355
361
  import"./chunk-9gbamk79.js";
356
- import"./chunk-pn0gryjm.js";
362
+ import"./chunk-hmym2src.js";
357
363
  import"./chunk-gv0tqhg0.js";
358
- import"./chunk-n9n0mrjy.js";
364
+ import"./chunk-e3q7htwd.js";
359
365
  import {
360
366
  Link,
361
367
  SHOW_CURSOR,
@@ -366,7 +372,7 @@ import {
366
372
  init_terminal,
367
373
  isSynchronizedOutputSupported,
368
374
  require_compiler_runtime
369
- } from "./chunk-e65m636c.js";
375
+ } from "./chunk-pdhje0vd.js";
370
376
  import {
371
377
  init_earlyInput,
372
378
  seedEarlyInput,
@@ -376,20 +382,20 @@ import"./chunk-ps49ymvj.js";
376
382
  import {
377
383
  require_jsx_dev_runtime
378
384
  } from "./chunk-g338npwr.js";
379
- import"./chunk-pfz2eecq.js";
385
+ import"./chunk-t7jreps1.js";
380
386
  import"./chunk-zk2wsm7d.js";
381
387
  import {
382
388
  fetchSession,
383
389
  init_api,
384
390
  prepareApiRequest
385
- } from "./chunk-png9e5ck.js";
391
+ } from "./chunk-cckwtdb4.js";
386
392
  import"./chunk-7e6ahfxz.js";
387
393
  import {
388
394
  getTelemetryAttributes,
389
395
  init_betaSessionTracing,
390
396
  init_telemetryAttributes,
391
397
  isBetaTracingEnabled
392
- } from "./chunk-4bt4tycr.js";
398
+ } from "./chunk-zhs1p77x.js";
393
399
  import {
394
400
  AGENT_TOOL_NAME,
395
401
  PERMISSION_MODES,
@@ -421,6 +427,7 @@ import {
421
427
  getSettings_DEPRECATED,
422
428
  getSubscriptionType,
423
429
  getUserSpecifiedModelSetting,
430
+ hasGrowthBookEnvOverride,
424
431
  hasProfileScope,
425
432
  hasSkipDangerousModePermissionPrompt,
426
433
  initJetBrainsDetection,
@@ -495,7 +502,7 @@ import {
495
502
  updateSettingsForSource,
496
503
  validateForceLoginOrg,
497
504
  withOAuth401Retry
498
- } from "./chunk-kh4zk8k3.js";
505
+ } from "./chunk-tf2bch5a.js";
499
506
  import {
500
507
  init_json,
501
508
  safeParseJSON
@@ -510,7 +517,7 @@ import {
510
517
  configureGlobalMTLS,
511
518
  init_mtls,
512
519
  init_proxy
513
- } from "./chunk-9nta4x35.js";
520
+ } from "./chunk-gmaybtrd.js";
514
521
  import {
515
522
  count,
516
523
  exports_teammate,
@@ -536,8 +543,7 @@ import"./chunk-vqk1n5qr.js";
536
543
  import"./chunk-4jm600zv.js";
537
544
  import {
538
545
  init_bundledMode,
539
- isInBundledMode,
540
- isRunningWithBun
546
+ isInBundledMode
541
547
  } from "./chunk-wn2268qd.js";
542
548
  import {
543
549
  OAUTH_BETA_HEADER,
@@ -556,7 +562,7 @@ import {
556
562
  getCliBin,
557
563
  getCliDisplayName,
558
564
  init_cliBranding
559
- } from "./chunk-w8yw30sd.js";
565
+ } from "./chunk-res15ktd.js";
560
566
  import {
561
567
  formatFileSize,
562
568
  init_format,
@@ -574,6 +580,7 @@ import {
574
580
  init_detectRepository
575
581
  } from "./chunk-dstxhxsx.js";
576
582
  import {
583
+ findGitRoot,
577
584
  getBranch,
578
585
  getIsGit,
579
586
  getWorktreeCount,
@@ -2882,8 +2889,8 @@ var init = memoize_default(async () => {
2882
2889
  setupGracefulShutdown();
2883
2890
  profileCheckpoint("init_after_graceful_shutdown");
2884
2891
  Promise.all([
2885
- import("./chunk-wvazv5bb.js"),
2886
- import("./chunk-3qfhn68g.js")
2892
+ import("./chunk-hy4tj4dr.js"),
2893
+ import("./chunk-pkch61xz.js")
2887
2894
  ]).then(([fp, gb]) => {
2888
2895
  fp.initialize1PEventLogging();
2889
2896
  gb.onGrowthBookRefresh(() => {
@@ -2922,7 +2929,7 @@ var init = memoize_default(async () => {
2922
2929
  preconnectAnthropicApi();
2923
2930
  if (isEnvTruthy(process.env.CLAUDE_CODE_REMOTE)) {
2924
2931
  try {
2925
- const { initUpstreamProxy, getUpstreamProxyEnv } = await import("./chunk-jwft70vy.js");
2932
+ const { initUpstreamProxy, getUpstreamProxyEnv } = await import("./chunk-czensfac.js");
2926
2933
  const { registerUpstreamProxyEnvFn } = await import("./chunk-nwsmn6zm.js");
2927
2934
  registerUpstreamProxyEnvFn(getUpstreamProxyEnv);
2928
2935
  await initUpstreamProxy();
@@ -2933,7 +2940,7 @@ var init = memoize_default(async () => {
2933
2940
  setShellIfWindows();
2934
2941
  registerCleanup(shutdownLspServerManager);
2935
2942
  registerCleanup(async () => {
2936
- const { cleanupSessionTeams } = await import("./chunk-v16d7g1x.js");
2943
+ const { cleanupSessionTeams } = await import("./chunk-9gpzf0pn.js");
2937
2944
  await cleanupSessionTeams();
2938
2945
  });
2939
2946
  if (isScratchpadEnabled()) {
@@ -2955,7 +2962,7 @@ var init = memoize_default(async () => {
2955
2962
  gracefulShutdownSync(1);
2956
2963
  return;
2957
2964
  }
2958
- return import("./chunk-7a2jf60n.js").then((m) => m.showInvalidConfigDialog({ error }));
2965
+ return import("./chunk-29z3qkgf.js").then((m) => m.showInvalidConfigDialog({ error }));
2959
2966
  } else {
2960
2967
  throw error;
2961
2968
  }
@@ -2995,7 +3002,7 @@ async function doInitializeTelemetry() {
2995
3002
  }
2996
3003
  }
2997
3004
  async function setMeterState() {
2998
- const { initializeTelemetry } = await import("./chunk-e8xahfkt.js");
3005
+ const { initializeTelemetry } = await import("./chunk-893egk2x.js");
2999
3006
  const meter = await initializeTelemetry();
3000
3007
  if (meter) {
3001
3008
  const createAttributedCounter = (name, options) => {
@@ -3024,10 +3031,10 @@ var jsx_dev_runtime = __toESM(require_jsx_dev_runtime(), 1);
3024
3031
  async function launchRepl(root, appProps, replProps, renderAndRun) {
3025
3032
  const {
3026
3033
  App
3027
- } = await import("./chunk-gr655xh9.js");
3034
+ } = await import("./chunk-axg7dmhd.js");
3028
3035
  const {
3029
3036
  REPL
3030
- } = await import("./chunk-s9jbg9pc.js");
3037
+ } = await import("./chunk-shcf6ywy.js");
3031
3038
  await renderAndRun(root, /* @__PURE__ */ jsx_dev_runtime.jsxDEV(App, {
3032
3039
  ...appProps,
3033
3040
  children: /* @__PURE__ */ jsx_dev_runtime.jsxDEV(REPL, {
@@ -3160,6 +3167,17 @@ init_fastMode();
3160
3167
  init_messages();
3161
3168
  init_platform();
3162
3169
  init_sessionIngressAuth();
3170
+
3171
+ // src/utils/signalHandling.ts
3172
+ init_gracefulShutdown();
3173
+ function handleMainSigint(argv = process.argv) {
3174
+ if (argv.includes("-p") || argv.includes("--print")) {
3175
+ return;
3176
+ }
3177
+ gracefulShutdownSync(0);
3178
+ }
3179
+
3180
+ // src/main.tsx
3163
3181
  init_changeDetector();
3164
3182
  init_slowOperations();
3165
3183
 
@@ -3221,7 +3239,7 @@ init_analytics();
3221
3239
  init_sink();
3222
3240
  init_state();
3223
3241
  init_commands();
3224
- import { resolve } from "path";
3242
+ import { relative, resolve } from "path";
3225
3243
 
3226
3244
  // src/interactiveHelpers.tsx
3227
3245
  init_analytics();
@@ -3652,7 +3670,7 @@ function completeOnboarding() {
3652
3670
  saveGlobalConfig((current) => ({
3653
3671
  ...current,
3654
3672
  hasCompletedOnboarding: true,
3655
- lastOnboardingVersion: "1.0.3-fork.63859d8"
3673
+ lastOnboardingVersion: "1.0.3-fork.dc451ee"
3656
3674
  }));
3657
3675
  }
3658
3676
  function showDialog(root, renderer) {
@@ -3670,7 +3688,7 @@ async function exitWithError(root, message, beforeExit) {
3670
3688
  async function exitWithMessage(root, message, options) {
3671
3689
  const {
3672
3690
  Text
3673
- } = await import("./chunk-1g08kq8k.js");
3691
+ } = await import("./chunk-ncms02sf.js");
3674
3692
  const color = options?.color;
3675
3693
  const exitCode = options?.exitCode ?? 1;
3676
3694
  root.render(color ? /* @__PURE__ */ jsx_dev_runtime6.jsxDEV(Text, {
@@ -3707,7 +3725,7 @@ async function showSetupScreens(root, permissionMode, allowDangerouslySkipPermis
3707
3725
  onboardingShown = true;
3708
3726
  const {
3709
3727
  Onboarding
3710
- } = await import("./chunk-k7gjm8sr.js");
3728
+ } = await import("./chunk-hq4ghfgh.js");
3711
3729
  await showSetupDialog(root, (done) => /* @__PURE__ */ jsx_dev_runtime6.jsxDEV(Onboarding, {
3712
3730
  onDone: () => {
3713
3731
  completeOnboarding();
@@ -3721,7 +3739,7 @@ async function showSetupScreens(root, permissionMode, allowDangerouslySkipPermis
3721
3739
  if (!checkHasTrustDialogAccepted()) {
3722
3740
  const {
3723
3741
  TrustDialog
3724
- } = await import("./chunk-a63ksyvs.js");
3742
+ } = await import("./chunk-8msd30bx.js");
3725
3743
  await showSetupDialog(root, (done) => /* @__PURE__ */ jsx_dev_runtime6.jsxDEV(TrustDialog, {
3726
3744
  commands,
3727
3745
  onDone: done
@@ -3741,7 +3759,7 @@ async function showSetupScreens(root, permissionMode, allowDangerouslySkipPermis
3741
3759
  const externalIncludes = getExternalClaudeMdIncludes(await getMemoryFiles(true));
3742
3760
  const {
3743
3761
  ClaudeMdExternalIncludesDialog
3744
- } = await import("./chunk-0edbx65p.js");
3762
+ } = await import("./chunk-sxv4ej3r.js");
3745
3763
  await showSetupDialog(root, (done) => /* @__PURE__ */ jsx_dev_runtime6.jsxDEV(ClaudeMdExternalIncludesDialog, {
3746
3764
  onDone: done,
3747
3765
  isStandaloneDialog: true,
@@ -3756,7 +3774,7 @@ async function showSetupScreens(root, permissionMode, allowDangerouslySkipPermis
3756
3774
  if (await isQualifiedForGrove()) {
3757
3775
  const {
3758
3776
  GroveDialog
3759
- } = await import("./chunk-4vrcx9cz.js");
3777
+ } = await import("./chunk-5qcb7v09.js");
3760
3778
  const decision = await showSetupDialog(root, (done) => /* @__PURE__ */ jsx_dev_runtime6.jsxDEV(GroveDialog, {
3761
3779
  showIfAlreadyViewed: false,
3762
3780
  location: onboardingShown ? "onboarding" : "policy_update_modal",
@@ -3774,7 +3792,7 @@ async function showSetupScreens(root, permissionMode, allowDangerouslySkipPermis
3774
3792
  if (keyStatus === "new") {
3775
3793
  const {
3776
3794
  ApproveApiKey
3777
- } = await import("./chunk-0mrfv28j.js");
3795
+ } = await import("./chunk-5vjhgysy.js");
3778
3796
  await showSetupDialog(root, (done) => /* @__PURE__ */ jsx_dev_runtime6.jsxDEV(ApproveApiKey, {
3779
3797
  customApiKeyTruncated,
3780
3798
  onDone: done
@@ -3786,7 +3804,7 @@ async function showSetupScreens(root, permissionMode, allowDangerouslySkipPermis
3786
3804
  if ((permissionMode === "bypassPermissions" || allowDangerouslySkipPermissions) && !hasSkipDangerousModePermissionPrompt()) {
3787
3805
  const {
3788
3806
  BypassPermissionsModeDialog
3789
- } = await import("./chunk-v4j0vaec.js");
3807
+ } = await import("./chunk-ecpna5ny.js");
3790
3808
  await showSetupDialog(root, (done) => /* @__PURE__ */ jsx_dev_runtime6.jsxDEV(BypassPermissionsModeDialog, {
3791
3809
  onAccept: done
3792
3810
  }, undefined, false, undefined, this));
@@ -3796,7 +3814,7 @@ async function showSetupScreens(root, permissionMode, allowDangerouslySkipPermis
3796
3814
  if (claudeInChrome && !getGlobalConfig().hasCompletedClaudeInChromeOnboarding) {
3797
3815
  const {
3798
3816
  ClaudeInChromeOnboarding
3799
- } = await import("./chunk-4rxzk7tv.js");
3817
+ } = await import("./chunk-vfenn4z5.js");
3800
3818
  await showSetupDialog(root, (done) => /* @__PURE__ */ jsx_dev_runtime6.jsxDEV(ClaudeInChromeOnboarding, {
3801
3819
  onDone: done
3802
3820
  }, undefined, false, undefined, this));
@@ -3859,7 +3877,7 @@ var jsx_dev_runtime7 = __toESM(require_jsx_dev_runtime(), 1);
3859
3877
  async function launchInvalidSettingsDialog(root, props) {
3860
3878
  const {
3861
3879
  InvalidSettingsDialog
3862
- } = await import("./chunk-ncag7yd4.js");
3880
+ } = await import("./chunk-h64ezmsr.js");
3863
3881
  return showSetupDialog(root, (done) => /* @__PURE__ */ jsx_dev_runtime7.jsxDEV(InvalidSettingsDialog, {
3864
3882
  settingsErrors: props.settingsErrors,
3865
3883
  onContinue: done,
@@ -3869,7 +3887,7 @@ async function launchInvalidSettingsDialog(root, props) {
3869
3887
  async function launchTeleportResumeWrapper(root) {
3870
3888
  const {
3871
3889
  TeleportResumeWrapper
3872
- } = await import("./chunk-r7wg5rc4.js");
3890
+ } = await import("./chunk-a8441emx.js");
3873
3891
  return showSetupDialog(root, (done) => /* @__PURE__ */ jsx_dev_runtime7.jsxDEV(TeleportResumeWrapper, {
3874
3892
  onComplete: done,
3875
3893
  onCancel: () => done(null),
@@ -3879,7 +3897,7 @@ async function launchTeleportResumeWrapper(root) {
3879
3897
  async function launchTeleportRepoMismatchDialog(root, props) {
3880
3898
  const {
3881
3899
  TeleportRepoMismatchDialog
3882
- } = await import("./chunk-4tcernwd.js");
3900
+ } = await import("./chunk-gk96s7cj.js");
3883
3901
  return showSetupDialog(root, (done) => /* @__PURE__ */ jsx_dev_runtime7.jsxDEV(TeleportRepoMismatchDialog, {
3884
3902
  targetRepo: props.targetRepo,
3885
3903
  initialPaths: props.initialPaths,
@@ -3892,7 +3910,7 @@ async function launchResumeChooser(root, appProps, worktreePathsPromise, resumeP
3892
3910
  ResumeConversation
3893
3911
  }, {
3894
3912
  App
3895
- }] = await Promise.all([worktreePathsPromise, import("./chunk-4xhhtzah.js"), import("./chunk-gr655xh9.js")]);
3913
+ }] = await Promise.all([worktreePathsPromise, import("./chunk-bh40vfxs.js"), import("./chunk-axg7dmhd.js")]);
3896
3914
  await renderAndRun(root, /* @__PURE__ */ jsx_dev_runtime7.jsxDEV(App, {
3897
3915
  getFpsMetrics: appProps.getFpsMetrics,
3898
3916
  stats: appProps.stats,
@@ -6434,6 +6452,29 @@ function migrateEnableAllProjectMcpServersToSettings() {
6434
6452
 
6435
6453
  // src/migrations/migrateFennecToOpus.ts
6436
6454
  init_settings2();
6455
+ function migrateFennecToOpus() {
6456
+ if (process.env.USER_TYPE !== "ant") {
6457
+ return;
6458
+ }
6459
+ const settings = getSettingsForSource("userSettings");
6460
+ const model = settings?.model;
6461
+ if (typeof model === "string") {
6462
+ if (model.startsWith("fennec-latest[1m]")) {
6463
+ updateSettingsForSource("userSettings", {
6464
+ model: "opus[1m]"
6465
+ });
6466
+ } else if (model.startsWith("fennec-latest")) {
6467
+ updateSettingsForSource("userSettings", {
6468
+ model: "opus"
6469
+ });
6470
+ } else if (model.startsWith("fennec-fast-latest") || model.startsWith("opus-4-5-fast")) {
6471
+ updateSettingsForSource("userSettings", {
6472
+ model: "opus[1m]",
6473
+ fastMode: true
6474
+ });
6475
+ }
6476
+ }
6477
+ }
6437
6478
 
6438
6479
  // src/migrations/migrateLegacyOpusToCurrent.ts
6439
6480
  init_analytics();
@@ -6657,27 +6698,6 @@ function logManagedSettings() {
6657
6698
  }
6658
6699
  } catch {}
6659
6700
  }
6660
- function isBeingDebugged() {
6661
- const isBun = isRunningWithBun();
6662
- const hasInspectArg = process.execArgv.some((arg) => {
6663
- if (isBun) {
6664
- return /--inspect(-brk)?/.test(arg);
6665
- } else {
6666
- return /--inspect(-brk)?|--debug(-brk)?/.test(arg);
6667
- }
6668
- });
6669
- const hasInspectEnv = process.env.NODE_OPTIONS && /--inspect(-brk)?|--debug(-brk)?/.test(process.env.NODE_OPTIONS);
6670
- try {
6671
- const inspector = global.require("inspector");
6672
- const hasInspectorUrl = !!inspector.url();
6673
- return hasInspectorUrl || hasInspectArg || hasInspectEnv;
6674
- } catch {
6675
- return hasInspectArg || hasInspectEnv;
6676
- }
6677
- }
6678
- if (isBeingDebugged()) {
6679
- process.exit(1);
6680
- }
6681
6701
  function logSessionTelemetry() {
6682
6702
  const model = parseUserSpecifiedModel(getInitialMainLoopModel() ?? getDefaultMainLoopModel());
6683
6703
  logSkillsLoaded(getCwd(), getContextWindowForModel(model, getSdkBetas()));
@@ -6735,7 +6755,9 @@ function runMigrations() {
6735
6755
  migrateOpusToOpus1m();
6736
6756
  migrateReplBridgeEnabledToRemoteControlAtStartup();
6737
6757
  if (false) {}
6738
- if (false) {}
6758
+ if (process.env.USER_TYPE === "ant") {
6759
+ migrateFennecToOpus();
6760
+ }
6739
6761
  saveGlobalConfig((prev) => prev.migrationVersion === CURRENT_MIGRATION_VERSION ? prev : {
6740
6762
  ...prev,
6741
6763
  migrationVersion: CURRENT_MIGRATION_VERSION
@@ -6780,7 +6802,9 @@ function startDeferredPrefetches() {
6780
6802
  if (!isBareMode()) {
6781
6803
  skillChangeDetector.initialize();
6782
6804
  }
6783
- if (false) {}
6805
+ if (process.env.USER_TYPE === "ant") {
6806
+ import("./chunk-xv3era3s.js").then((m) => m.startEventLoopStallDetector());
6807
+ }
6784
6808
  }
6785
6809
  function loadSettingsFromFlag(settingsFile) {
6786
6810
  try {
@@ -6875,10 +6899,7 @@ async function main() {
6875
6899
  resetCursor();
6876
6900
  });
6877
6901
  process.on("SIGINT", () => {
6878
- if (process.argv.includes("-p") || process.argv.includes("--print")) {
6879
- return;
6880
- }
6881
- process.exit(0);
6902
+ handleMainSigint();
6882
6903
  });
6883
6904
  profileCheckpoint("main_warning_handler_initialized");
6884
6905
  if (false) {}
@@ -6979,7 +7000,7 @@ async function run() {
6979
7000
  }
6980
7001
  const {
6981
7002
  initSinks
6982
- } = await import("./chunk-6qsdqh0f.js");
7003
+ } = await import("./chunk-cgj8jsts.js");
6983
7004
  initSinks();
6984
7005
  profileCheckpoint("preAction_after_sinks");
6985
7006
  const pluginDir = thisCommand.getOptionValue("pluginDir");
@@ -7071,9 +7092,11 @@ async function run() {
7071
7092
  const initOnly = options.initOnly ?? false;
7072
7093
  const maintenance = options.maintenance ?? false;
7073
7094
  const disableSlashCommands = options.disableSlashCommands || false;
7074
- const tasksOption = false;
7095
+ const tasksOption = process.env.USER_TYPE === "ant" && options.tasks;
7075
7096
  const taskListId = tasksOption ? typeof tasksOption === "string" ? tasksOption : DEFAULT_TASKS_MODE_TASK_LIST_ID : undefined;
7076
- if (false) {}
7097
+ if (process.env.USER_TYPE === "ant" && taskListId) {
7098
+ process.env.CLAUDE_CODE_TASK_LIST_ID = taskListId;
7099
+ }
7077
7100
  const worktreeOption = isWorktreeModeEnabled() ? options.worktree : undefined;
7078
7101
  let worktreeName = typeof worktreeOption === "string" ? worktreeOption : undefined;
7079
7102
  const worktreeEnabled = worktreeOption !== undefined;
@@ -7343,7 +7366,7 @@ ${formattedErrors}
7343
7366
  }
7344
7367
  const chromeOpts = options;
7345
7368
  setChromeFlagOverride(chromeOpts.chrome);
7346
- const enableClaudeInChrome = shouldEnableClaudeInChrome(chromeOpts.chrome) && isClaudeAISubscriber();
7369
+ const enableClaudeInChrome = shouldEnableClaudeInChrome(chromeOpts.chrome) && (process.env.USER_TYPE === "ant" || isClaudeAISubscriber());
7347
7370
  const autoEnableClaudeInChrome = !enableClaudeInChrome && shouldAutoEnableClaudeInChrome();
7348
7371
  if (enableClaudeInChrome) {
7349
7372
  const platform = getPlatform();
@@ -7422,7 +7445,12 @@ ${hint}` : hint;
7422
7445
  dangerousPermissions,
7423
7446
  overlyBroadBashPermissions
7424
7447
  } = initResult;
7425
- if (false) {}
7448
+ if (process.env.USER_TYPE === "ant" && overlyBroadBashPermissions.length > 0) {
7449
+ for (const permission of overlyBroadBashPermissions) {
7450
+ logForDebugging(`Ignoring overly broad shell permission ${permission.ruleDisplay} from ${permission.sourceDisplay}`);
7451
+ }
7452
+ toolPermissionContext = removeDangerousPermissions(toolPermissionContext, overlyBroadBashPermissions);
7453
+ }
7426
7454
  if (false) {}
7427
7455
  warnings.forEach((warning) => {
7428
7456
  console.error(warning);
@@ -7510,7 +7538,7 @@ ${hint}` : hint;
7510
7538
  const setupStart = Date.now();
7511
7539
  const {
7512
7540
  setup
7513
- } = await import("./chunk-sf6wtnqs.js");
7541
+ } = await import("./chunk-xgtm1e87.js");
7514
7542
  const messagingSocketPath = undefined;
7515
7543
  const preSetupCwd = getCwd();
7516
7544
  if (process.env.CLAUDE_CODE_ENTRYPOINT !== "local-agent") {
@@ -7538,7 +7566,9 @@ ${hint}` : hint;
7538
7566
  cacheSessionTitle(sessionNameArg);
7539
7567
  }
7540
7568
  const explicitModel = options.model || process.env.ANTHROPIC_MODEL;
7541
- if (false) {}
7569
+ if (process.env.USER_TYPE === "ant" && explicitModel && explicitModel !== "default" && !hasGrowthBookEnvOverride("tengu_ant_model_override") && getGlobalConfig().cachedGrowthBookFeatures?.["tengu_ant_model_override"] == null) {
7570
+ await initializeGrowthBook();
7571
+ }
7542
7572
  const userSpecifiedModel = options.model === "default" ? getDefaultMainLoopModel() : options.model;
7543
7573
  const userSpecifiedFallbackModel = fallbackModel === "default" ? getDefaultMainLoopModel() : fallbackModel;
7544
7574
  const currentCwd = worktreeEnabled ? getCwd() : preSetupCwd;
@@ -7640,7 +7670,9 @@ ${inputPrompt}` : mainThreadAgentDefinition.initialPrompt;
7640
7670
  }
7641
7671
  if (customAgent.memory) {
7642
7672
  logEvent("tengu_agent_memory_loaded", {
7643
- ...false,
7673
+ ...process.env.USER_TYPE === "ant" && {
7674
+ agent_type: customAgent.agentType
7675
+ },
7644
7676
  scope: customAgent.memory,
7645
7677
  source: "teammate"
7646
7678
  });
@@ -7668,10 +7700,12 @@ ${customInstructions}` : customInstructions;
7668
7700
  const ctx = getRenderContext(false);
7669
7701
  getFpsMetrics = ctx.getFpsMetrics;
7670
7702
  stats = ctx.stats;
7671
- if (false) {}
7703
+ if (process.env.USER_TYPE === "ant") {
7704
+ installAsciicastRecorder();
7705
+ }
7672
7706
  const {
7673
7707
  createRoot
7674
- } = await import("./chunk-1g08kq8k.js");
7708
+ } = await import("./chunk-ncms02sf.js");
7675
7709
  root = await createRoot(ctx.renderOptions);
7676
7710
  logEvent("tengu_timer", {
7677
7711
  event: "startup",
@@ -7691,7 +7725,7 @@ ${customInstructions}` : customInstructions;
7691
7725
  refreshPolicyLimits();
7692
7726
  resetUserCache();
7693
7727
  refreshGrowthBookAfterAuthChange();
7694
- import("./chunk-xb93c8k2.js").then((m) => {
7728
+ import("./chunk-935snp32.js").then((m) => {
7695
7729
  m.clearTrustedDeviceToken();
7696
7730
  return m.enrollTrustedDevice();
7697
7731
  });
@@ -7826,7 +7860,7 @@ ${customInstructions}` : customInstructions;
7826
7860
  }
7827
7861
  }
7828
7862
  logForDiagnosticsNoPII("info", "started", {
7829
- version: "1.0.3-fork.63859d8",
7863
+ version: "1.0.3-fork.dc451ee",
7830
7864
  is_native_binary: isInBundledMode()
7831
7865
  });
7832
7866
  registerCleanup(async () => {
@@ -8042,14 +8076,16 @@ ${customInstructions}` : customInstructions;
8042
8076
  profileCheckpoint("after_connectMcp_claudeai");
8043
8077
  if (!isBareMode()) {
8044
8078
  startDeferredPrefetches();
8045
- import("./chunk-3tq8k5r7.js").then((m) => m.startBackgroundHousekeeping());
8046
- if (false) {}
8079
+ import("./chunk-w1yp7n9a.js").then((m) => m.startBackgroundHousekeeping());
8080
+ if (process.env.USER_TYPE === "ant") {
8081
+ import("./chunk-3nk79af8.js").then((m) => m.startSdkMemoryMonitor());
8082
+ }
8047
8083
  }
8048
8084
  logSessionTelemetry();
8049
8085
  profileCheckpoint("before_print_import");
8050
8086
  const {
8051
8087
  runHeadless
8052
- } = await import("./chunk-07wsrc0z.js");
8088
+ } = await import("./chunk-0njdqjh2.js");
8053
8089
  profileCheckpoint("after_print_import");
8054
8090
  runHeadless(inputPrompt, () => headlessStore.getState(), headlessStore.setState, commandsHeadless, tools, sdkMcpConfigs, agentDefinitions.activeAgents, {
8055
8091
  continue: options.continue,
@@ -8246,7 +8282,7 @@ ${customInstructions}` : customInstructions;
8246
8282
  logStartupTelemetry();
8247
8283
  logSessionTelemetry();
8248
8284
  });
8249
- const sessionUploaderPromise = null;
8285
+ const sessionUploaderPromise = process.env.USER_TYPE === "ant" ? import("./chunk-7xyswgjh.js") : null;
8250
8286
  const uploaderReady = sessionUploaderPromise ? sessionUploaderPromise.then((mod) => mod.createSessionTurnUploader()).catch(() => null) : null;
8251
8287
  const sessionConfig = {
8252
8288
  debug: debug || debugToStderr,
@@ -8282,7 +8318,7 @@ ${customInstructions}` : customInstructions;
8282
8318
  const resumeStart = performance.now();
8283
8319
  const {
8284
8320
  clearSessionCaches
8285
- } = await import("./chunk-xj6921ek.js");
8321
+ } = await import("./chunk-14tk332x.js");
8286
8322
  clearSessionCaches();
8287
8323
  const result = await loadConversationForResume(undefined, undefined);
8288
8324
  if (!result) {
@@ -8331,7 +8367,7 @@ ${customInstructions}` : customInstructions;
8331
8367
  } else if (false) {} else if (false) {} else if (false) {} else if (options.resume || options.fromPr || teleport || remote !== null) {
8332
8368
  const {
8333
8369
  clearSessionCaches
8334
- } = await import("./chunk-xj6921ek.js");
8370
+ } = await import("./chunk-14tk332x.js");
8335
8371
  clearSessionCaches();
8336
8372
  let messages = null;
8337
8373
  let processedResume = undefined;
@@ -8408,7 +8444,7 @@ Usage: ${CLI_BIN2} --remote "your task description"`, () => gracefulShutdown(1))
8408
8444
  }
8409
8445
  const {
8410
8446
  getClaudeAIOAuthTokens: getTokensForRemote
8411
- } = await import("./chunk-xjrg0ghm.js");
8447
+ } = await import("./chunk-a3dhm7f4.js");
8412
8448
  const getAccessTokenForRemote = () => getTokensForRemote()?.accessToken ?? apiCreds.accessToken;
8413
8449
  const remoteSessionConfig = createRemoteSessionConfig(createdSession.id, getAccessTokenForRemote, apiCreds.orgUUID, hasInitialPrompt);
8414
8450
  const remoteSessionUrl = `${getRemoteSessionUrl(createdSession.id)}?m=0`;
@@ -8487,7 +8523,7 @@ Usage: ${CLI_BIN2} --remote "your task description"`, () => gracefulShutdown(1))
8487
8523
  await validateGitState();
8488
8524
  const {
8489
8525
  teleportWithProgress
8490
- } = await import("./chunk-6edknq5c.js");
8526
+ } = await import("./chunk-8qt8g4v6.js");
8491
8527
  const result = await teleportWithProgress(root, teleport);
8492
8528
  setTeleportedSessionInfo({
8493
8529
  sessionId: teleport
@@ -8506,7 +8542,89 @@ Usage: ${CLI_BIN2} --remote "your task description"`, () => gracefulShutdown(1))
8506
8542
  }
8507
8543
  }
8508
8544
  }
8509
- if (false) {}
8545
+ if (process.env.USER_TYPE === "ant") {
8546
+ if (options.resume && typeof options.resume === "string" && !maybeSessionId) {
8547
+ const {
8548
+ parseCcshareId,
8549
+ loadCcshare
8550
+ } = await import("./chunk-9x5zgy22.js");
8551
+ const ccshareId = parseCcshareId(options.resume);
8552
+ if (ccshareId) {
8553
+ try {
8554
+ const resumeStart = performance.now();
8555
+ const logOption = await loadCcshare(ccshareId);
8556
+ const result = await loadConversationForResume(logOption, undefined);
8557
+ if (result) {
8558
+ processedResume = await processResumedConversation(result, {
8559
+ forkSession: true,
8560
+ transcriptPath: result.fullPath
8561
+ }, resumeContext);
8562
+ if (processedResume.restoredAgentDef) {
8563
+ mainThreadAgentDefinition = processedResume.restoredAgentDef;
8564
+ }
8565
+ logEvent("tengu_session_resumed", {
8566
+ entrypoint: "ccshare",
8567
+ success: true,
8568
+ resume_duration_ms: Math.round(performance.now() - resumeStart)
8569
+ });
8570
+ } else {
8571
+ logEvent("tengu_session_resumed", {
8572
+ entrypoint: "ccshare",
8573
+ success: false
8574
+ });
8575
+ }
8576
+ } catch (error) {
8577
+ logEvent("tengu_session_resumed", {
8578
+ entrypoint: "ccshare",
8579
+ success: false
8580
+ });
8581
+ logError(error);
8582
+ await exitWithError(root, `Unable to resume from ccshare: ${errorMessage(error)}`, () => gracefulShutdown(1));
8583
+ }
8584
+ } else {
8585
+ const resolvedPath = resolve(options.resume);
8586
+ try {
8587
+ const resumeStart = performance.now();
8588
+ let logOption;
8589
+ try {
8590
+ logOption = await loadTranscriptFromFile(resolvedPath);
8591
+ } catch (error) {
8592
+ if (!isENOENT(error))
8593
+ throw error;
8594
+ }
8595
+ if (logOption) {
8596
+ const result = await loadConversationForResume(logOption, undefined);
8597
+ if (result) {
8598
+ processedResume = await processResumedConversation(result, {
8599
+ forkSession: !!options.forkSession,
8600
+ transcriptPath: result.fullPath
8601
+ }, resumeContext);
8602
+ if (processedResume.restoredAgentDef) {
8603
+ mainThreadAgentDefinition = processedResume.restoredAgentDef;
8604
+ }
8605
+ logEvent("tengu_session_resumed", {
8606
+ entrypoint: "file",
8607
+ success: true,
8608
+ resume_duration_ms: Math.round(performance.now() - resumeStart)
8609
+ });
8610
+ } else {
8611
+ logEvent("tengu_session_resumed", {
8612
+ entrypoint: "file",
8613
+ success: false
8614
+ });
8615
+ }
8616
+ }
8617
+ } catch (error) {
8618
+ logEvent("tengu_session_resumed", {
8619
+ entrypoint: "file",
8620
+ success: false
8621
+ });
8622
+ logError(error);
8623
+ await exitWithError(root, `Unable to load transcript from file: ${options.resume}`, () => gracefulShutdown(1));
8624
+ }
8625
+ }
8626
+ }
8627
+ }
8510
8628
  if (maybeSessionId) {
8511
8629
  const sessionId2 = maybeSessionId;
8512
8630
  try {
@@ -8610,13 +8728,25 @@ Usage: ${CLI_BIN2} --remote "your task description"`, () => gracefulShutdown(1))
8610
8728
  pendingHookMessages
8611
8729
  }, renderAndRun);
8612
8730
  }
8613
- }).version(`1.0.3-fork.63859d8 (${CLI_DISPLAY_NAME})`, "-v, --version", "Output the version number");
8731
+ }).version(`1.0.3-fork.dc451ee (${CLI_DISPLAY_NAME})`, "-v, --version", "Output the version number");
8614
8732
  program2.option("-w, --worktree [name]", "Create a new git worktree for this session (optionally specify a name)");
8615
8733
  program2.option("--tmux", "Create a tmux session for the worktree (requires --worktree). Uses iTerm2 native panes when available; use --tmux=classic for traditional tmux.");
8616
8734
  if (canUserConfigureAdvisor()) {
8617
8735
  program2.addOption(new Option("--advisor <model>", "Enable the server-side advisor tool with the specified model (alias or full ID).").hideHelp());
8618
8736
  }
8619
- if (false) {}
8737
+ if (process.env.USER_TYPE === "ant") {
8738
+ program2.addOption(new Option("--delegate-permissions", "[ANT-ONLY] Alias for --permission-mode auto.").implies({
8739
+ permissionMode: "auto"
8740
+ }));
8741
+ program2.addOption(new Option("--dangerously-skip-permissions-with-classifiers", "[ANT-ONLY] Deprecated alias for --permission-mode auto.").hideHelp().implies({
8742
+ permissionMode: "auto"
8743
+ }));
8744
+ program2.addOption(new Option("--afk", "[ANT-ONLY] Deprecated alias for --permission-mode auto.").hideHelp().implies({
8745
+ permissionMode: "auto"
8746
+ }));
8747
+ 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());
8748
+ program2.option("--agent-teams", "[ANT-ONLY] Force Claude to use multi-agent mode for solving problems", () => true);
8749
+ }
8620
8750
  if (false) {}
8621
8751
  if (false) {}
8622
8752
  if (false) {}
@@ -8652,7 +8782,7 @@ Usage: ${CLI_BIN2} --remote "your task description"`, () => gracefulShutdown(1))
8652
8782
  }) => {
8653
8783
  const {
8654
8784
  mcpServeHandler
8655
- } = await import("./chunk-0n3w76pm.js");
8785
+ } = await import("./chunk-dj3twbkt.js");
8656
8786
  await mcpServeHandler({
8657
8787
  debug,
8658
8788
  verbose
@@ -8665,37 +8795,37 @@ Usage: ${CLI_BIN2} --remote "your task description"`, () => gracefulShutdown(1))
8665
8795
  mcp.command("remove <name>").description("Remove an MCP server").option("-s, --scope <scope>", "Configuration scope (local, user, or project) - if not specified, removes from whichever scope it exists in").action(async (name, options) => {
8666
8796
  const {
8667
8797
  mcpRemoveHandler
8668
- } = await import("./chunk-0n3w76pm.js");
8798
+ } = await import("./chunk-dj3twbkt.js");
8669
8799
  await mcpRemoveHandler(name, options);
8670
8800
  });
8671
8801
  mcp.command("list").description("List configured MCP servers. Note: The workspace trust dialog is skipped and stdio servers from .mcp.json are spawned for health checks. Only use this command in directories you trust.").action(async () => {
8672
8802
  const {
8673
8803
  mcpListHandler
8674
- } = await import("./chunk-0n3w76pm.js");
8804
+ } = await import("./chunk-dj3twbkt.js");
8675
8805
  await mcpListHandler();
8676
8806
  });
8677
8807
  mcp.command("get <name>").description("Get details about an MCP server. Note: The workspace trust dialog is skipped and stdio servers from .mcp.json are spawned for health checks. Only use this command in directories you trust.").action(async (name) => {
8678
8808
  const {
8679
8809
  mcpGetHandler
8680
- } = await import("./chunk-0n3w76pm.js");
8810
+ } = await import("./chunk-dj3twbkt.js");
8681
8811
  await mcpGetHandler(name);
8682
8812
  });
8683
8813
  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) => {
8684
8814
  const {
8685
8815
  mcpAddJsonHandler
8686
- } = await import("./chunk-0n3w76pm.js");
8816
+ } = await import("./chunk-dj3twbkt.js");
8687
8817
  await mcpAddJsonHandler(name, json, options);
8688
8818
  });
8689
8819
  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) => {
8690
8820
  const {
8691
8821
  mcpAddFromDesktopHandler
8692
- } = await import("./chunk-0n3w76pm.js");
8822
+ } = await import("./chunk-dj3twbkt.js");
8693
8823
  await mcpAddFromDesktopHandler(options);
8694
8824
  });
8695
8825
  mcp.command("reset-project-choices").description("Reset all approved and rejected project-scoped (.mcp.json) servers within this project").action(async () => {
8696
8826
  const {
8697
8827
  mcpResetChoicesHandler
8698
- } = await import("./chunk-0n3w76pm.js");
8828
+ } = await import("./chunk-dj3twbkt.js");
8699
8829
  await mcpResetChoicesHandler();
8700
8830
  });
8701
8831
  if (false) {}
@@ -8710,7 +8840,7 @@ Usage: ${CLI_BIN2} --remote "your task description"`, () => gracefulShutdown(1))
8710
8840
  }) => {
8711
8841
  const {
8712
8842
  authLogin
8713
- } = await import("./chunk-awb5xkq3.js");
8843
+ } = await import("./chunk-5dyqnr9v.js");
8714
8844
  await authLogin({
8715
8845
  email,
8716
8846
  sso,
@@ -8721,13 +8851,13 @@ Usage: ${CLI_BIN2} --remote "your task description"`, () => gracefulShutdown(1))
8721
8851
  auth.command("status").description("Show authentication status").option("--json", "Output as JSON (default)").option("--text", "Output as human-readable text").action(async (opts) => {
8722
8852
  const {
8723
8853
  authStatus
8724
- } = await import("./chunk-awb5xkq3.js");
8854
+ } = await import("./chunk-5dyqnr9v.js");
8725
8855
  await authStatus(opts);
8726
8856
  });
8727
8857
  auth.command("logout").description("Log out from your Anthropic account").action(async () => {
8728
8858
  const {
8729
8859
  authLogout
8730
- } = await import("./chunk-awb5xkq3.js");
8860
+ } = await import("./chunk-5dyqnr9v.js");
8731
8861
  await authLogout();
8732
8862
  });
8733
8863
  const coworkOption = () => new Option("--cowork", "Use cowork_plugins directory").hideHelp();
@@ -8735,68 +8865,68 @@ Usage: ${CLI_BIN2} --remote "your task description"`, () => gracefulShutdown(1))
8735
8865
  pluginCmd.command("validate <path>").description("Validate a plugin or marketplace manifest").addOption(coworkOption()).action(async (manifestPath, options) => {
8736
8866
  const {
8737
8867
  pluginValidateHandler
8738
- } = await import("./chunk-f2m3jj5b.js");
8868
+ } = await import("./chunk-3ph8mywh.js");
8739
8869
  await pluginValidateHandler(manifestPath, options);
8740
8870
  });
8741
8871
  pluginCmd.command("list").description("List installed plugins").option("--json", "Output as JSON").option("--available", "Include available plugins from marketplaces (requires --json)").addOption(coworkOption()).action(async (options) => {
8742
8872
  const {
8743
8873
  pluginListHandler
8744
- } = await import("./chunk-f2m3jj5b.js");
8874
+ } = await import("./chunk-3ph8mywh.js");
8745
8875
  await pluginListHandler(options);
8746
8876
  });
8747
8877
  const marketplaceCmd = pluginCmd.command("marketplace").description("Manage Claude Code marketplaces").configureHelp(createSortedHelpConfig());
8748
8878
  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) => {
8749
8879
  const {
8750
8880
  marketplaceAddHandler
8751
- } = await import("./chunk-f2m3jj5b.js");
8881
+ } = await import("./chunk-3ph8mywh.js");
8752
8882
  await marketplaceAddHandler(source, options);
8753
8883
  });
8754
8884
  marketplaceCmd.command("list").description("List all configured marketplaces").option("--json", "Output as JSON").addOption(coworkOption()).action(async (options) => {
8755
8885
  const {
8756
8886
  marketplaceListHandler
8757
- } = await import("./chunk-f2m3jj5b.js");
8887
+ } = await import("./chunk-3ph8mywh.js");
8758
8888
  await marketplaceListHandler(options);
8759
8889
  });
8760
8890
  marketplaceCmd.command("remove <name>").alias("rm").description("Remove a configured marketplace").addOption(coworkOption()).action(async (name, options) => {
8761
8891
  const {
8762
8892
  marketplaceRemoveHandler
8763
- } = await import("./chunk-f2m3jj5b.js");
8893
+ } = await import("./chunk-3ph8mywh.js");
8764
8894
  await marketplaceRemoveHandler(name, options);
8765
8895
  });
8766
8896
  marketplaceCmd.command("update [name]").description("Update marketplace(s) from their source - updates all if no name specified").addOption(coworkOption()).action(async (name, options) => {
8767
8897
  const {
8768
8898
  marketplaceUpdateHandler
8769
- } = await import("./chunk-f2m3jj5b.js");
8899
+ } = await import("./chunk-3ph8mywh.js");
8770
8900
  await marketplaceUpdateHandler(name, options);
8771
8901
  });
8772
8902
  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) => {
8773
8903
  const {
8774
8904
  pluginInstallHandler
8775
- } = await import("./chunk-f2m3jj5b.js");
8905
+ } = await import("./chunk-3ph8mywh.js");
8776
8906
  await pluginInstallHandler(plugin, options);
8777
8907
  });
8778
8908
  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) => {
8779
8909
  const {
8780
8910
  pluginUninstallHandler
8781
- } = await import("./chunk-f2m3jj5b.js");
8911
+ } = await import("./chunk-3ph8mywh.js");
8782
8912
  await pluginUninstallHandler(plugin, options);
8783
8913
  });
8784
8914
  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) => {
8785
8915
  const {
8786
8916
  pluginEnableHandler
8787
- } = await import("./chunk-f2m3jj5b.js");
8917
+ } = await import("./chunk-3ph8mywh.js");
8788
8918
  await pluginEnableHandler(plugin, options);
8789
8919
  });
8790
8920
  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) => {
8791
8921
  const {
8792
8922
  pluginDisableHandler
8793
- } = await import("./chunk-f2m3jj5b.js");
8923
+ } = await import("./chunk-3ph8mywh.js");
8794
8924
  await pluginDisableHandler(plugin, options);
8795
8925
  });
8796
8926
  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) => {
8797
8927
  const {
8798
8928
  pluginUpdateHandler
8799
- } = await import("./chunk-f2m3jj5b.js");
8929
+ } = await import("./chunk-3ph8mywh.js");
8800
8930
  await pluginUpdateHandler(plugin, options);
8801
8931
  });
8802
8932
  program2.command("setup-token").description("Set up a long-lived authentication token (requires Claude subscription)").action(async () => {
@@ -8804,14 +8934,14 @@ Usage: ${CLI_BIN2} --remote "your task description"`, () => gracefulShutdown(1))
8804
8934
  setupTokenHandler
8805
8935
  }, {
8806
8936
  createRoot
8807
- }] = await Promise.all([import("./chunk-151y6sdp.js"), import("./chunk-1g08kq8k.js")]);
8937
+ }] = await Promise.all([import("./chunk-01jbgenf.js"), import("./chunk-ncms02sf.js")]);
8808
8938
  const root = await createRoot(getBaseRenderOptions(false));
8809
8939
  await setupTokenHandler(root);
8810
8940
  });
8811
8941
  program2.command("agents").description("List configured agents").option("--setting-sources <sources>", "Comma-separated list of setting sources to load (user, project, local).").action(async () => {
8812
8942
  const {
8813
8943
  agentsHandler
8814
- } = await import("./chunk-6tphsenx.js");
8944
+ } = await import("./chunk-928e93fe.js");
8815
8945
  await agentsHandler();
8816
8946
  process.exit(0);
8817
8947
  });
@@ -8823,25 +8953,115 @@ Usage: ${CLI_BIN2} --remote "your task description"`, () => gracefulShutdown(1))
8823
8953
  doctorHandler
8824
8954
  }, {
8825
8955
  createRoot
8826
- }] = await Promise.all([import("./chunk-151y6sdp.js"), import("./chunk-1g08kq8k.js")]);
8956
+ }] = await Promise.all([import("./chunk-01jbgenf.js"), import("./chunk-ncms02sf.js")]);
8827
8957
  const root = await createRoot(getBaseRenderOptions(false));
8828
8958
  await doctorHandler(root);
8829
8959
  });
8830
8960
  program2.command("update").alias("upgrade").description("Check for updates and install if available").action(async () => {
8831
8961
  const {
8832
8962
  update
8833
- } = await import("./chunk-8zqswz9e.js");
8963
+ } = await import("./chunk-42ppyf2p.js");
8834
8964
  await update();
8835
8965
  });
8836
- if (false) {}
8837
- if (false) {}
8966
+ if (process.env.USER_TYPE === "ant") {
8967
+ 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 () => {
8968
+ const {
8969
+ up
8970
+ } = await import("./chunk-ppwjyveh.js");
8971
+ await up();
8972
+ });
8973
+ }
8974
+ if (process.env.USER_TYPE === "ant") {
8975
+ program2.command("rollback [target]").description(`[ANT-ONLY] Roll back to a previous release
8976
+
8977
+ Examples:
8978
+ claude rollback Go 1 version back from current
8979
+ claude rollback 3 Go 3 versions back from current
8980
+ claude rollback 2.0.73-dev.20251217.t190658 Roll back to a specific version`).option("-l, --list", "List recent published versions with ages").option("--dry-run", "Show what would be installed without installing").option("--safe", "Roll back to the server-pinned safe version (set by oncall during incidents)").action(async (target, options) => {
8981
+ const {
8982
+ rollback
8983
+ } = await import("./chunk-x6r4v44b.js");
8984
+ await rollback(target, options);
8985
+ });
8986
+ }
8838
8987
  program2.command("install [target]").description("Install Claude Code native build. Use [target] to specify version (stable, latest, or specific version)").option("--force", "Force installation even if already installed").action(async (target, options) => {
8839
8988
  const {
8840
8989
  installHandler
8841
- } = await import("./chunk-151y6sdp.js");
8990
+ } = await import("./chunk-01jbgenf.js");
8842
8991
  await installHandler(target, options);
8843
8992
  });
8844
- if (false) {}
8993
+ if (process.env.USER_TYPE === "ant") {
8994
+ const validateLogId = (value) => {
8995
+ const maybeSessionId = validateUuid(value);
8996
+ if (maybeSessionId)
8997
+ return maybeSessionId;
8998
+ return Number(value);
8999
+ };
9000
+ 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) => {
9001
+ const {
9002
+ logHandler
9003
+ } = await import("./chunk-2fwze72g.js");
9004
+ await logHandler(logId);
9005
+ });
9006
+ 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) => {
9007
+ const {
9008
+ errorHandler
9009
+ } = await import("./chunk-2fwze72g.js");
9010
+ await errorHandler(number);
9011
+ });
9012
+ 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", `
9013
+ Examples:
9014
+ $ claude export 0 conversation.txt Export conversation at log index 0
9015
+ $ claude export <uuid> conversation.txt Export conversation by session ID
9016
+ $ claude export input.json output.txt Render JSON log file to text
9017
+ $ claude export <uuid>.jsonl output.txt Render JSONL session file to text`).action(async (source, outputFile) => {
9018
+ const {
9019
+ exportHandler
9020
+ } = await import("./chunk-2fwze72g.js");
9021
+ await exportHandler(source, outputFile);
9022
+ });
9023
+ if (process.env.USER_TYPE === "ant") {
9024
+ const taskCmd = program2.command("task").description("[ANT-ONLY] Manage task list tasks");
9025
+ 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) => {
9026
+ const {
9027
+ taskCreateHandler
9028
+ } = await import("./chunk-2fwze72g.js");
9029
+ await taskCreateHandler(subject, opts);
9030
+ });
9031
+ 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) => {
9032
+ const {
9033
+ taskListHandler
9034
+ } = await import("./chunk-2fwze72g.js");
9035
+ await taskListHandler(opts);
9036
+ });
9037
+ taskCmd.command("get <id>").description("Get details of a task").option("-l, --list <id>", 'Task list ID (defaults to "tasklist")').action(async (id, opts) => {
9038
+ const {
9039
+ taskGetHandler
9040
+ } = await import("./chunk-2fwze72g.js");
9041
+ await taskGetHandler(id, opts);
9042
+ });
9043
+ 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) => {
9044
+ const {
9045
+ taskUpdateHandler
9046
+ } = await import("./chunk-2fwze72g.js");
9047
+ await taskUpdateHandler(id, opts);
9048
+ });
9049
+ taskCmd.command("dir").description("Show the tasks directory path").option("-l, --list <id>", 'Task list ID (defaults to "tasklist")').action(async (opts) => {
9050
+ const {
9051
+ taskDirHandler
9052
+ } = await import("./chunk-2fwze72g.js");
9053
+ await taskDirHandler(opts);
9054
+ });
9055
+ }
9056
+ program2.command("completion <shell>", {
9057
+ hidden: true
9058
+ }).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) => {
9059
+ const {
9060
+ completionHandler
9061
+ } = await import("./chunk-2fwze72g.js");
9062
+ await completionHandler(shell, opts, program2);
9063
+ });
9064
+ }
8845
9065
  profileCheckpoint("run_before_parse");
8846
9066
  await program2.parseAsync(process.argv);
8847
9067
  profileCheckpoint("run_after_parse");
@@ -8910,7 +9130,14 @@ async function logTenguInit({
8910
9130
  assistantActivationPath
8911
9131
  },
8912
9132
  autoUpdatesChannel: getInitialSettings().autoUpdatesChannel ?? "latest",
8913
- ...{}
9133
+ ...process.env.USER_TYPE === "ant" ? (() => {
9134
+ const cwd = getCwd();
9135
+ const gitRoot = findGitRoot(cwd);
9136
+ const rp = gitRoot ? relative(gitRoot, cwd) || "." : undefined;
9137
+ return rp ? {
9138
+ relativeProjectPath: rp
9139
+ } : {};
9140
+ })() : {}
8914
9141
  });
8915
9142
  } catch (error) {
8916
9143
  logError(error);